Skip to content

Instantly share code, notes, and snippets.

@keithrozario
Created March 2, 2019 03:32
Show Gist options
  • Save keithrozario/69585e5b986b0d8c9b994f385e3b783e to your computer and use it in GitHub Desktop.
Save keithrozario/69585e5b986b0d8c9b994f385e3b783e to your computer and use it in GitHub Desktop.
s3bucket_domains
resource "aws_s3_bucket" "s3bucket_domains" {
bucket = "${lookup(var.s3bucket_domains, terraform.workspace)}"
acl = "private"
force_destroy = false # prevent terraform from deleting this bucket if it has objects inside
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment