Skip to content

Commit

Permalink
feat: update required ibm provider version to >= 1.52.0 (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
terraform-ibm-modules-ops committed May 22, 2023
1 parent fb17423 commit e8aa6a1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ You need the following permissions to run this module.
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >=1.3 |
| <a name="requirement_ibm"></a> [ibm](#requirement\_ibm) | >=1.43.0 |
| <a name="requirement_ibm"></a> [ibm](#requirement\_ibm) | >= 1.52.0 |

## Modules

Expand Down
2 changes: 1 addition & 1 deletion examples/default/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module "resource_group" {

module "vpc" {
count = var.vpc_id != null ? 0 : 1
source = "git::https://github.com/terraform-ibm-modules/terraform-ibm-landing-zone-vpc.git?ref=v5.2.0"
source = "git::https://github.com/terraform-ibm-modules/terraform-ibm-landing-zone-vpc.git?ref=v7.0.1"
resource_group_id = module.resource_group.resource_group_id
region = var.region
prefix = var.prefix
Expand Down
7 changes: 4 additions & 3 deletions examples/default/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@

terraform {
required_version = ">= 1.3.0"
# Pin to the lowest provider version of the range defined in the main module's version.tf to ensure lowest version still works
required_providers {
# Pin to the lowest provider version of the range defined in the main module's version.tf to ensure lowest version still works
ibm = {
source = "IBM-Cloud/ibm"
version = "1.51.0"
version = "1.52.0"
}
# The time provider is not actually required by the module itself, just this example, so OK to use ">=" here instead of locking into a version
time = {
source = "hashicorp/time"
version = "0.9.1"
version = ">= 0.9.1"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion module-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"ibm": {
"source": "IBM-Cloud/ibm",
"version_constraints": [
"\u003e=1.43.0"
"\u003e= 1.52.0"
]
}
},
Expand Down
3 changes: 2 additions & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
##############################################################################

terraform {
# Use "greater than or equal to" range in modules
required_providers {
ibm = {
source = "IBM-Cloud/ibm"
version = ">=1.43.0"
version = ">= 1.52.0"
}
}
required_version = ">=1.3"
Expand Down

0 comments on commit e8aa6a1

Please sign in to comment.