File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -29,10 +29,7 @@ resource "oci_identity_policy" "admit_cspm_policy" {
2929 statements = [
3030 " Define tenancy sysdigTenancy as ${ data . sysdig_secure_trusted_oracle_app . config_posture . tenancy_ocid } " ,
3131 " Define group configPostureGroup as ${ data . sysdig_secure_trusted_oracle_app . config_posture . group_ocid } " ,
32- var . compartment_ocid != " " ?
33- " Admit group configPostureGroup of tenancy sysdigTenancy to read all-resources in compartment ${ data . oci_identity_compartment . compartment [0 ]. name } "
34- :
35- " Admit group configPostureGroup of tenancy sysdigTenancy to read all-resources in tenancy" ,
32+ " Admit group configPostureGroup of tenancy sysdigTenancy to read all-resources in tenancy" ,
3633 ]
3734}
3835
Original file line number Diff line number Diff line change @@ -36,10 +36,7 @@ resource "oci_identity_policy" "admit_onboarding_policy" {
3636 " Define tenancy sysdigTenancy as ${ data . sysdig_secure_trusted_oracle_app . onboarding . tenancy_ocid } " ,
3737 " Define group onboardingGroup as ${ data . sysdig_secure_trusted_oracle_app . onboarding . group_ocid } " ,
3838 " Admit group onboardingGroup of tenancy sysdigTenancy to inspect tenancies in tenancy" ,
39- var . compartment_ocid != " " ?
40- " Admit group onboardingGroup of tenancy sysdigTenancy to inspect compartments in compartment ${ data . oci_identity_compartment . compartment [0 ]. name } "
41- :
42- " Admit group onboardingGroup of tenancy sysdigTenancy to inspect compartments in tenancy" ,
39+ " Admit group onboardingGroup of tenancy sysdigTenancy to inspect compartments in tenancy" ,
4340 ]
4441}
4542
You can’t perform that action at this time.
0 commit comments