Skip to content

Commit

Permalink
fix: Add terraform provider replacement to handle opentofu registry p…
Browse files Browse the repository at this point in the history
…rovideres (#1743)

Brokerpak v1.12.0 was build with an old version of the broker which used to put the providers in the opentofu registry path. Since these providers are taken from terraform we want to make sure that they are installed in the terraform registry path.
 This change makes sure that any state created with the previous version can continue to work with provideres being installed in the terraform path.

[#187439534](https://www.pivotaltracker.com/story/show/187439534)

Co-authored-by: Marcela Campo <20945140+pivotal-marcela-campo@users.noreply.github.com>
  • Loading branch information
FelisiaM and pivotal-marcela-campo authored Apr 17, 2024
1 parent d1babf6 commit 053cd8c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ platforms:
# - os: darwin
# arch: amd64
terraform_state_provider_replacements:
registry.opentofu.org/hashicorp/aws: "registry.terraform.io/hashicorp/aws"
registry.opentofu.org/hashicorp/random: "registry.terraform.io/hashicorp/random"
registry.opentofu.org/cloud-service-broker/csbpg: "cloudfoundry.org/cloud-service-broker/csbpg"
registry.terraform.io/cloud-service-broker/csbpg: "cloudfoundry.org/cloud-service-broker/csbpg"
registry.opentofu.org/cloud-service-broker/csbmysql: "cloudfoundry.org/cloud-service-broker/csbmysql"
registry.terraform.io/cloud-service-broker/csbmysql: "cloudfoundry.org/cloud-service-broker/csbmysql"
terraform_upgrade_path:
- version: 1.6.2
Expand Down

0 comments on commit 053cd8c

Please sign in to comment.