Skip to content

Commit 7b2870c

Browse files
authored
feat: remove 3.9 support as it has been deprecated by ICD (#46)
1 parent 62a8b60 commit 7b2870c

File tree

3 files changed

+17
-18
lines changed

3 files changed

+17
-18
lines changed

module-metadata.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
],
3333
"pos": {
3434
"filename": "variables.tf",
35-
"line": 145
35+
"line": 144
3636
}
3737
},
3838
"auto_scaling": {
@@ -41,7 +41,7 @@
4141
"description": "Optional rules to allow the database to increase resources in response to usage. Only a single autoscaling block is allowed. Make sure you understand the effects of autoscaling, especially for production environments. See https://cloud.ibm.com/docs/messages-for-rabbitmq?topic=messages-for-rabbitmq-autoscaling in the IBM Cloud Docs.",
4242
"pos": {
4343
"filename": "variables.tf",
44-
"line": 107
44+
"line": 106
4545
}
4646
},
4747
"backup_encryption_key_crn": {
@@ -50,7 +50,7 @@
5050
"description": "The CRN of a Key Protect key, that you want to use for encrypting disk that holds deployment backups. Only used if var.kms_encryption_enabled is set to true. If no value passed, the value passed for the 'kms_key_crn' variable will be used. BYOK for backups is available only in US regions us-south and us-east, and eu-de. Only keys in the us-south and eu-de are durable to region failures. To ensure that your backups are available even if a region failure occurs, you must use a key from us-south or eu-de. Take note that Hyper Protect Crypto Services for IBM Cloud® Databases backups is not currently supported, so if no value is passed here, but a HPCS value is passed for var.kms_key_crn, databases backup encryption will use the default encryption keys.",
5151
"pos": {
5252
"filename": "variables.tf",
53-
"line": 188
53+
"line": 187
5454
}
5555
},
5656
"cbr_rules": {
@@ -67,7 +67,7 @@
6767
],
6868
"pos": {
6969
"filename": "variables.tf",
70-
"line": 214
70+
"line": 213
7171
}
7272
},
7373
"cpu_count": {
@@ -77,7 +77,7 @@
7777
"default": 0,
7878
"pos": {
7979
"filename": "variables.tf",
80-
"line": 95
80+
"line": 94
8181
}
8282
},
8383
"disk_mb": {
@@ -87,7 +87,7 @@
8787
"default": 1024,
8888
"pos": {
8989
"filename": "variables.tf",
90-
"line": 101
90+
"line": 100
9191
}
9292
},
9393
"endpoints": {
@@ -115,7 +115,7 @@
115115
],
116116
"pos": {
117117
"filename": "variables.tf",
118-
"line": 204
118+
"line": 203
119119
},
120120
"immutable": true,
121121
"computed": true
@@ -143,7 +143,7 @@
143143
],
144144
"pos": {
145145
"filename": "variables.tf",
146-
"line": 168
146+
"line": 167
147147
}
148148
},
149149
"kms_key_crn": {
@@ -155,7 +155,7 @@
155155
],
156156
"pos": {
157157
"filename": "variables.tf",
158-
"line": 174
158+
"line": 173
159159
},
160160
"immutable": true
161161
},
@@ -166,7 +166,7 @@
166166
"default": 3,
167167
"pos": {
168168
"filename": "variables.tf",
169-
"line": 82
169+
"line": 81
170170
}
171171
},
172172
"memory_mb": {
@@ -176,7 +176,7 @@
176176
"default": 1024,
177177
"pos": {
178178
"filename": "variables.tf",
179-
"line": 89
179+
"line": 88
180180
}
181181
},
182182
"plan": {
@@ -190,7 +190,7 @@
190190
],
191191
"pos": {
192192
"filename": "variables.tf",
193-
"line": 70
193+
"line": 69
194194
},
195195
"immutable": true,
196196
"options": "standard, enterprise, enterprise-sharding"
@@ -268,7 +268,7 @@
268268
],
269269
"pos": {
270270
"filename": "variables.tf",
271-
"line": 134
271+
"line": 133
272272
}
273273
},
274274
"skip_iam_authorization_policy": {
@@ -278,7 +278,7 @@
278278
"default": false,
279279
"pos": {
280280
"filename": "variables.tf",
281-
"line": 198
281+
"line": 197
282282
}
283283
},
284284
"tags": {
@@ -307,7 +307,7 @@
307307
],
308308
"pos": {
309309
"filename": "variables.tf",
310-
"line": 152
310+
"line": 151
311311
}
312312
}
313313
},

tests/pr_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func TestRunUpgradeExample(t *testing.T) {
8484
ResourceGroup: resourceGroup,
8585
BestRegionYAMLPath: regionSelectionPath,
8686
TerraformVars: map[string]interface{}{
87-
"rabbitmq_version": "3.9", // Always lock to the lowest supported RabbitMQ version
87+
"rabbitmq_version": "3.11", // Always lock to the lowest supported RabbitMQ version
8888
},
8989
})
9090

variables.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,9 @@ variable "rabbitmq_version" {
6060
validation {
6161
condition = anytrue([
6262
var.rabbitmq_version == null,
63-
var.rabbitmq_version == "3.9",
6463
var.rabbitmq_version == "3.11"
6564
])
66-
error_message = "Version must be 3.9 or 3.11. If no value passed, the current ICD preferred version is used."
65+
error_message = "Version must be 3.11. If no value passed, the current ICD preferred version is used."
6766
}
6867
}
6968

0 commit comments

Comments
 (0)