- Website: https://www.terraform.io
- Documentation: See run documentation website section
This provider plugin is maintained by the InterCloud team at InterCloud
See the InterCloud Provider documentation to get started using the InterCloud provider
The provider does not upgrade automatically, you need to run the following command to force the upgrade after a new release:
terraform init -upgrade
For more details on upgrade and version constraint, see the Official Terraform documentation
If you wish to work on the provider, you'll first need Go installed on your machine (version 1.14+ is required).
You'll also need to correctly setup a GOPATH, as well as adding $GOPATH/bin
to your $PATH
.
To compile the provider, run make build
. This will build the provider and put the provider binary in the $GOPATH/bin
directory.
$ make build
...
$ $GOPATH/bin/terraform-provider-intercloud
...
Terraform 0.13+ examples available at ./examples/terraform0.13
Go to releases download page
Download the right archive from the assets depending on your OS and Arch
Unzip and move the binary in :
OS | Location |
---|---|
Windows | %APPDATA%\terraform.d\plugins |
All other systems | ~/.terraform.d/plugins |
make release-snapshot
## Move/Copy the right binary depending of your {OS}_{Arch} from ./dist to the root of your hcl files
## IE with darwin_amd64
mv ./dist/terraform-provider-intercloud_darwin_amd64/terraform-provider-intercloud_v1.1.0-SNAPSHOT-783c762 ~/my-tf-plan-ie/
cd ~/my-tf-plan-ie
terraform init
terraform plan
terraform apply
Windows OS User:
# Execute those commands only the first time
go install github.com/goreleaser/goreleaser
go mod tidy
# Then
goreleaser build --rm-dist --snapshot
# mv ./dist/terraform-provider-intercloud_windows_amd64/terraform-provider-intercloud_v1.1.0-SNAPSHOT-783c762.exe E:\my-tf-plan-ie\terraform-provider-intercloud_v1.1.0-SNAPSHOT-783c762.exe
Move-Item -Path ./dist/terraform-provider-intercloud_windows_amd64/terraform-provider-intercloud_v1.1.0-SNAPSHOT-783c762.exe -Destination E:\my-tf-plan-ie\terraform-provider-intercloud_v1.1.0-SNAPSHOT-783c762.exe
E:\my-tf-plan-ie
terraform init
terraform plan
terraform apply
The provider can also be moved to one of those directories:
OS | Location |
---|---|
Windows | %APPDATA%\terraform.d\plugins |
All other systems | ~/.terraform.d/plugins |
Terraform 0.12+ (< 0.13) examples available at ./examples/terraform0.12