Skip to content

Commit 32c9c22

Browse files
SSPROD-54180 adding ignore lifecycle for basic ciem flags
1 parent 6a7a4c2 commit 32c9c22

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

test/examples/modular_organization/onboarding_with_posture.tf

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,11 @@ resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement_basic"
4646
enabled = true
4747
components = [module.config-posture.service_principal_component_id]
4848
depends_on = [module.config-posture, sysdig_secure_cloud_auth_account_feature.config_posture]
49-
flags = {"CIEM_FEATURE_MODE": "basic"}
49+
flags = {
50+
"CIEM_FEATURE_MODE": "basic"
51+
}
52+
53+
lifecycle {
54+
ignore_changes = [flags]
55+
}
5056
}

test/examples/modular_single_project/onboarding_with_posture.tf

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,11 @@ resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement_basic"
4242
enabled = true
4343
components = [module.config-posture.service_principal_component_id]
4444
depends_on = [module.config-posture, sysdig_secure_cloud_auth_account_feature.config_posture]
45-
flags = {"CIEM_FEATURE_MODE": "basic"}
45+
flags = {
46+
"CIEM_FEATURE_MODE": "basic"
47+
}
48+
49+
lifecycle {
50+
ignore_changes = [flags]
51+
}
4652
}

0 commit comments

Comments
 (0)