Skip to content

Commit f23ebe9

Browse files
committed
Merge branch 'main' into deprecate_refs
2 parents 26a2741 + 420cde7 commit f23ebe9

File tree

15 files changed

+292
-137
lines changed

15 files changed

+292
-137
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ on:
55
issue_comment:
66
types:
77
- created
8+
89
jobs:
910
call-terraform-ci-pipeline:
10-
uses: terraform-ibm-modules/common-pipeline-assets/.github/workflows/common-terraform-module-ci-v2.yml@v1.22.5
11+
uses: terraform-ibm-modules/common-pipeline-assets/.github/workflows/common-terraform-module-ci-v2.yml@v1.24.0
1112
secrets: inherit
12-
with:
13-
craSCCv2: true
14-
craConfigYamlFile: "cra-config.yaml"

.secrets.baseline

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"files": "go.sum|^.secrets.baseline$",
44
"lines": null
55
},
6-
"generated_at": "2024-08-29T15:52:08Z",
6+
"generated_at": "2025-10-28T06:31:36Z",
77
"plugins_used": [
88
{
99
"name": "AWSKeyDetector"
@@ -77,7 +77,7 @@
7777
}
7878
],
7979
"results": {},
80-
"version": "0.13.1+ibm.62.dss",
80+
"version": "0.13.1+ibm.64.dss",
8181
"word_list": {
8282
"file": null,
8383
"hash": null

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,10 +248,8 @@ To attach access management tags to resources in this module, you need the follo
248248
| <a name="input_dns_instance_name"></a> [dns\_instance\_name](#input\_dns\_instance\_name) | The name to give the provisioned DNS instance. If not set, the module generates a name based on the `prefix` and `name` variables. | `string` | `null` | no |
249249
| <a name="input_dns_location"></a> [dns\_location](#input\_dns\_location) | The target location or environment for the DNS instance created to host the custom resolver in a hub-spoke DNS resolution topology. Only used if enable\_hub is true and skip\_custom\_resolver\_hub\_creation is false (defaults). | `string` | `"global"` | no |
250250
| <a name="input_dns_plan"></a> [dns\_plan](#input\_dns\_plan) | The plan for the DNS resource instance created to host the custom resolver in a hub-spoke DNS resolution topology. Only used if enable\_hub is true and skip\_custom\_resolver\_hub\_creation is false (defaults). | `string` | `"standard-dns"` | no |
251-
| <a name="input_dns_records"></a> [dns\_records](#input\_dns\_records) | List of DNS records to be created. | <pre>list(object({<br/> name = string<br/> type = string<br/> ttl = number<br/> rdata = string<br/> preference = optional(number, null)<br/> service = optional(string, null)<br/> protocol = optional(string, null)<br/> priority = optional(number, null)<br/> weight = optional(number, null)<br/> port = optional(number, null)<br/> }))</pre> | `[]` | no |
252-
| <a name="input_dns_zone_description"></a> [dns\_zone\_description](#input\_dns\_zone\_description) | The description of the DNS zone. | `string` | `"Default DNS Zone"` | no |
253-
| <a name="input_dns_zone_label"></a> [dns\_zone\_label](#input\_dns\_zone\_label) | Label associated with the DNS zone. | `string` | `"dns-zone"` | no |
254-
| <a name="input_dns_zone_name"></a> [dns\_zone\_name](#input\_dns\_zone\_name) | The name of the DNS zone to be created. | `string` | `null` | no |
251+
| <a name="input_dns_records"></a> [dns\_records](#input\_dns\_records) | List of DNS records to be created. | <pre>map(list(object({<br/> name = string<br/> type = string<br/> ttl = number<br/> rdata = string<br/> preference = optional(number, null)<br/> service = optional(string, null)<br/> protocol = optional(string, null)<br/> priority = optional(number, null)<br/> weight = optional(number, null)<br/> port = optional(number, null)<br/> })))</pre> | `{}` | no |
252+
| <a name="input_dns_zones"></a> [dns\_zones](#input\_dns\_zones) | List of the DNS zone to be created. | <pre>list(object({<br/> name = string<br/> description = optional(string)<br/> label = optional(string, "dns-zone")<br/> }))</pre> | `[]` | no |
255253
| <a name="input_enable_hub"></a> [enable\_hub](#input\_enable\_hub) | Indicates whether this VPC is enabled as a DNS name resolution hub. | `bool` | `false` | no |
256254
| <a name="input_enable_hub_vpc_crn"></a> [enable\_hub\_vpc\_crn](#input\_enable\_hub\_vpc\_crn) | Indicates whether Hub VPC CRN is passed. | `bool` | `false` | no |
257255
| <a name="input_enable_hub_vpc_id"></a> [enable\_hub\_vpc\_id](#input\_enable\_hub\_vpc\_id) | Indicates whether Hub VPC ID is passed. | `bool` | `false` | no |

cra-config.yaml

Lines changed: 0 additions & 9 deletions
This file was deleted.

cra-tf-validate-ignore-rules.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

examples/hub-spoke-delegated-resolver/main.tf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ module "hub_vpc" {
3636
prefix = "${var.prefix}-hub"
3737
tags = var.resource_tags
3838
enable_hub = true
39-
dns_zone_name = "hnsexample.com"
39+
dns_zones = [
40+
{
41+
name = "hnsexample.com"
42+
}
43+
]
4044
subnets = {
4145
zone-1 = [
4246
{

examples/vpc-with-dns/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module "slz_vpc" {
4646
prefix = var.prefix
4747
tags = var.resource_tags
4848
enable_hub = true
49-
dns_zone_name = var.dns_zone_name
49+
dns_zones = var.dns_zones
5050
dns_records = var.dns_records
5151
subnets = local.subnets
5252
}

examples/vpc-with-dns/variables.tf

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ variable "resource_tags" {
3636

3737
variable "dns_records" {
3838
description = "List of DNS records to create"
39-
type = list(object({
39+
type = map(list(object({
4040
name = string
4141
type = string
4242
rdata = string
@@ -47,8 +47,8 @@ variable "dns_records" {
4747
protocol = optional(string)
4848
service = optional(string)
4949
weight = optional(number)
50-
}))
51-
default = [
50+
})))
51+
default = { "dns-example.com" = [
5252
{
5353
name = "testA"
5454
type = "A"
@@ -77,11 +77,21 @@ variable "dns_records" {
7777
rdata = "textinformation"
7878
ttl = 900
7979
}
80-
]
80+
]
81+
}
8182
}
8283

83-
variable "dns_zone_name" {
84-
description = "The name of the DNS zone to be created."
85-
type = string
86-
default = "dns-example.com"
84+
variable "dns_zones" {
85+
description = "The DNS zones to be created."
86+
type = list(object({
87+
name = string
88+
description = optional(string)
89+
label = optional(string, "dns-zone")
90+
}))
91+
default = [
92+
{
93+
name = "dns-example.com"
94+
description = "Example DNS zone"
95+
}
96+
]
8797
}

ibm_catalog.json

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,6 @@
6868
"install_type": "fullstack",
6969
"working_directory": "solutions/fully-configurable",
7070
"release_notes_url": "https://cloud.ibm.com/docs/secure-infrastructure-vpc?topic=secure-infrastructure-vpc-secure-infrastructure-vpc-relnotes",
71-
"compliance": {
72-
"authority": "scc-v3",
73-
"profiles": [
74-
{
75-
"profile_name": "IBM Cloud Framework for Financial Services",
76-
"profile_version": "1.7.0"
77-
}
78-
]
79-
},
8071
"architecture": {
8172
"features": [
8273
{
@@ -395,9 +386,19 @@
395386
{
396387
"type": "regex",
397388
"description": "The value provided for 'existing_cos_instance_crn' is not valid.",
398-
"value": "^crn:(.*:){3}cloud-object-storage:(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$"
389+
"value": "^__NULL__$|^crn:(.*:){3}cloud-object-storage:(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$"
399390
}
400-
]
391+
],
392+
"custom_config": {
393+
"type": "platform_resource",
394+
"grouping": "deployment",
395+
"original_grouping": "deployment",
396+
"config_constraints": {
397+
"resourceType": "cloud-object-storage",
398+
"selection": "single_select",
399+
"valueType": "crn"
400+
}
401+
}
401402
},
402403
{
403404
"key": "skip_vpc_cos_iam_auth_policy"
@@ -585,15 +586,11 @@
585586
{
586587
"version_input": "kms_encryption_enabled_bucket",
587588
"value": true
588-
},
589-
{
590-
"version_input": "enable_vpc_flow_logs",
591-
"value": true
592589
}
593590
],
594591
"optional": true,
595592
"on_by_default": true,
596-
"version": "v5.4.0"
593+
"version": "v5.4.8"
597594
},
598595
{
599596
"name": "deploy-arch-ibm-cos",
@@ -625,7 +622,7 @@
625622
],
626623
"optional": true,
627624
"on_by_default": true,
628-
"version": "v10.5.0"
625+
"version": "v10.5.5"
629626
},
630627
{
631628
"name": "deploy-arch-ibm-cloud-logs",
@@ -635,7 +632,7 @@
635632
"fully-configurable"
636633
],
637634
"id": "63d8ae58-fbf3-41ce-b844-0fb5b85882ab-global",
638-
"version": "v1.9.0",
635+
"version": "v1.9.10",
639636
"optional": true,
640637
"on_by_default": true,
641638
"input_mapping": [
@@ -675,7 +672,7 @@
675672
"name": "deploy-arch-ibm-cloud-monitoring",
676673
"description": "Sets up a Cloud Monitoring instance to collect the platform metrics.",
677674
"id": "73debdbf-894f-4c14-81c7-5ece3a70b67d-global",
678-
"version": "v1.9.0",
675+
"version": "v1.10.6",
679676
"flavors": [
680677
"fully-configurable"
681678
],
@@ -709,7 +706,7 @@
709706
"name": "deploy-arch-ibm-activity-tracker",
710707
"description": "Configure Activity Tracker Event Routing to route the auditing events.",
711708
"id": "918453c3-4f97-4583-8c4a-83ef12fc7916-global",
712-
"version": "v1.4.3",
709+
"version": "v1.4.11",
713710
"flavors": [
714711
"fully-configurable"
715712
],
@@ -748,7 +745,7 @@
748745
"name": "deploy-arch-ibm-scc-workload-protection",
749746
"description": "Configure an IBM Cloud Security and Compliance Center Workload Protection instance to help you manage security and compliance for your organization.",
750747
"id": "4322cf44-2289-49aa-a719-dd79e39b14dc-global",
751-
"version": "v1.14.0",
748+
"version": "v1.15.3",
752749
"flavors": [
753750
"fully-configurable"
754751
],
@@ -775,7 +772,8 @@
775772
}
776773
],
777774
"dependency_version_2": true,
778-
"terraform_version": "1.10.5"
775+
"terraform_version": "1.12.2",
776+
"ignore_readme": true
779777
}
780778
]
781779
}

0 commit comments

Comments
 (0)