This example illustrates how to use the anthos-vm:vm-disk
sub-module.
Name | Description | Type | Default | Required |
---|---|---|---|---|
gcs_images | Map of the image name to GCS URL. The key is an arbitary string and the value is the GCS URL of the VM image. | map(string) |
n/a | yes |
gcs_secret | The secret name to pull from GCS bucket. | string |
"" |
no |
kubeconfig_path | The path to the kubeconfig file. | string |
n/a | yes |
No outputs.
To provision this example, run the following from within this directory:
terraform init
to get the pluginsterraform plan
to see the infrastructure planterraform apply
to apply the infrastructure buildterraform destroy
to destroy the built infrastructure