Skip to content

Instantly share code, notes, and snippets.

@davidvpe
Created February 5, 2022 17:53
Show Gist options
  • Save davidvpe/92fc5e1b16ac7b81728062a6385aed21 to your computer and use it in GitHub Desktop.
Save davidvpe/92fc5e1b16ac7b81728062a6385aed21 to your computer and use it in GitHub Desktop.
resource "aws_s3_bucket" "website" {
bucket = "example.com"
acl = "private"
force_destroy = true
lifecycle {
prevent_destroy = false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment