Operations for planning, applying or destroying Terraform resources. Supports local file system state or back end state managers such as Consul. Plugin supports FlexDeploy Cloud Accounts for the following providers; AWS, Azure, and Oracle Cloud Infrastructure. You can specify a Cloud Account which will handle all necessary authentication and connection information for you. If you wish to use another provider the authentication must be handled separately.
Validated Versions
- v01.112.137
Key Features
- FlexDeploy Cloud Account configuration support for AWS, Azure, Oracle Cloud Infrastructure
- Back end and local state support
- Terraform variable and output support
- FlexDeploy property replacement
- Automatically download desired version of the terraform executable on the endpoint
Recommendations
State
While local state is supported, it is recommended to use a back end state manager such as Consul for robust visibility and persistence.
...
- AWS
- Microsoft Azure
- Oracle Cloud Infrastructure (see https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm)
Creating Authorization for other Providers
...
FlexDeploy Provider (Google Cloud Platform)
...
FlexDeploy Account (Google Cloud Platform)
Terraform Configuration (Google Cloud Platform)
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
provider "google" { credentials = "${file("${{GCPJOEL:GCLOUD_KEYFILE_JSON}}")}" project = "${{GCPJOELGCPTRIAL:GCLOUD_PROJECT}}" region = "${{GCPJOELGCPTRIAL:GCLOUD_REGION}}" zone = "${{GCPJOELGCPTRIAL:GCLOUD_ZONE}}" } resource "google_compute_instance" "vm_instance" { name = "terraform-instance" machine_type = "f1-micro" boot_disk { initialize_params { image = "debian-cloud/debian-9" } } network_interface { # A default network is created for all GCP projects network = "${google_compute_network.vpc_network.self_link}" access_config = { } } } resource "google_compute_network" "vpc_network" { name = "terraform-network" auto_create_subnetworks = "true" } |
...