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: README.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,12 +21,13 @@ See in particular the [fscloud module](./modules/fscloud/) that enables creating
21
21
*[cbr-zone-module](./modules/cbr-zone-module)
22
22
*[fscloud](./modules/fscloud)
23
23
*[Examples](./examples)
24
-
* <divstyle="display: inline-block;"><ahref="./examples/fscloud">Pre-wired CBR configuration for FS Cloud example</a></div> <divstyle="display: inline-block; vertical-align: middle;"><ahref="https://cloud.ibm.com/schematics/workspaces/create?workspace_name=cbr-fscloud-example&repository=https://github.com/terraform-ibm-modules/terraform-ibm-cbr/tree/main/examples/fscloud"target="_blank"><imgsrc="https://cloud.ibm.com/media/docs/images/icons/Deploy_to_cloud.svg"alt="Deploy to IBM Cloud button"></a></div>
25
-
* <divstyle="display: inline-block;"><ahref="./examples/multi-resource-rule">Multi resource rule example</a></div> <divstyle="display: inline-block; vertical-align: middle;"><ahref="https://cloud.ibm.com/schematics/workspaces/create?workspace_name=cbr-multi-resource-rule-example&repository=https://github.com/terraform-ibm-modules/terraform-ibm-cbr/tree/main/examples/multi-resource-rule"target="_blank"><imgsrc="https://cloud.ibm.com/media/docs/images/icons/Deploy_to_cloud.svg"alt="Deploy to IBM Cloud button"></a></div>
26
-
* <divstyle="display: inline-block;"><ahref="./examples/multi-service-profile">CBR multi service profile</a></div> <divstyle="display: inline-block; vertical-align: middle;"><ahref="https://cloud.ibm.com/schematics/workspaces/create?workspace_name=cbr-multi-service-profile-example&repository=https://github.com/terraform-ibm-modules/terraform-ibm-cbr/tree/main/examples/multi-service-profile"target="_blank"><imgsrc="https://cloud.ibm.com/media/docs/images/icons/Deploy_to_cloud.svg"alt="Deploy to IBM Cloud button"></a></div>
27
-
* <divstyle="display: inline-block;"><ahref="./examples/multizone-rule">Multi-zone example</a></div> <divstyle="display: inline-block; vertical-align: middle;"><ahref="https://cloud.ibm.com/schematics/workspaces/create?workspace_name=cbr-multizone-rule-example&repository=https://github.com/terraform-ibm-modules/terraform-ibm-cbr/tree/main/examples/multizone-rule"target="_blank"><imgsrc="https://cloud.ibm.com/media/docs/images/icons/Deploy_to_cloud.svg"alt="Deploy to IBM Cloud button"></a></div>
28
-
* <divstyle="display: inline-block;"><ahref="./examples/update-existing-zone-addresses">Zone example</a></div> <divstyle="display: inline-block; vertical-align: middle;"><ahref="https://cloud.ibm.com/schematics/workspaces/create?workspace_name=cbr-update-existing-zone-addresses-example&repository=https://github.com/terraform-ibm-modules/terraform-ibm-cbr/tree/main/examples/update-existing-zone-addresses"target="_blank"><imgsrc="https://cloud.ibm.com/media/docs/images/icons/Deploy_to_cloud.svg"alt="Deploy to IBM Cloud button"></a></div>
29
-
* <divstyle="display: inline-block;"><ahref="./examples/zone">Zone example</a></div> <divstyle="display: inline-block; vertical-align: middle;"><ahref="https://cloud.ibm.com/schematics/workspaces/create?workspace_name=cbr-zone-example&repository=https://github.com/terraform-ibm-modules/terraform-ibm-cbr/tree/main/examples/zone"target="_blank"><imgsrc="https://cloud.ibm.com/media/docs/images/icons/Deploy_to_cloud.svg"alt="Deploy to IBM Cloud button"></a></div>
24
+
:information_source: Ctrl/Cmd+Click or right-click on the Schematics deploy button to open in a new tab
25
+
* <ahref="./examples/fscloud">Pre-wired CBR configuration for FS Cloud example</a> <ahref="https://cloud.ibm.com/schematics/workspaces/create?workspace_name=cbr-fscloud-example&repository=https://github.com/terraform-ibm-modules/terraform-ibm-cbr/tree/main/examples/fscloud"><imgsrc="https://img.shields.io/badge/Deploy%20with IBM%20Cloud%20Schematics-0f62fe?logo=ibm&logoColor=white&labelColor=0f62fe"alt="Deploy with IBM Cloud Schematics"style="height: 16px; vertical-align: text-bottom; margin-left: 5px;"></a>
26
+
* <ahref="./examples/multi-resource-rule">Multi resource rule example</a> <ahref="https://cloud.ibm.com/schematics/workspaces/create?workspace_name=cbr-multi-resource-rule-example&repository=https://github.com/terraform-ibm-modules/terraform-ibm-cbr/tree/main/examples/multi-resource-rule"><imgsrc="https://img.shields.io/badge/Deploy%20with IBM%20Cloud%20Schematics-0f62fe?logo=ibm&logoColor=white&labelColor=0f62fe"alt="Deploy with IBM Cloud Schematics"style="height: 16px; vertical-align: text-bottom; margin-left: 5px;"></a>
27
+
* <ahref="./examples/multi-service-profile">CBR multi service profile</a> <ahref="https://cloud.ibm.com/schematics/workspaces/create?workspace_name=cbr-multi-service-profile-example&repository=https://github.com/terraform-ibm-modules/terraform-ibm-cbr/tree/main/examples/multi-service-profile"><imgsrc="https://img.shields.io/badge/Deploy%20with IBM%20Cloud%20Schematics-0f62fe?logo=ibm&logoColor=white&labelColor=0f62fe"alt="Deploy with IBM Cloud Schematics"style="height: 16px; vertical-align: text-bottom; margin-left: 5px;"></a>
28
+
* <ahref="./examples/multizone-rule">Multi-zone example</a> <ahref="https://cloud.ibm.com/schematics/workspaces/create?workspace_name=cbr-multizone-rule-example&repository=https://github.com/terraform-ibm-modules/terraform-ibm-cbr/tree/main/examples/multizone-rule"><imgsrc="https://img.shields.io/badge/Deploy%20with IBM%20Cloud%20Schematics-0f62fe?logo=ibm&logoColor=white&labelColor=0f62fe"alt="Deploy with IBM Cloud Schematics"style="height: 16px; vertical-align: text-bottom; margin-left: 5px;"></a>
29
+
* <ahref="./examples/update-existing-zone-addresses">Zone example</a> <ahref="https://cloud.ibm.com/schematics/workspaces/create?workspace_name=cbr-update-existing-zone-addresses-example&repository=https://github.com/terraform-ibm-modules/terraform-ibm-cbr/tree/main/examples/update-existing-zone-addresses"><imgsrc="https://img.shields.io/badge/Deploy%20with IBM%20Cloud%20Schematics-0f62fe?logo=ibm&logoColor=white&labelColor=0f62fe"alt="Deploy with IBM Cloud Schematics"style="height: 16px; vertical-align: text-bottom; margin-left: 5px;"></a>
30
+
* <ahref="./examples/zone">Zone example</a> <ahref="https://cloud.ibm.com/schematics/workspaces/create?workspace_name=cbr-zone-example&repository=https://github.com/terraform-ibm-modules/terraform-ibm-cbr/tree/main/examples/zone"><imgsrc="https://img.shields.io/badge/Deploy%20with IBM%20Cloud%20Schematics-0f62fe?logo=ibm&logoColor=white&labelColor=0f62fe"alt="Deploy with IBM Cloud Schematics"style="height: 16px; vertical-align: text-bottom; margin-left: 5px;"></a>
Copy file name to clipboardExpand all lines: examples/fscloud/README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,10 @@
1
1
# Pre-wired CBR configuration for FS Cloud example
2
2
3
+
<!-- BEGIN SCHEMATICS DEPLOY HOOK -->
4
+
<ahref="https://cloud.ibm.com/schematics/workspaces/create?workspace_name=cbr-fscloud-example&repository=https://github.com/terraform-ibm-modules/terraform-ibm-cbr/tree/main/examples/fscloud"><imgsrc="https://img.shields.io/badge/Deploy%20with IBM%20Cloud%20Schematics-0f62fe?logo=ibm&logoColor=white&labelColor=0f62fe"alt="Deploy with IBM Cloud Schematics"style="height: 16px; vertical-align: text-bottom;"></a>
5
+
<!-- END SCHEMATICS DEPLOY HOOK -->
6
+
7
+
3
8
This example demonstrates how to use the [fscloud profile](../../profiles/fscloud/) module to lay out a complete "secure by default" coarse-grained CBR topology in a given account.
4
9
5
10
This examples is designed to show case some of the key customization options for the module. In addition to the pre-wired CBR rules documented at [fscloud profile](../../profiles/fscloud/), this examples show how to customize the module to:
@@ -21,3 +26,7 @@ Context: this examples covers a "pseudo" real-world scenario where:
21
26
22
27
## Note
23
28
- The services 'compliance', 'directlink', 'iam-groups', 'user-management' do not support restriction per location for zone creation.
29
+
30
+
<!-- BEGIN SCHEMATICS DEPLOY TIP HOOK -->
31
+
:information_source: Ctrl/Cmd+Click or right-click on the Schematics deploy button to open in a new tab
<ahref="https://cloud.ibm.com/schematics/workspaces/create?workspace_name=cbr-multi-resource-rule-example&repository=https://github.com/terraform-ibm-modules/terraform-ibm-cbr/tree/main/examples/multi-resource-rule"><imgsrc="https://img.shields.io/badge/Deploy%20with IBM%20Cloud%20Schematics-0f62fe?logo=ibm&logoColor=white&labelColor=0f62fe"alt="Deploy with IBM Cloud Schematics"style="height: 16px; vertical-align: text-bottom;"></a>
5
+
<!-- END SCHEMATICS DEPLOY HOOK -->
6
+
7
+
3
8
An end-to-end example to show how to apply a rule to multiple resources. This example uses the IBM Cloud Provider to automate the following infrastructure:
4
9
5
10
- Creates a VPC
6
11
- Creates a VPC Subnet
7
12
- Creates a CBR Zone for the VPC
8
13
- Creates a COS Instance and a COS Bucket
9
14
- Applies a single CBR rule to only allow access form the VPC zone to the COS Instance and the same rule for the Bucket
15
+
16
+
<!-- BEGIN SCHEMATICS DEPLOY TIP HOOK -->
17
+
:information_source: Ctrl/Cmd+Click or right-click on the Schematics deploy button to open in a new tab
Copy file name to clipboardExpand all lines: examples/multi-service-profile/README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,10 @@
1
1
# CBR multi service profile
2
2
3
+
<!-- BEGIN SCHEMATICS DEPLOY HOOK -->
4
+
<ahref="https://cloud.ibm.com/schematics/workspaces/create?workspace_name=cbr-multi-service-profile-example&repository=https://github.com/terraform-ibm-modules/terraform-ibm-cbr/tree/main/examples/multi-service-profile"><imgsrc="https://img.shields.io/badge/Deploy%20with IBM%20Cloud%20Schematics-0f62fe?logo=ibm&logoColor=white&labelColor=0f62fe"alt="Deploy with IBM Cloud Schematics"style="height: 16px; vertical-align: text-bottom;"></a>
5
+
<!-- END SCHEMATICS DEPLOY HOOK -->
6
+
7
+
3
8
An end-to-end example that uses the submodule cbr-service-profile. This example uses the IBM Cloud Provider to automate the following infrastructure::
4
9
5
10
- Create a VPC and create a CBR zone to allowlist the VPC.
@@ -10,3 +15,7 @@ An end-to-end example that uses the submodule cbr-service-profile. This example
10
15
- Based on the account.
11
16
- Based on the access tags.
12
17
- Based on the resource group.
18
+
19
+
<!-- BEGIN SCHEMATICS DEPLOY TIP HOOK -->
20
+
:information_source: Ctrl/Cmd+Click or right-click on the Schematics deploy button to open in a new tab
<ahref="https://cloud.ibm.com/schematics/workspaces/create?workspace_name=cbr-multizone-rule-example&repository=https://github.com/terraform-ibm-modules/terraform-ibm-cbr/tree/main/examples/multizone-rule"><imgsrc="https://img.shields.io/badge/Deploy%20with IBM%20Cloud%20Schematics-0f62fe?logo=ibm&logoColor=white&labelColor=0f62fe"alt="Deploy with IBM Cloud Schematics"style="height: 16px; vertical-align: text-bottom;"></a>
5
+
<!-- END SCHEMATICS DEPLOY HOOK -->
6
+
7
+
3
8
An end-to-end example that uses the module's default variable values. This example uses the IBM Cloud Provider to automate the following infrastructure::
4
9
5
10
- Creates a VPC
6
11
- Creates a VPC Subnet
7
12
- Create two zones for context-based restrictions.
8
13
- Create a rule for context-based restrictions that uses the zone and attaches the service to it.
14
+
15
+
<!-- BEGIN SCHEMATICS DEPLOY TIP HOOK -->
16
+
:information_source: Ctrl/Cmd+Click or right-click on the Schematics deploy button to open in a new tab
<ahref="https://cloud.ibm.com/schematics/workspaces/create?workspace_name=cbr-update-existing-zone-addresses-example&repository=https://github.com/terraform-ibm-modules/terraform-ibm-cbr/tree/main/examples/update-existing-zone-addresses"><imgsrc="https://img.shields.io/badge/Deploy%20with IBM%20Cloud%20Schematics-0f62fe?logo=ibm&logoColor=white&labelColor=0f62fe"alt="Deploy with IBM Cloud Schematics"style="height: 16px; vertical-align: text-bottom;"></a>
5
+
<!-- END SCHEMATICS DEPLOY HOOK -->
6
+
7
+
3
8
Example that creates a zone for context-based restrictions. This example uses the IBM Cloud Provider to automate the following infrastructure:
4
9
5
10
- Creates 2 VPCs.
6
11
- Creates 2 Public Gateways.
7
12
- Creates 2 VPC Subnets.
8
13
- Creates a CBR Zone for the VPC.
9
14
- Updates an existing CBR Zone created above with new addresses containing another VPC created above and a `compliance` serviceRef.
15
+
16
+
<!-- BEGIN SCHEMATICS DEPLOY TIP HOOK -->
17
+
:information_source: Ctrl/Cmd+Click or right-click on the Schematics deploy button to open in a new tab
<ahref="https://cloud.ibm.com/schematics/workspaces/create?workspace_name=cbr-zone-example&repository=https://github.com/terraform-ibm-modules/terraform-ibm-cbr/tree/main/examples/zone"><imgsrc="https://img.shields.io/badge/Deploy%20with IBM%20Cloud%20Schematics-0f62fe?logo=ibm&logoColor=white&labelColor=0f62fe"alt="Deploy with IBM Cloud Schematics"style="height: 16px; vertical-align: text-bottom;"></a>
5
+
<!-- END SCHEMATICS DEPLOY HOOK -->
6
+
7
+
3
8
Example that creates a zone for context-based restrictions. This example uses the IBM Cloud Provider to automate the following infrastructure:
4
9
5
10
- Creates a VPC
6
11
- Creates a Public Gateway
7
12
- Creates a VPC Subnet
8
13
- Creates a CBR Zone for the VPC
14
+
15
+
<!-- BEGIN SCHEMATICS DEPLOY TIP HOOK -->
16
+
:information_source: Ctrl/Cmd+Click or right-click on the Schematics deploy button to open in a new tab
0 commit comments