We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee7c8b0 commit c32fd3aCopy full SHA for c32fd3a
modules/aws/s3_bucket/backplane/iam.tf
@@ -19,7 +19,7 @@ data "aws_iam_policy_document" "s3_full_access" {
19
}
20
21
resource "aws_iam_policy" "buildingblock_s3_policy" {
22
- name = "S3BuildingBlockPolicy"
+ name = var.workload_identity_federation == null ? "S3BuildingBlockPolicy" : "S3BuildingBlockFederatedPolicy"
23
description = "Policy for the S3 Building Block"
24
policy = data.aws_iam_policy_document.s3_full_access.json
25
0 commit comments