Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to migrate the provider from <0.13 to >0.13 #79

Open
camrossi opened this issue Jun 22, 2022 · 0 comments
Open

Document how to migrate the provider from <0.13 to >0.13 #79

camrossi opened this issue Jun 22, 2022 · 0 comments

Comments

@camrossi
Copy link

camrossi commented Jun 22, 2022

Currently terrafromer generate a config that is not compatible with the new version of TF.

To migrate to Terrafrom > 0.13 the following steps are required

  1. Replace the provider

terraform state replace-provider -auto-approve "registry.terraform.io/-/aci" "registry.terraform.io/ciscodevnet/aci"
2. Edit the provider.tf and replace

terraform {
	required_providers {
		aci = {
	    version = "~> 2.3.0"
		}
  }
}

with

terraform {
  required_providers {
    aci = {
      source = "CiscoDevNet/aci"
      version = "2.3.0"
    }
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant