Skip to content

Commit eb5e58d

Browse files
author
Ruslan Gainutdinov
committed
Added count on some missing resources
1 parent f1f1b33 commit eb5e58d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ resource "aws_iam_policy" "default_cache_bucket" {
104104
}
105105

106106
data "aws_iam_policy_document" "permissions" {
107+
count = "${var.enabled == "true" ? 1 : 0}"
108+
107109
statement {
108110
sid = ""
109111

0 commit comments

Comments
 (0)