Skip to content

Instantly share code, notes, and snippets.

@mhmdio
Created November 7, 2021 06:48
Show Gist options
  • Save mhmdio/a9dd3d771b14ad9a77251d9ff517c6ef to your computer and use it in GitHub Desktop.
Save mhmdio/a9dd3d771b14ad9a77251d9ff517c6ef to your computer and use it in GitHub Desktop.
Terraform v1.0 Upgrade Tips

Tips to upgrade to terraform 1.0+

To upgrade from older versions, read more about other versions here:

Once completed, most noted updates you need to check are the following:

  • list and map built-in functions must be renamed into tolist and tomap
  • upgrade aws provider URL in state file using:
terraform state replace-provider registry.terraform.io/-/aws registry.terraform.io/hashicorp/aws
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment