File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
security/security-design/fn-datasafe-dbaudit-to-oci-logging/terraform Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -13,4 +13,7 @@ locals {
13
13
ocir_namespace = lookup (data. oci_objectstorage_namespace . namespace , " namespace" )
14
14
namespace = lookup (data. oci_objectstorage_namespace . namespace , " namespace" )
15
15
compartment_name = lookup (data. oci_identity_compartment . compartment , " name" )
16
- }
16
+ resource_nc = " -${ var . deployment_name } -${ var . region } -${ var . purpose } -${ random_id . tag . hex } "
17
+ policy_displayname = " ${ var . PolicyNamePrefix } ${ local . resource_nc } "
18
+ dynamicgroup_displayname = " ${ var . DynamicGroupNamePrefix } ${ local . resource_nc } "
19
+ }
Original file line number Diff line number Diff line change 11
11
12
12
# Functions Policies
13
13
14
+ locals {
15
+ policy_displayname = " ${ var . PolicyNamePrefix } ${ local . resource_nc } "
16
+ dynamicgroup_displayname = " ${ var . DynamicGroupNamePrefix } ${ local . resource_nc } "
17
+ }
14
18
15
19
resource "oci_identity_policy" "DataSafetoLoggingFunctionsPolicy" {
16
20
provider = oci. homeregion
You can’t perform that action at this time.
0 commit comments