Last active
February 14, 2019 18:42
-
-
Save manavskohli/a22c769074ca98020367ea70d92d8b42 to your computer and use it in GitHub Desktop.
This file contains 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
# S3 bucket names should not contain numbers or underscores | |
resource "aws_s3_bucket" "source-bucket" { | |
bucket = "source-bucket" | |
acl = "private" | |
tags = { | |
Name = "Source bucket" | |
} | |
} | |
resource "aws_s3_bucket" "target-bucket-one" { | |
bucket = "target-bucket-one" | |
acl = "private" | |
tags = { | |
Name = "Target bucket 1" | |
} | |
} | |
resource "aws_s3_bucket" "target-bucket-two" { | |
bucket = "target-bucket-two" | |
acl = "private" | |
tags = { | |
Name = "Target bucket 2" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment