A Terraform provisioner for CenturyLinkCloud (CLC) packages.
- Download the plugin from the releases tab - https://github.com/fatmcgav/terraform-provisioner-clc_exec/releases/download/0.0.1/terraform-provisioner-clc_exec-0.0.1.tar.gz
- Extract it somewhere on your PATH or note the full path to the binary.
- Create or modify your
~/.terraformrc
file. You will need to add theclc_exec
path within theprovisioner
section. E.g:
provisioners {
clc_exec = "~/path/to/terraform-provisioner-clc_exec"
}
In order to execute a CLC package, you need to know the Package UUID, and any parameters that the package requires.
provisioner "clc_exec" {
username = "[clc username]"
password = "[clc password]"
account = "[clc account alias]"
package = "[clc pacakge uuid]"
parameters = {
"parameter1" = "value"
"parameter2" = "value2"
}
}
clc_exec
Executes a CLC package as part of the resource provisioning process.
TODO: Add table of params
Currently it's necessary to provider the CLC authentication details to the provisioner in addition to the provider.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request