You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: terraform/modules/policies/locals.tf
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ locals {
75
75
autoscaling_statement25=var.use_autoscaling?length(oci_identity_dynamic_group.wlsc_functions_principal_group) >0?"Allow dynamic-group ${oci_identity_dynamic_group.wlsc_functions_principal_group[0].name} to inspect dynamic-groups in tenancy":"":""
76
76
autoscaling_statement26=var.use_autoscaling?length(oci_identity_dynamic_group.wlsc_functions_principal_group) >0?"Allow dynamic-group ${oci_identity_dynamic_group.wlsc_functions_principal_group[0].name} to manage policies in tenancy":"":""
77
77
autoscaling_statement27=var.use_autoscaling?length(oci_identity_dynamic_group.wlsc_functions_principal_group) >0?"Allow dynamic-group ${oci_identity_dynamic_group.wlsc_functions_principal_group[0].name} to use tag-namespaces in tenancy":"":""
78
-
autoscaling_statement28=var.use_autoscaling?length(oci_identity_dynamic_group.wlsc_functions_principal_group) >0?"Allow dynamic-group ${oci_identity_dynamic_group.wlsc_functions_principal_group[0].name} to manage orm-family in compartment id ${var.network_compartment_id}":"":""
78
+
autoscaling_statement28=var.use_autoscaling&& var.network_compartment_id!= var.compartment_id&& var.is_rms_private_endpoint_required?length(oci_identity_dynamic_group.wlsc_functions_principal_group) >0?"Allow dynamic-group ${oci_identity_dynamic_group.wlsc_functions_principal_group[0].name} to manage orm-family in compartment id ${var.network_compartment_id}":"":""
79
79
autoscaling_atp_policy_statement=(var.atp_db.is_atp&& var.use_autoscaling) ?length(oci_identity_dynamic_group.wlsc_functions_principal_group) >0?"Allow dynamic-group ${oci_identity_dynamic_group.wlsc_functions_principal_group[0].name} to inspect autonomous-transaction-processing-family in compartment id ${var.atp_db.compartment_id}":"":""
80
80
autoscaling_db_policy_statement=(local.is_oci_db&& var.use_autoscaling) ?length(oci_identity_dynamic_group.wlsc_functions_principal_group) >0?"Allow dynamic-group ${oci_identity_dynamic_group.wlsc_functions_principal_group[0].name} to inspect database-family in compartment id ${var.oci_db.compartment_id}":"":""
81
81
autoscaling_fss_mount_target_policy_statement=(var.add_fss&& var.use_autoscaling) ?length(oci_identity_dynamic_group.wlsc_functions_principal_group) >0?"Allow dynamic-group ${oci_identity_dynamic_group.wlsc_functions_principal_group[0].name} to manage mount-targets in compartment id ${var.mount_target_compartment_id}":"":""
description="If this variable is true and existing_load_balancer is blank, a new load balancer will be created for the stack. If existing_load_balancer_id is not blank, the specified load balancer will be used"
0 commit comments