Skip to content

terraform-provider-ddcloud v3.0.1

Compare
Choose a tag to compare
@samuelchong samuelchong released this 09 Jan 02:18

Requires Terraform v0.8.0 or newer

  • Built against Terraform 0.12.19
  • Build against Go Version 1.12

Note: Terraform v0.12 is a major release, and may not be entirely backward-compatible; if you are upgrading from v0.11 or earlier, you should read the Upgrading to Terraform 0.12 and Upgrading Terraform configuation

BREAKING CHANGE

  • Before switching to dd-cloud-compute-terraform v3.x (terraform v0.12), we recommend using dd-cloud-compute-terraform v2.3.x (terraform v0.11) (or any later v0.11 release) to perform one last terraform init and terraform apply to ensure that everything is initialized and synchronized.
  • Once terraform apply shows no changes pending, switch over to a dd-cloud-compute-terraform v3.x (Terraform v0.12) release and run terraform init again to upgrade the working directory metadata to v0.12 format. (Once you've done this, you'll need to delete the .terraform directory if you wish to return to Terraform v0.11, but no real infrastructure or persisted state will be upgraded yet.)
  • Luckily, terraform provide an easy way to fix the old configuration that are not compatible with terraform 0.12.
To begin upgrading your configuration, run the following in the folder that contains tf files:
    $> terraform 0.12upgrade

To validate configurations format in .tf file, run:
     $> terraform validate

It is possible that your configuration may be using configuration constructs that are not Terraform v0.12 compatible and thus require upgrade. In that case, terraform init will produce the following message:

Changes

  • Fix issue #132 Upgrade to terraform v12

Getting started

  • Choose the appropriate executable for your OS
  • Copy it to the same directory as the main Terraform executable.

Note:
Refer to this repository for dockerfile.