Skip to content

Commit 2221f87

Browse files
author
gustavderdrache
authored
Merge pull request #56 from forumone/loosen-private-instances
Loosen public IP restriction to BoolIfExists
2 parents a1a4a4c + 8203cb4 commit 2221f87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cluster/iam_ssm_document.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ data "aws_iam_policy_document" "automation_ssm_ec2" {
4343
resources = ["arn:aws:ec2:*:*:network-interface/*"]
4444

4545
condition {
46-
test = "Bool"
46+
test = "BoolIfExists"
4747
variable = "ec2:AssociatePublicIp"
4848
values = ["false"]
4949
}

0 commit comments

Comments
 (0)