Skip to content

Commit 3854d78

Browse files
fix(deps): update COS module to 6.12.2 (#241)
1 parent 3a4e318 commit 3854d78

File tree

6 files changed

+43
-34
lines changed

6 files changed

+43
-34
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Optionally, you need the following permissions to attach Access Management tags
162162
163163
| Name | Source | Version |
164164
|------|--------|---------|
165-
| <a name="module_cos_instance"></a> [cos\_instance](#module\_cos\_instance) | terraform-ibm-modules/cos/ibm | 6.10.0 |
165+
| <a name="module_cos_instance"></a> [cos\_instance](#module\_cos\_instance) | terraform-ibm-modules/cos/ibm | 6.12.2 |
166166
167167
### Resources
168168

examples/fscloud/main.tf

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module "resource_group" {
1313

1414
module "cos_fscloud" {
1515
source = "terraform-ibm-modules/cos/ibm"
16-
version = "6.10.0"
16+
version = "6.12.2"
1717
resource_group_id = module.resource_group.resource_group_id
1818
create_cos_bucket = false
1919
cos_instance_name = "${var.prefix}-cos"
@@ -26,7 +26,7 @@ module "cos_fscloud" {
2626

2727
module "flowlogs_bucket" {
2828
source = "terraform-ibm-modules/cos/ibm//modules/buckets"
29-
version = "6.10.0"
29+
version = "6.12.2"
3030

3131
bucket_configs = [
3232
{
@@ -47,7 +47,7 @@ module "flowlogs_bucket" {
4747
module "vpc" {
4848
depends_on = [module.flowlogs_bucket]
4949
source = "terraform-ibm-modules/landing-zone-vpc/ibm"
50-
version = "7.4.0"
50+
version = "7.5.0"
5151
resource_group_id = module.resource_group.resource_group_id
5252
region = var.region
5353
prefix = var.prefix
@@ -58,8 +58,7 @@ module "vpc" {
5858
zone-2 = ["10.20.10.0/24"]
5959
zone-3 = ["10.30.10.0/24"]
6060
}
61-
clean_default_acl = true
62-
clean_default_security_group = true
61+
clean_default_sg_acl = true
6362
enable_vpc_flow_logs = true
6463
create_authorization_policy_vpc_to_cos = true
6564
existing_storage_bucket_name = module.flowlogs_bucket.bucket_configs[0].bucket_name
@@ -92,7 +91,6 @@ module "vpc" {
9291
zone-2 = false
9392
zone-3 = false
9493
}
95-
ibmcloud_api_key = var.ibmcloud_api_key
9694
}
9795

9896
##############################################################################
@@ -108,7 +106,7 @@ locals {
108106
# Create Sysdig and Activity Tracker instance
109107
module "observability_instances" {
110108
source = "terraform-ibm-modules/observability-instances/ibm"
111-
version = "2.9.1"
109+
version = "2.9.2"
112110
providers = {
113111
logdna.at = logdna.at
114112
logdna.ld = logdna.ld
@@ -138,7 +136,7 @@ data "ibm_iam_account_settings" "iam_account_settings" {
138136
##############################################################################
139137
module "cbr_zone" {
140138
source = "terraform-ibm-modules/cbr/ibm//modules/cbr-zone-module"
141-
version = "1.9.0"
139+
version = "1.12.1"
142140
name = "${var.prefix}-VPC-network-zone"
143141
zone_description = "CBR Network zone containing VPC"
144142
account_id = data.ibm_iam_account_settings.iam_account_settings.account_id
@@ -150,7 +148,7 @@ module "cbr_zone" {
150148

151149
module "cbr_rules" {
152150
source = "terraform-ibm-modules/cbr/ibm//modules/cbr-rule-module"
153-
version = "1.9.0"
151+
version = "1.12.1"
154152
rule_description = "${var.prefix} rule for vpc flow log access to cos"
155153
enforcement_mode = "enabled"
156154
resources = [{

examples/multiple_mzr_clusters/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ data "ibm_container_cluster_config" "cluster_config_c2" {
133133

134134
module "observability_instances" {
135135
source = "terraform-ibm-modules/observability-instances/ibm"
136-
version = "2.9.1"
136+
version = "2.9.2"
137137
providers = {
138138
logdna.at = logdna.at
139139
logdna.ld = logdna.ld
@@ -155,7 +155,7 @@ module "observability_instances" {
155155

156156
module "observability_agents_1" {
157157
source = "terraform-ibm-modules/observability-agents/ibm"
158-
version = "1.6.3"
158+
version = "1.7.2"
159159
providers = {
160160
helm = helm.helm_cluster_1
161161
}
@@ -169,7 +169,7 @@ module "observability_agents_1" {
169169

170170
module "observability_agents_2" {
171171
source = "terraform-ibm-modules/observability-agents/ibm"
172-
version = "1.6.3"
172+
version = "1.7.2"
173173
providers = {
174174
helm = helm.helm_cluster_2
175175
}

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ module "cos_instance" {
4343
count = var.use_existing_cos ? 0 : 1
4444

4545
source = "terraform-ibm-modules/cos/ibm"
46-
version = "6.10.0"
46+
version = "6.12.2"
4747
cos_instance_name = local.cos_name
4848
resource_group_id = var.resource_group_id
4949
cos_plan = local.cos_plan

module-metadata.json

Lines changed: 31 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@
650650
"cos_instance": {
651651
"name": "cos_instance",
652652
"source": "terraform-ibm-modules/cos/ibm",
653-
"version": "6.10.0",
653+
"version": "6.12.2",
654654
"attributes": {
655655
"count": "use_existing_cos",
656656
"resource_group_id": "resource_group_id"
@@ -674,7 +674,7 @@
674674
},
675675
"pos": {
676676
"filename": ".terraform/modules/cos_instance/main.tf",
677-
"line": 101
677+
"line": 109
678678
}
679679
},
680680
"ibm_cos_bucket.cos_bucket1": {
@@ -694,7 +694,7 @@
694694
},
695695
"pos": {
696696
"filename": ".terraform/modules/cos_instance/main.tf",
697-
"line": 178
697+
"line": 186
698698
}
699699
},
700700
"ibm_iam_authorization_policy.policy": {
@@ -709,7 +709,7 @@
709709
},
710710
"pos": {
711711
"filename": ".terraform/modules/cos_instance/main.tf",
712-
"line": 78
712+
"line": 85
713713
}
714714
},
715715
"ibm_resource_instance.cos_instance": {
@@ -729,7 +729,7 @@
729729
},
730730
"pos": {
731731
"filename": ".terraform/modules/cos_instance/main.tf",
732-
"line": 37
732+
"line": 44
733733
}
734734
},
735735
"ibm_resource_key.resource_key": {
@@ -747,7 +747,7 @@
747747
},
748748
"pos": {
749749
"filename": ".terraform/modules/cos_instance/main.tf",
750-
"line": 54
750+
"line": 61
751751
}
752752
},
753753
"ibm_resource_tag.cos_access_tag": {
@@ -763,7 +763,7 @@
763763
},
764764
"pos": {
765765
"filename": ".terraform/modules/cos_instance/main.tf",
766-
"line": 47
766+
"line": 54
767767
}
768768
},
769769
"random_string.bucket_name_suffix": {
@@ -778,7 +778,19 @@
778778
},
779779
"pos": {
780780
"filename": ".terraform/modules/cos_instance/main.tf",
781-
"line": 88
781+
"line": 96
782+
}
783+
},
784+
"time_sleep.wait_for_authorization_policy": {
785+
"mode": "managed",
786+
"type": "time_sleep",
787+
"name": "wait_for_authorization_policy",
788+
"provider": {
789+
"name": "time"
790+
},
791+
"pos": {
792+
"filename": ".terraform/modules/cos_instance/main.tf",
793+
"line": 37
782794
}
783795
}
784796
},
@@ -790,7 +802,7 @@
790802
"value": "local.bucket_crn",
791803
"pos": {
792804
"filename": ".terraform/modules/cos_instance/outputs.tf",
793-
"line": 29
805+
"line": 30
794806
}
795807
},
796808
"bucket_id": {
@@ -799,7 +811,7 @@
799811
"value": "local.bucket_id",
800812
"pos": {
801813
"filename": ".terraform/modules/cos_instance/outputs.tf",
802-
"line": 24
814+
"line": 25
803815
}
804816
},
805817
"bucket_name": {
@@ -808,7 +820,7 @@
808820
"value": "local.bucket_name",
809821
"pos": {
810822
"filename": ".terraform/modules/cos_instance/outputs.tf",
811-
"line": 34
823+
"line": 35
812824
}
813825
},
814826
"bucket_storage_class": {
@@ -817,7 +829,7 @@
817829
"value": "local.bucket_storage_class",
818830
"pos": {
819831
"filename": ".terraform/modules/cos_instance/outputs.tf",
820-
"line": 39
832+
"line": 40
821833
}
822834
},
823835
"cos_instance_guid": {
@@ -826,7 +838,7 @@
826838
"value": "local.cos_instance_guid",
827839
"pos": {
828840
"filename": ".terraform/modules/cos_instance/outputs.tf",
829-
"line": 54
841+
"line": 55
830842
}
831843
},
832844
"cos_instance_id": {
@@ -835,7 +847,7 @@
835847
"value": "local.cos_instance_id",
836848
"pos": {
837849
"filename": ".terraform/modules/cos_instance/outputs.tf",
838-
"line": 49
850+
"line": 50
839851
}
840852
},
841853
"kms_key_crn": {
@@ -844,7 +856,7 @@
844856
"value": "var.kms_key_crn",
845857
"pos": {
846858
"filename": ".terraform/modules/cos_instance/outputs.tf",
847-
"line": 44
859+
"line": 45
848860
},
849861
"type": "string"
850862
},
@@ -854,7 +866,7 @@
854866
"value": "var.resource_group_id",
855867
"pos": {
856868
"filename": ".terraform/modules/cos_instance/outputs.tf",
857-
"line": 4
869+
"line": 5
858870
},
859871
"type": "string",
860872
"cloud_data_type": "resource_group",
@@ -868,7 +880,7 @@
868880
"value": "local.s3_endpoint_direct",
869881
"pos": {
870882
"filename": ".terraform/modules/cos_instance/outputs.tf",
871-
"line": 19
883+
"line": 20
872884
}
873885
},
874886
"s3_endpoint_private": {
@@ -877,7 +889,7 @@
877889
"value": "local.s3_endpoint_private",
878890
"pos": {
879891
"filename": ".terraform/modules/cos_instance/outputs.tf",
880-
"line": 9
892+
"line": 10
881893
}
882894
},
883895
"s3_endpoint_public": {
@@ -886,7 +898,7 @@
886898
"value": "local.s3_endpoint_public",
887899
"pos": {
888900
"filename": ".terraform/modules/cos_instance/outputs.tf",
889-
"line": 14
901+
"line": 15
890902
}
891903
}
892904
},

modules/fscloud/main.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@ module "fscloud" {
2222
existing_cos_id = var.existing_cos_id
2323
tags = var.tags
2424
kms_config = var.kms_config
25-
2625
}

0 commit comments

Comments
 (0)