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: examples/fscloud/main.tf
+11-4Lines changed: 11 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -70,24 +70,31 @@ module "cbr_account_level" {
70
70
71
71
## Enable enforcement for key protect as an example
72
72
## The other services not referenced here, are either report, or disabled (when not support report)
73
+
## When a scope is specified in a rule for the target service, a new separate global rule will be created for the respective target service to scope all the resources of that service. This can be opted out by setting the variable 'global_deny = false'
74
+
## It is mandatory to set 'global_deny = false' when no scope is specified for the target service
75
+
73
76
target_service_details={
74
77
# Using 'kms' for Key Protect value as target service name supported by CBR for Key Protect is 'kms'.
75
78
"kms"= {
76
79
# Demonstrates how a customized CBR description (also seen as being the rule name) can be set
Copy file name to clipboardExpand all lines: modules/fscloud/README.md
+29-4Lines changed: 29 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,10 @@ Important: In order to avoid unexpected breakage in the account against which th
26
26
27
27
**Note on Event Notifications**: Event Notifications introduced SMTP API that does not support `report` enforcement mode. By default `report` mode is set which excludes SMTP API. If enforcement mode is set to `enabled`, CBR will be applied to the SMTP API as well.
28
28
29
+
**Note on global_deny variable**: When a `scope` is specified in a rule for the target service, a new separate `global rule` will be created for the respective target service to scope `all the resources` of that service. This can be opted out by setting the variable `global_deny = false`. It is also mandatory to set `global_deny = false` when no scope is specified for the target service.
30
+
31
+
**Note on `mqcloud`**: Region and/or instance_id is/are required for service `mqcloud` to create the CBR rule.
32
+
29
33
## Note
30
34
The services 'directlink', 'globalcatalog-collection', 'iam-groups' and 'user-management' do not support restriction per location.
31
35
@@ -51,10 +55,31 @@ module "cbr_fscloud" {
51
55
# Will skip the zone creation for service ref. present in the list
0 commit comments