Last active
November 12, 2021 02:26
-
-
Save juanesech/51bc7a2942f3e6fe8bffa46237989b6f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
terraform { | |
required_providers { | |
aws = { | |
source = "hashicorp/aws" | |
version = "~> 3.0" | |
} | |
} | |
} | |
# Configure the AWS Provider | |
provider "aws" { | |
region = "us-east-1" | |
} | |
terraform { | |
backend "s3" { | |
bucket = "jns-test-bucket" | |
key = "terraform/sample" | |
region = "us-east-1" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "aws_s3_bucket" "jns_bucket" { | |
bucket = "tf-sample-jns-test-bucket" | |
acl = "private" | |
tags = { | |
resourceowner = "jechavarria" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment