Allows customization of bucket name for sharing amis
@@ -27,7 +27,7 @@ module "shared_ami_key" {
}
resource "aws_s3_bucket" "xdr-shared-amis" {
- bucket = "xdr-shared-amis"
+ bucket = var.ami_bucket_name
acl = "private"
tags = merge(var.standard_tags, var.tags)
@@ -1,5 +1,9 @@
# variables from terragrunt.hcl
variable tags { type = map }
+variable ami_bucket_name {
+ type = string
+ default = "xdr-shared-amis"
+}
# inherited variables
variable standard_tags { type = map }