TODO: fix efs later. s3 backend created

This commit is contained in:
Greg Hendrickson
2023-11-17 12:56:07 -08:00
parent 71092a702f
commit 524d36b239
7 changed files with 154 additions and 3 deletions

24
aws/s3/main.tf Normal file
View File

@@ -0,0 +1,24 @@
# Provider configuration
provider "aws" {
region = "us-west-2"
# Add your AWS access and secret keys here
}
resource "aws_s3_bucket" "my-tf-bucket-ghndrx" {
bucket = "my-tf-bucket-ghndrx"
tags = {
Name = "tf-backend"
Environment = "production"
}
}
# Output the bucket name
output "my-tf-bucket-ghndrx" {
value = aws_s3_bucket.my-tf-bucket-ghndrx.bucket
}