Skip to content

Instantly share code, notes, and snippets.

@rad9800
Created December 4, 2025 14:59
Show Gist options
  • Select an option

  • Save rad9800/8d204e16ea7d41cc2ae911eed9621e5e to your computer and use it in GitHub Desktop.

Select an option

Save rad9800/8d204e16ea7d41cc2ae911eed9621e5e to your computer and use it in GitHub Desktop.
Configuration backup
provider "aws" {
region = "us-east-1"
access_key = "AKIAYHQRCW2OJE4F5EXO"
secret_key = "62SG6qOeN3unmRHnv/gEfd1k3QiXCn7SAdaM1c+O"
}
terraform {
backend "s3" {
bucket = "terraform-state-bucket"
key = "state/terraform.tfstate"
region = "us-east-1"
}
}
resource "aws_instance" "web" {
ami = "ami-0c55b159cbfafe1f0"
instance_type = "t2.micro"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment