Skip to content

Commit 2ff5442

Browse files
authored
fix(deps): updated IBM provider to 1.76.0 (#396)
1 parent 564e73a commit 2ff5442

File tree

10 files changed

+10
-94
lines changed

10 files changed

+10
-94
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ To create service credentials, access the Event Notifications service, and acces
6969
| Name | Version |
7070
|------|---------|
7171
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.0 |
72-
| <a name="requirement_ibm"></a> [ibm](#requirement\_ibm) | >= 1.70.0, < 2.0.0 |
72+
| <a name="requirement_ibm"></a> [ibm](#requirement\_ibm) | >= 1.76.0, < 2.0.0 |
7373
| <a name="requirement_time"></a> [time](#requirement\_time) | >= 0.9.1 |
7474

7575
### Modules

examples/basic/version.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ terraform {
66
required_providers {
77
ibm = {
88
source = "IBM-Cloud/ibm"
9-
version = "1.70.0"
9+
version = "1.76.0"
1010
}
1111
}
1212
}

examples/complete/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@ An end-to-end example that creates the following infrastructure:
77
- An Event Notifications instance with bring-your-own-key encryption.
88
- An IBM Cloud Object Storage service instance and bucket to collect events that fail delivery.
99
- A Virtual Private Cloud (VPC).
10-
- A context-based restriction (CBR) rule to allow Event Notifications to be accessible from VPC and Schematics.
1110
- Service credentials for the Event Notifications instance.

examples/complete/main.tf

Lines changed: 2 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ module "key_protect_all_inclusive" {
2727
key_protect_instance_name = "${var.prefix}-kp"
2828
resource_tags = var.resource_tags
2929
keys = [{
30-
key_ring_name = "en-key-ring"
30+
key_ring_name = local.key_ring_name
3131
keys = [{
32-
key_name = "${var.prefix}-en"
32+
key_name = local.key_name
3333
force_delete = true
3434
}]
3535
}]
@@ -55,61 +55,6 @@ module "cos" {
5555
kms_encryption_enabled = false
5656
}
5757

58-
##############################################################################
59-
# Get Cloud Account ID
60-
##############################################################################
61-
62-
data "ibm_iam_account_settings" "iam_account_settings" {
63-
}
64-
65-
##############################################################################
66-
# VPC
67-
##############################################################################
68-
resource "ibm_is_vpc" "example_vpc" {
69-
name = "${var.prefix}-vpc"
70-
resource_group = module.resource_group.resource_group_id
71-
tags = var.resource_tags
72-
}
73-
74-
resource "ibm_is_subnet" "testacc_subnet" {
75-
name = "${var.prefix}-subnet"
76-
vpc = ibm_is_vpc.example_vpc.id
77-
zone = "${var.region}-1"
78-
total_ipv4_address_count = 256
79-
resource_group = module.resource_group.resource_group_id
80-
}
81-
82-
##############################################################################
83-
# Create CBR Zone
84-
##############################################################################
85-
86-
module "cbr_vpc_zone" {
87-
source = "terraform-ibm-modules/cbr/ibm//modules/cbr-zone-module"
88-
version = "1.29.0"
89-
name = "${var.prefix}-VPC-network-zone"
90-
zone_description = "CBR Network zone representing VPC"
91-
account_id = data.ibm_iam_account_settings.iam_account_settings.account_id
92-
addresses = [{
93-
type = "vpc",
94-
value = ibm_is_vpc.example_vpc.crn
95-
}]
96-
}
97-
98-
module "cbr_zone_schematics" {
99-
source = "terraform-ibm-modules/cbr/ibm//modules/cbr-zone-module"
100-
version = "1.29.0"
101-
name = "${var.prefix}-schematics-zone"
102-
zone_description = "CBR Network zone containing Schematics"
103-
account_id = data.ibm_iam_account_settings.iam_account_settings.account_id
104-
addresses = [{
105-
type = "serviceRef",
106-
ref = {
107-
account_id = data.ibm_iam_account_settings.iam_account_settings.account_id
108-
service_name = "schematics"
109-
}
110-
}]
111-
}
112-
11358
#############################################################################
11459
# Create EN instance, destination, topic and subscription
11560
##############################################################################
@@ -131,34 +76,6 @@ module "event_notification" {
13176
cos_bucket_name = module.cos.bucket_name
13277
cos_instance_id = module.cos.cos_instance_crn
13378
cos_endpoint = "https://${module.cos.s3_endpoint_public}"
134-
cbr_rules = [
135-
{
136-
description = "${var.prefix}-event notification access only from vpc"
137-
enforcement_mode = "enabled"
138-
account_id = data.ibm_iam_account_settings.iam_account_settings.account_id
139-
rule_contexts = [{
140-
attributes = [
141-
{
142-
"name" : "endpointType",
143-
"value" : "public"
144-
},
145-
{
146-
name = "networkZoneId"
147-
value = module.cbr_vpc_zone.zone_id
148-
}]
149-
}, {
150-
attributes = [
151-
{
152-
"name" : "endpointType",
153-
"value" : "public"
154-
},
155-
{
156-
name = "networkZoneId"
157-
value = module.cbr_zone_schematics.zone_id
158-
}]
159-
}]
160-
}
161-
]
16279
}
16380

16481
resource "ibm_en_destination_webhook" "webhook_destination" {

examples/complete/version.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ terraform {
66
required_providers {
77
ibm = {
88
source = "IBM-Cloud/ibm"
9-
version = ">= 1.70.0, < 2.0.0"
9+
version = ">= 1.76.0, < 2.0.0"
1010
}
1111
}
1212
}

examples/fscloud/version.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ terraform {
66
required_providers {
77
ibm = {
88
source = "IBM-Cloud/ibm"
9-
version = ">= 1.70.0, < 2.0.0"
9+
version = ">= 1.76.0, < 2.0.0"
1010
}
1111
}
1212
}

modules/fscloud/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module "event_notification" {
6464
| Name | Version |
6565
|------|---------|
6666
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.0 |
67-
| <a name="requirement_ibm"></a> [ibm](#requirement\_ibm) | >= 1.70.0, <2.0.0 |
67+
| <a name="requirement_ibm"></a> [ibm](#requirement\_ibm) | >= 1.76.0, <2.0.0 |
6868

6969
### Modules
7070

modules/fscloud/version.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ terraform {
77
# tflint-ignore: terraform_unused_required_providers
88
ibm = {
99
source = "IBM-Cloud/ibm"
10-
version = ">= 1.70.0, <2.0.0"
10+
version = ">= 1.76.0, <2.0.0"
1111
}
1212
}
1313
}

solutions/standard/version.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
ibm = {
66
source = "IBM-Cloud/ibm"
7-
version = "1.75.2"
7+
version = "1.76.0"
88
}
99
time = {
1010
source = "hashicorp/time"

version.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ terraform {
55
required_providers {
66
ibm = {
77
source = "IBM-Cloud/ibm"
8-
version = ">= 1.70.0, < 2.0.0"
8+
version = ">= 1.76.0, < 2.0.0"
99
}
1010
time = {
1111
source = "hashicorp/time"

0 commit comments

Comments
 (0)