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
{{ message }}
This repository was archived by the owner on Mar 19, 2025. It is now read-only.
feat: exposed the ability to create SCC attachements using the profile_attachments input variable. Supports passing multiple, but default to the latest IBM Cloud Framework for Financial Services profile (#73)
Copy file name to clipboardExpand all lines: solutions/instances/README.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@ This solution supports the following:
5
5
- Provisioning and configuring of a Security and Compliance Center instance.
6
6
- Provisioning of a COS instance and KMS encrypted bucket which is required to store Security and Compliance Center data.
7
7
- Provisioning and configuring of a Security and Compliance Center Workload Protection instance.
8
+
- Create SCC profile attachments configured to the SCC instance provisioned in this module.
8
9
9
10
**NB:** This solution is not intended to be called by one or more other modules since it contains a provider configurations, meaning it is not compatible with the `for_each`, `count`, and `depends_on` arguments. For more information see [Providers Within Modules](https://developer.hashicorp.com/terraform/language/modules/develop/providers)
10
11
@@ -22,14 +23,17 @@ This solution supports the following:
|[ibm_iam_account_settings.iam_account_settings](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.65.1/docs/data-sources/iam_account_settings)| data source |
33
37
34
38
### Inputs
35
39
@@ -51,6 +55,7 @@ No resources.
51
55
| <aname="input_kms_endpoint_type"></a> [kms\_endpoint\_type](#input\_kms\_endpoint\_type)| The type of endpoint to be used for commincating with the KMS instance. Allowed values are: 'public' or 'private' (default) |`string`|`"private"`| no |
52
56
| <aname="input_management_endpoint_type_for_bucket"></a> [management\_endpoint\_type\_for\_bucket](#input\_management\_endpoint\_type\_for\_bucket)| The type of endpoint for the IBM terraform provider to use to manage COS buckets. (`public`, `private` or `direct`). Ensure to enable virtual routing and forwarding (VRF) in your account if using `private`, and that the terraform runtime has access to the the IBM Cloud private network. |`string`|`"private"`| no |
53
57
| <aname="input_prefix"></a> [prefix](#input\_prefix)| (Optional) Prefix to append to all resources created by this solution. |`string`|`null`| no |
58
+
| <aname="input_profile_attachments"></a> [profile\_attachments](#input\_profile\_attachments)| Optional list of SCC profile attachments to create that will be scoped to your specific IBM Cloud account with a `daily` attachment schedule and defaults to the latest version of the specified profile attachments. |`list(string)`| <pre>[<br> "IBM Cloud Framework for Financial Services"<br>]</pre> | no |
54
59
| <aname="input_provision_scc_workload_protection"></a> [provision\_scc\_workload\_protection](#input\_provision\_scc\_workload\_protection)| Whether to provision an SCC Workload Protection instance. |`bool`|`true`| no |
55
60
| <aname="input_resource_group_name"></a> [resource\_group\_name](#input\_resource\_group\_name)| The name of a new or an existing resource group in which to provision resources to. If prefix input variable is passed then it will get prefixed infront of the value in the format of '<prefix>-value'. |`string`| n/a | yes |
56
61
| <aname="input_scc_cos_bucket_access_tags"></a> [scc\_cos\_bucket\_access\_tags](#input\_scc\_cos\_bucket\_access\_tags)| Optional list of access tags to be added to the SCC COS bucket. |`list(string)`|`[]`| no |
attachment_name="${each.value+1} daily full account attachment"
169
+
attachment_description="SCC profile attachment scoped to your specific IBM Cloud account id ${data.ibm_iam_account_settings.iam_account_settings.account_id} with a daily attachment schedule."
170
+
attachment_schedule="daily"
171
+
scope=[
172
+
{
173
+
environment ="ibm-cloud"
174
+
properties = [
175
+
{
176
+
name ="scope_type"
177
+
value ="account"
178
+
},
179
+
{
180
+
name ="scope_id"
181
+
value = data.ibm_iam_account_settings.iam_account_settings.account_id
description="Set to true to skip the creation of an IAM authorization policy that permits the SCC instance created by this solution read access to the workload protection instance. Only used if `provision_scc_workload_protection` is set to true."
215
215
}
216
216
217
+
variable"profile_attachments" {
218
+
type=list(string)
219
+
description="Optional list of SCC profile attachments to create that will be scoped to your specific IBM Cloud account with a `daily` attachment schedule and defaults to the latest version of the specified profile attachments."
220
+
default=["IBM Cloud Framework for Financial Services"]
0 commit comments