Skip to content

Commit 1b2b8bf

Browse files
authored
Added lifecycle to ignore chagnes in the expression which re created … (#19)
* Added lifecycle to ignore chagnes in the expression which re created IAm role binding * terraform fmt
1 parent c1d198b commit 1b2b8bf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

iam.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ resource "google_project_iam_member" "truefoundry_platform_feature_secret_manage
4040
description = "TrueFoundry platform feature role to allows access to secrets that start with 'tfy'"
4141
expression = "resource.name.startsWith('projects/${data.google_project.truefoundry_platform_feature_project.number}/secrets/tfy')"
4242
}
43+
44+
lifecycle {
45+
ignore_changes = [condition[0].expression]
46+
}
4347
}
4448

4549
// custom role for GCS bucket

0 commit comments

Comments
 (0)