Skip to content

Commit 06e7991

Browse files
author
akocbek
committed
rebase
2 parents 1db7833 + 0b98c25 commit 06e7991

File tree

16 files changed

+355
-151
lines changed

16 files changed

+355
-151
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ A module for provisioning an [IBM Cloud Security and Compliance Center Workload
2121
* [Contributing](#contributing)
2222
<!-- END OVERVIEW HOOK -->
2323

24+
## Known issues
25+
26+
### restapi_object.enable_cspm resource always identified for creation
27+
There is currently a [known issue](https://github.com/terraform-ibm-modules/terraform-ibm-scc-workload-protection/issues/243) where you will always see the `restapi_object.enable_cspm` resource included in the terraform plan for creation, even after it has already been applied. It is safe to proceed with this apply and will be a no-op if the resource has already been applied.
2428

2529
<!--
2630
If this repo contains any reference architectures, uncomment the heading below and links to them.
@@ -110,7 +114,7 @@ statement instead the previous block.
110114

111115
| Name | Source | Version |
112116
|------|--------|---------|
113-
| <a name="module_cbr_rule"></a> [cbr\_rule](#module\_cbr\_rule) | terraform-ibm-modules/cbr/ibm//modules/cbr-rule-module | 1.32.0 |
117+
| <a name="module_cbr_rule"></a> [cbr\_rule](#module\_cbr\_rule) | terraform-ibm-modules/cbr/ibm//modules/cbr-rule-module | 1.33.0 |
114118
| <a name="module_trusted_profile_scc_wp"></a> [trusted\_profile\_scc\_wp](#module\_trusted\_profile\_scc\_wp) | terraform-ibm-modules/trusted-profile/ibm | 3.1.1 |
115119

116120
### Resources
@@ -129,7 +133,7 @@ statement instead the previous block.
129133
| <a name="input_access_tags"></a> [access\_tags](#input\_access\_tags) | A list of access tags to apply to the SCC WP instance created by the module. For more information, see https://cloud.ibm.com/docs/account?topic=account-access-tags-tutorial. | `list(string)` | `[]` | no |
130134
| <a name="input_app_config_crn"></a> [app\_config\_crn](#input\_app\_config\_crn) | The CRN of an existing App Config instance to use with the SCC Workload Protection instance. Required if `cspm_enabled` is true. NOTE: Ensure the App Config instance has configuration aggregator enabled. | `string` | `null` | no |
131135
| <a name="input_cbr_rules"></a> [cbr\_rules](#input\_cbr\_rules) | The list of context-based restriction rules to create. | <pre>list(object({<br/> description = string<br/> account_id = string<br/> tags = optional(list(object({<br/> name = string<br/> value = string<br/> })), [])<br/> rule_contexts = list(object({<br/> attributes = optional(list(object({<br/> name = string<br/> value = string<br/> }))) }))<br/> enforcement_mode = string<br/> }))</pre> | `[]` | no |
132-
| <a name="input_cloud_monitoring_instance_crn"></a> [cloud\_monitoring\_instance\_crn](#input\_cloud\_monitoring\_instance\_crn) | The CRN of an IBM Cloud Monitoring instance to connect to the SCC Workload Protection instance. | `string` | `null` | no |
136+
| <a name="input_cloud_monitoring_instance_crn"></a> [cloud\_monitoring\_instance\_crn](#input\_cloud\_monitoring\_instance\_crn) | To collect and analyze metrics and security data on hosts using both Monitoring and Workload Protection, pass the CRN of an existing IBM Cloud Monitoring instance to create a connection between instances. Both instances must be in the same region. | `string` | `null` | no |
133137
| <a name="input_cspm_enabled"></a> [cspm\_enabled](#input\_cspm\_enabled) | Enable Cloud Security Posture Management (CSPM) for the Workload Protection instance. This will create a trusted profile associated with the SCC Workload Protection instance that has viewer / reader access to the App Config service and viewer access to the Enterprise service. [Learn more](https://cloud.ibm.com/docs/workload-protection?topic=workload-protection-about). | `bool` | `true` | no |
134138
| <a name="input_name"></a> [name](#input\_name) | The name to give the SCC Workload Protection instance that will be provisioned by this module. | `string` | n/a | yes |
135139
| <a name="input_region"></a> [region](#input\_region) | IBM Cloud region where all resources will be deployed | `string` | `"us-south"` | no |

examples/advanced/main.tf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
module "resource_group" {
66
source = "terraform-ibm-modules/resource-group/ibm"
7-
version = "1.2.1"
7+
version = "1.3.0"
88
# if an existing resource group is not set (null) create a new one using prefix
99
resource_group_name = var.resource_group == null ? "${var.prefix}-resource-group" : null
1010
existing_resource_group_name = var.resource_group
@@ -15,8 +15,8 @@ module "resource_group" {
1515
########################################################################################################################
1616

1717
module "cloud_monitoring" {
18-
source = "terraform-ibm-modules/observability-instances/ibm//modules/cloud_monitoring"
19-
version = "3.5.3"
18+
source = "terraform-ibm-modules/cloud-monitoring/ibm"
19+
version = "1.6.5"
2020
resource_group_id = module.resource_group.resource_group_id
2121
region = var.region
2222
instance_name = "${var.prefix}-cm"
@@ -43,7 +43,7 @@ resource "ibm_is_vpc" "example_vpc" {
4343
##############################################################################
4444
module "cbr_zone" {
4545
source = "terraform-ibm-modules/cbr/ibm//modules/cbr-zone-module"
46-
version = "1.32.0"
46+
version = "1.33.0"
4747
name = "${var.prefix}-VPC-network-zone"
4848
zone_description = "CBR Network zone representing VPC"
4949
account_id = data.ibm_iam_account_settings.iam_account_settings.account_id
@@ -60,7 +60,7 @@ module "cbr_zone" {
6060
# Create new App Config instance
6161
module "app_config" {
6262
source = "terraform-ibm-modules/app-configuration/ibm"
63-
version = "1.8.3"
63+
version = "1.9.1"
6464
region = var.region
6565
resource_group_id = module.resource_group.resource_group_id
6666
app_config_plan = "basic"

examples/basic/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
module "resource_group" {
66
source = "terraform-ibm-modules/resource-group/ibm"
7-
version = "1.2.1"
7+
version = "1.3.0"
88
# if an existing resource group is not set (null) create a new one using prefix
99
resource_group_name = var.resource_group == null ? "${var.prefix}-resource-group" : null
1010
existing_resource_group_name = var.resource_group

examples/enterprise/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
module "resource_group" {
66
source = "terraform-ibm-modules/resource-group/ibm"
7-
version = "1.2.1"
7+
version = "1.3.0"
88
resource_group_name = var.resource_group == null ? "${var.prefix}-rg" : null
99
existing_resource_group_name = var.resource_group
1010
}
@@ -15,7 +15,7 @@ module "resource_group" {
1515

1616
module "app_config" {
1717
source = "terraform-ibm-modules/app-configuration/ibm"
18-
version = "1.8.3"
18+
version = "1.9.1"
1919
region = var.region
2020
resource_group_id = module.resource_group.resource_group_id
2121
app_config_plan = "basic"

0 commit comments

Comments
 (0)