Skip to content

Instantly share code, notes, and snippets.

@schosterbarak
Last active March 1, 2022 19:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save schosterbarak/3a3e439077ec4dc213359825ccc78e95 to your computer and use it in GitHub Desktop.
Save schosterbarak/3a3e439077ec4dc213359825ccc78e95 to your computer and use it in GitHub Desktop.
module "not_immutable_s3_bucket" {
source = "example/s3-bucket/aws"
version = "0.3.4"
acl = "private"
enabled = true
user_enabled = true
versioning_enabled = false
allowed_bucket_actions = ["s3:GetObject", "s3:ListBucket", "s3:GetBucketLocation"]
name = "app"
stage = "test"
namespace = "eg"
}
module "not_immutable_s3_bucket_always_latest" {
source = "example/s3-bucket/aws"
acl = "private"
enabled = true
user_enabled = true
versioning_enabled = false
allowed_bucket_actions = ["s3:GetObject", "s3:ListBucket", "s3:GetBucketLocation"]
name = "app"
stage = "test"
namespace = "eg"
}
module "immutable_module"{
source = "git::https://example.com/storage.git?ref=51d462976d84fdea54b47d80dcabbf680badcdb8"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment