Skip to content

Commit

Permalink
Remove empty strings from iam bucket list
Browse files Browse the repository at this point in the history
  • Loading branch information
ltellesfl committed Dec 2, 2024
1 parent 2dcc340 commit 0b41ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ module "iam" {
aws_primary_dns_role_arn = var.aws_primary_dns_role_arn
efs_filesystem_id = [var.include_efs == true ? module.efs-storage[0].efs_filesystem_id : ""]
fsx_arns = [var.include_rox ? module.fsx-storage[0].fsx-rox.arn : "", var.include_fsx == true ? module.fsx-storage[0].fsx-rwx.arn : ""]
s3_buckets = [module.s3-storage.data_s3_bucket_name, var.include_pgbackup ? module.s3-storage.pgbackup_s3_bucket_name : "", var.include_rox ? module.s3-storage.api_models_s3_bucket_name : "", lower("${var.aws_account}-aws-cod-snapshots"), var.performance_bucket ? "indico-locust-benchmark-test-results" : ""]
s3_buckets = compact([module.s3-storage.data_s3_bucket_name, var.include_pgbackup ? module.s3-storage.pgbackup_s3_bucket_name : "", var.include_rox ? module.s3-storage.api_models_s3_bucket_name : "", lower("${var.aws_account}-aws-cod-snapshots"), var.performance_bucket ? "indico-locust-benchmark-test-results" : ""])
kms_key_arn = module.kms_key.key_arn
# s3 replication
enable_s3_replication = var.enable_s3_replication
Expand Down

0 comments on commit 0b41ed5

Please sign in to comment.