Skip to content

Instantly share code, notes, and snippets.

@manavskohli
Last active February 14, 2019 18:42
Show Gist options
  • Save manavskohli/a22c769074ca98020367ea70d92d8b42 to your computer and use it in GitHub Desktop.
Save manavskohli/a22c769074ca98020367ea70d92d8b42 to your computer and use it in GitHub Desktop.
# 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