Skip to content

Instantly share code, notes, and snippets.

@fgionghi
Last active October 11, 2021 09:21
Show Gist options
  • Save fgionghi/73bbb15d5e38dcb3d3ad6383ce1e06fc to your computer and use it in GitHub Desktop.
Save fgionghi/73bbb15d5e38dcb3d3ad6383ce1e06fc to your computer and use it in GitHub Desktop.
Plan
Running with gitlab-runner 14.3.2 (e0218c92)
on salt-server xPrAqZXH
Resolving secrets
00:00
Preparing the "shell" executor
00:00
Using Shell executor...
Preparing environment
00:00
Running on salt-server...
Getting source from Git repository
00:00
Fetching changes with git depth set to 50...
Reinitialized existing Git repository in /home/gitlab-runner/builds/xPrAqZXH/0/terraform/datacenter/vmware/bind-mv/.git/
Checking out 40f270d3 as main...
Removing .terraform.lock.hcl
Removing .terraform/
Skipping Git submodules setup
Executing "step_script" stage of the job script
00:06
$ tfenv install
Terraform v1.0.8 is already installed
$ terraform init
2021-10-11T11:20:18.846+0200 [DEBUG] Adding temp file log sink: /tmp/terraform-log043105418
2021-10-11T11:20:18.846+0200 [INFO] Terraform version: 1.0.8
2021-10-11T11:20:18.846+0200 [INFO] Go runtime version: go1.16.4
2021-10-11T11:20:18.846+0200 [INFO] CLI args: []string{"/home/gitlab-runner/.tfenv/versions/1.0.8/terraform", "init"}
2021-10-11T11:20:18.846+0200 [DEBUG] Attempting to open CLI config file: /home/gitlab-runner/.terraformrc
2021-10-11T11:20:18.846+0200 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021-10-11T11:20:18.847+0200 [DEBUG] checking for credentials in "/home/gitlab-runner/.terraform.d/plugins"
2021-10-11T11:20:18.847+0200 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021-10-11T11:20:18.847+0200 [DEBUG] will search for provider plugins in /home/gitlab-runner/.terraform.d/plugins
2021-10-11T11:20:18.847+0200 [DEBUG] ignoring non-existing provider search directory /home/gitlab-runner/.local/share/terraform/plugins
2021-10-11T11:20:18.847+0200 [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins
2021-10-11T11:20:18.847+0200 [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins
2021-10-11T11:20:18.847+0200 [DEBUG] ignoring non-existing provider search directory /var/lib/snapd/desktop/terraform/plugins
2021-10-11T11:20:18.847+0200 [INFO] CLI command args: []string{"init"}
Initializing the backend...
2021-10-11T11:20:18.854+0200 [DEBUG] New state was assigned lineage "907d0fe4-e1f8-ffd3-02a0-d7a62e3d6157"
2021-10-11T11:20:18.854+0200 [DEBUG] checking for provisioner in "."
2021-10-11T11:20:18.854+0200 [DEBUG] checking for provisioner in "/home/gitlab-runner/.tfenv/versions/1.0.8"
2021-10-11T11:20:18.854+0200 [DEBUG] checking for provisioner in "/home/gitlab-runner/.terraform.d/plugins"
2021-10-11T11:20:18.854+0200 [INFO] Failed to read plugin lock file .terraform/plugins/linux_amd64/lock.json: open .terraform/plugins/linux_amd64/lock.json: no such file or directory
2021-10-11T11:20:18.855+0200 [DEBUG] New state was assigned lineage "ff38bd49-737c-4154-8dc0-f71eb5f88f72"
Successfully configured the backend "local"! Terraform will automatically
use this backend unless the backend configuration changes.
2021-10-11T11:20:18.857+0200 [DEBUG] checking for provisioner in "."
2021-10-11T11:20:18.857+0200 [DEBUG] checking for provisioner in "/home/gitlab-runner/.tfenv/versions/1.0.8"
2021-10-11T11:20:18.857+0200 [DEBUG] checking for provisioner in "/home/gitlab-runner/.terraform.d/plugins"
2021-10-11T11:20:18.857+0200 [INFO] Failed to read plugin lock file .terraform/plugins/linux_amd64/lock.json: open .terraform/plugins/linux_amd64/lock.json: no such file or directory
Initializing provider plugins...
- Finding hashicorp/vsphere versions matching "2.0.2"...
2021-10-11T11:20:18.859+0200 [DEBUG] Service discovery for registry.terraform.io at https://registry.terraform.io/.well-known/terraform.json
2021-10-11T11:20:18.919+0200 [DEBUG] GET https://registry.terraform.io/v1/providers/hashicorp/vsphere/versions
- Finding infobloxopen/infoblox versions matching ">= 2.0.1"...
2021-10-11T11:20:19.067+0200 [DEBUG] GET https://registry.terraform.io/v1/providers/infobloxopen/infoblox/versions
2021-10-11T11:20:19.193+0200 [DEBUG] GET https://registry.terraform.io/v1/providers/infobloxopen/infoblox/2.0.1/download/linux/amd64
2021-10-11T11:20:19.224+0200 [DEBUG] GET https://github.com/infobloxopen/terraform-provider-infoblox/releases/download/v2.0.1/terraform-provider-infoblox_2.0.1_SHA256SUMS
2021-10-11T11:20:19.330+0200 [DEBUG] GET https://github.com/infobloxopen/terraform-provider-infoblox/releases/download/v2.0.1/terraform-provider-infoblox_2.0.1_SHA256SUMS.sig
- Installing infobloxopen/infoblox v2.0.1...
2021-10-11T11:20:19.583+0200 [DEBUG] Provider signed by B355854AA5DBB18E Sailesh Giri (Terraform Provider KeyPair) <sgiri@infoblox.com>
- Installed infobloxopen/infoblox v2.0.1 (signed by a HashiCorp partner, key ID B355854AA5DBB18E)
2021-10-11T11:20:20.036+0200 [DEBUG] GET https://registry.terraform.io/v1/providers/hashicorp/vsphere/2.0.2/download/linux/amd64
2021-10-11T11:20:20.060+0200 [DEBUG] GET https://releases.hashicorp.com/terraform-provider-vsphere/2.0.2/terraform-provider-vsphere_2.0.2_SHA256SUMS
2021-10-11T11:20:20.088+0200 [DEBUG] GET https://releases.hashicorp.com/terraform-provider-vsphere/2.0.2/terraform-provider-vsphere_2.0.2_SHA256SUMS.72D7468F.sig
- Installing hashicorp/vsphere v2.0.2...
2021-10-11T11:20:20.239+0200 [DEBUG] Provider signed by 34365D9472D7468F HashiCorp Security (hashicorp.com/security) <security@hashicorp.com>
- Installed hashicorp/vsphere v2.0.2 (signed by HashiCorp)
Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/cli/plugins/signing.html
Terraform has created a lock file .terraform.lock.hcl to record the provider
selections it made above. Include this file in your version control repository
so that Terraform can guarantee to make the same selections by default when
you run "terraform init" in the future.
Terraform has been successfully initialized!
You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.
If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
$ terraform plan
2021-10-11T11:20:21.302+0200 [DEBUG] Adding temp file log sink: /tmp/terraform-log786619853
2021-10-11T11:20:21.302+0200 [INFO] Terraform version: 1.0.8
2021-10-11T11:20:21.302+0200 [INFO] Go runtime version: go1.16.4
2021-10-11T11:20:21.302+0200 [INFO] CLI args: []string{"/home/gitlab-runner/.tfenv/versions/1.0.8/terraform", "plan"}
2021-10-11T11:20:21.302+0200 [DEBUG] Attempting to open CLI config file: /home/gitlab-runner/.terraformrc
2021-10-11T11:20:21.302+0200 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021-10-11T11:20:21.303+0200 [DEBUG] checking for credentials in "/home/gitlab-runner/.terraform.d/plugins"
2021-10-11T11:20:21.303+0200 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021-10-11T11:20:21.303+0200 [DEBUG] will search for provider plugins in /home/gitlab-runner/.terraform.d/plugins
2021-10-11T11:20:21.303+0200 [DEBUG] ignoring non-existing provider search directory /home/gitlab-runner/.local/share/terraform/plugins
2021-10-11T11:20:21.303+0200 [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins
2021-10-11T11:20:21.303+0200 [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins
2021-10-11T11:20:21.303+0200 [DEBUG] ignoring non-existing provider search directory /var/lib/snapd/desktop/terraform/plugins
2021-10-11T11:20:21.303+0200 [INFO] CLI command args: []string{"plan"}
2021-10-11T11:20:21.684+0200 [DEBUG] checking for provisioner in "."
2021-10-11T11:20:21.684+0200 [DEBUG] checking for provisioner in "/home/gitlab-runner/.tfenv/versions/1.0.8"
2021-10-11T11:20:21.684+0200 [DEBUG] checking for provisioner in "/home/gitlab-runner/.terraform.d/plugins"
2021-10-11T11:20:21.685+0200 [INFO] Failed to read plugin lock file .terraform/plugins/linux_amd64/lock.json: open .terraform/plugins/linux_amd64/lock.json: no such file or directory
2021-10-11T11:20:21.685+0200 [INFO] backend/local: starting Plan operation
2021-10-11T11:20:21.688+0200 [DEBUG] created provider logger: level=debug
2021-10-11T11:20:21.688+0200 [INFO] provider: configuring client automatic mTLS
2021-10-11T11:20:21.738+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5]
2021-10-11T11:20:21.738+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5 pid=123502
2021-10-11T11:20:21.738+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5
2021-10-11T11:20:21.756+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: configuring server automatic mTLS: timestamp=2021-10-11T11:20:21.756+0200
2021-10-11T11:20:21.812+0200 [DEBUG] provider.terraform-provider-vsphere_v2.0.2_x5: plugin address: address=/tmp/plugin296186730 network=unix timestamp=2021-10-11T11:20:21.811+0200
2021-10-11T11:20:21.812+0200 [DEBUG] provider: using plugin: version=5
2021-10-11T11:20:21.893+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-10-11T11:20:21.896+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5 pid=123502
2021-10-11T11:20:21.896+0200 [DEBUG] provider: plugin exited
2021-10-11T11:20:21.896+0200 [DEBUG] created provider logger: level=debug
2021-10-11T11:20:21.896+0200 [INFO] provider: configuring client automatic mTLS
2021-10-11T11:20:21.964+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/infobloxopen/infoblox/2.0.1/linux_amd64/terraform-provider-infoblox_v2.0.1 args=[.terraform/providers/registry.terraform.io/infobloxopen/infoblox/2.0.1/linux_amd64/terraform-provider-infoblox_v2.0.1]
2021-10-11T11:20:21.965+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/infobloxopen/infoblox/2.0.1/linux_amd64/terraform-provider-infoblox_v2.0.1 pid=123511
2021-10-11T11:20:21.965+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/infobloxopen/infoblox/2.0.1/linux_amd64/terraform-provider-infoblox_v2.0.1
2021-10-11T11:20:21.983+0200 [INFO] provider.terraform-provider-infoblox_v2.0.1: configuring server automatic mTLS: timestamp=2021-10-11T11:20:21.983+0200
2021-10-11T11:20:22.022+0200 [DEBUG] provider.terraform-provider-infoblox_v2.0.1: plugin address: address=/tmp/plugin606878950 network=unix timestamp=2021-10-11T11:20:22.022+0200
2021-10-11T11:20:22.022+0200 [DEBUG] provider: using plugin: version=5
2021-10-11T11:20:22.095+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unimplemented desc = unknown service plugin.GRPCStdio"
2021-10-11T11:20:22.097+0200 [DEBUG] No provider meta schema returned
2021-10-11T11:20:22.099+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/infobloxopen/infoblox/2.0.1/linux_amd64/terraform-provider-infoblox_v2.0.1 pid=123511
2021-10-11T11:20:22.099+0200 [DEBUG] provider: plugin exited
2021-10-11T11:20:22.100+0200 [INFO] terraform: building graph: GraphTypeValidate
2021-10-11T11:20:22.102+0200 [DEBUG] ProviderTransformer: "data.vsphere_datacenter.dc" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/vsphere"]
2021-10-11T11:20:22.102+0200 [DEBUG] ProviderTransformer: "data.vsphere_datastore_cluster.datastore" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/vsphere"]
2021-10-11T11:20:22.102+0200 [DEBUG] ProviderTransformer: "data.vsphere_virtual_machine.template" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/vsphere"]
2021-10-11T11:20:22.102+0200 [DEBUG] ProviderTransformer: "vsphere_virtual_machine.vm" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/vsphere"]
2021-10-11T11:20:22.102+0200 [DEBUG] ProviderTransformer: "data.vsphere_resource_pool.pool" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/vsphere"]
2021-10-11T11:20:22.102+0200 [DEBUG] ProviderTransformer: "data.vsphere_network.net" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/vsphere"]
2021-10-11T11:20:22.102+0200 [DEBUG] ProviderTransformer: "data.vsphere_folder.folder-service" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/vsphere"]
2021-10-11T11:20:22.102+0200 [DEBUG] ProviderTransformer: "data.vsphere_datastore_cluster.unity" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/vsphere"]
2021-10-11T11:20:22.103+0200 [DEBUG] pruning unused provider["registry.terraform.io/infobloxopen/infoblox"]
2021-10-11T11:20:22.104+0200 [DEBUG] ReferenceTransformer: "data.vsphere_virtual_machine.template" references: [data.vsphere_datacenter.dc]
2021-10-11T11:20:22.104+0200 [DEBUG] ReferenceTransformer: "var.fbk_infoblox_password" references: []
2021-10-11T11:20:22.104+0200 [DEBUG] ReferenceTransformer: "var.vspherepassword" references: []
2021-10-11T11:20:22.104+0200 [DEBUG] ReferenceTransformer: "var.vsphereserver" references: []
2021-10-11T11:20:22.104+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/vsphere\"]" references: [var.vsphereserver var.vspherepassword var.vsphereuser]
2021-10-11T11:20:22.105+0200 [DEBUG] ReferenceTransformer: "vsphere_virtual_machine.vm" references: [data.vsphere_folder.folder-service data.vsphere_resource_pool.pool data.vsphere_datastore_cluster.unity data.vsphere_network.net data.vsphere_virtual_machine.template]
2021-10-11T11:20:22.105+0200 [DEBUG] ReferenceTransformer: "data.vsphere_resource_pool.pool" references: [data.vsphere_datacenter.dc]
2021-10-11T11:20:22.106+0200 [DEBUG] ReferenceTransformer: "data.vsphere_network.net" references: [data.vsphere_datacenter.dc]
2021-10-11T11:20:22.106+0200 [DEBUG] ReferenceTransformer: "var.fbk_infoblox_user" references: []
2021-10-11T11:20:22.106+0200 [DEBUG] ReferenceTransformer: "data.vsphere_folder.folder-service" references: []
2021-10-11T11:20:22.106+0200 [DEBUG] ReferenceTransformer: "data.vsphere_datastore_cluster.unity" references: [data.vsphere_datacenter.dc]
2021-10-11T11:20:22.106+0200 [DEBUG] ReferenceTransformer: "var.vsphereuser" references: []
2021-10-11T11:20:22.106+0200 [DEBUG] ReferenceTransformer: "data.vsphere_datacenter.dc" references: []
2021-10-11T11:20:22.106+0200 [DEBUG] ReferenceTransformer: "data.vsphere_datastore_cluster.datastore" references: [data.vsphere_datacenter.dc]
2021-10-11T11:20:22.110+0200 [DEBUG] Starting graph walk: walkValidate
2021-10-11T11:20:22.111+0200 [DEBUG] created provider logger: level=debug
2021-10-11T11:20:22.111+0200 [INFO] provider: configuring client automatic mTLS
2021-10-11T11:20:22.169+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5]
2021-10-11T11:20:22.169+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5 pid=123522
2021-10-11T11:20:22.169+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5
2021-10-11T11:20:22.190+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: configuring server automatic mTLS: timestamp=2021-10-11T11:20:22.190+0200
2021-10-11T11:20:22.253+0200 [DEBUG] provider.terraform-provider-vsphere_v2.0.2_x5: plugin address: address=/tmp/plugin516256955 network=unix timestamp=2021-10-11T11:20:22.253+0200
2021-10-11T11:20:22.253+0200 [DEBUG] provider: using plugin: version=5
2021-10-11T11:20:22.343+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-10-11T11:20:22.345+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5 pid=123522
2021-10-11T11:20:22.345+0200 [DEBUG] provider: plugin exited
2021-10-11T11:20:22.345+0200 [INFO] backend/local: plan calling Plan
2021-10-11T11:20:22.345+0200 [INFO] terraform: building graph: GraphTypePlan
2021-10-11T11:20:22.347+0200 [DEBUG] ProviderTransformer: "data.vsphere_folder.folder-service (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/vsphere"]
2021-10-11T11:20:22.347+0200 [DEBUG] ProviderTransformer: "data.vsphere_network.net (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/vsphere"]
2021-10-11T11:20:22.347+0200 [DEBUG] ProviderTransformer: "data.vsphere_datastore_cluster.unity (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/vsphere"]
2021-10-11T11:20:22.347+0200 [DEBUG] ProviderTransformer: "data.vsphere_datacenter.dc (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/vsphere"]
2021-10-11T11:20:22.347+0200 [DEBUG] ProviderTransformer: "data.vsphere_datastore_cluster.datastore (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/vsphere"]
2021-10-11T11:20:22.347+0200 [DEBUG] ProviderTransformer: "data.vsphere_resource_pool.pool (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/vsphere"]
2021-10-11T11:20:22.347+0200 [DEBUG] ProviderTransformer: "vsphere_virtual_machine.vm (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/vsphere"]
2021-10-11T11:20:22.347+0200 [DEBUG] ProviderTransformer: "data.vsphere_virtual_machine.template (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/vsphere"]
2021-10-11T11:20:22.347+0200 [DEBUG] pruning unused provider["registry.terraform.io/infobloxopen/infoblox"]
2021-10-11T11:20:22.348+0200 [DEBUG] ReferenceTransformer: "data.vsphere_resource_pool.pool (expand)" references: [data.vsphere_datacenter.dc (expand)]
2021-10-11T11:20:22.348+0200 [DEBUG] ReferenceTransformer: "var.fbk_infoblox_password" references: []
2021-10-11T11:20:22.348+0200 [DEBUG] ReferenceTransformer: "var.fbk_infoblox_user" references: []
2021-10-11T11:20:22.348+0200 [DEBUG] ReferenceTransformer: "data.vsphere_datacenter.dc (expand)" references: []
2021-10-11T11:20:22.348+0200 [DEBUG] ReferenceTransformer: "data.vsphere_datastore_cluster.datastore (expand)" references: [data.vsphere_datacenter.dc (expand)]
2021-10-11T11:20:22.348+0200 [DEBUG] ReferenceTransformer: "var.vspherepassword" references: []
2021-10-11T11:20:22.348+0200 [DEBUG] ReferenceTransformer: "vsphere_virtual_machine.vm (expand)" references: [data.vsphere_resource_pool.pool (expand) data.vsphere_datastore_cluster.unity (expand) data.vsphere_folder.folder-service (expand) data.vsphere_network.net (expand) data.vsphere_virtual_machine.template (expand)]
2021-10-11T11:20:22.348+0200 [DEBUG] ReferenceTransformer: "data.vsphere_virtual_machine.template (expand)" references: [data.vsphere_datacenter.dc (expand)]
2021-10-11T11:20:22.348+0200 [DEBUG] ReferenceTransformer: "var.vsphereuser" references: []
2021-10-11T11:20:22.348+0200 [DEBUG] ReferenceTransformer: "var.vsphereserver" references: []
2021-10-11T11:20:22.349+0200 [DEBUG] ReferenceTransformer: "data.vsphere_datastore_cluster.unity (expand)" references: [data.vsphere_datacenter.dc (expand)]
2021-10-11T11:20:22.349+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/vsphere\"]" references: [var.vsphereserver var.vspherepassword var.vsphereuser]
2021-10-11T11:20:22.349+0200 [DEBUG] ReferenceTransformer: "data.vsphere_folder.folder-service (expand)" references: []
2021-10-11T11:20:22.349+0200 [DEBUG] ReferenceTransformer: "data.vsphere_network.net (expand)" references: [data.vsphere_datacenter.dc (expand)]
2021-10-11T11:20:22.351+0200 [DEBUG] Starting graph walk: walkPlan
2021-10-11T11:20:22.351+0200 [DEBUG] created provider logger: level=debug
2021-10-11T11:20:22.351+0200 [INFO] provider: configuring client automatic mTLS
2021-10-11T11:20:22.403+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5]
2021-10-11T11:20:22.404+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5 pid=123531
2021-10-11T11:20:22.404+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5
2021-10-11T11:20:22.430+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: configuring server automatic mTLS: timestamp=2021-10-11T11:20:22.428+0200
2021-10-11T11:20:22.485+0200 [DEBUG] provider.terraform-provider-vsphere_v2.0.2_x5: plugin address: address=/tmp/plugin676709959 network=unix timestamp=2021-10-11T11:20:22.484+0200
2021-10-11T11:20:22.485+0200 [DEBUG] provider: using plugin: version=5
2021-10-11T11:20:22.563+0200 [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/hashicorp/vsphere\"]" changed the config value, but that value is unused
2021-10-11T11:20:22.564+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:22 [DEBUG] Cached SOAP client session data not valid or persistence not enabled, new session necessary: timestamp=2021-10-11T11:20:22.564+0200
2021-10-11T11:20:22.564+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:22 [DEBUG] Creating new SOAP API session on endpoint ntvmcenter1.pc.itc.it: timestamp=2021-10-11T11:20:22.564+0200
2021-10-11T11:20:22.621+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:22 [DEBUG] SOAP API session creation successful: timestamp=2021-10-11T11:20:22.621+0200
2021-10-11T11:20:22.621+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:22 [DEBUG] VMWare vSphere Client configured for URL: ntvmcenter1.pc.itc.it: timestamp=2021-10-11T11:20:22.621+0200
2021-10-11T11:20:22.621+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:22 [DEBUG] Setting up REST client: timestamp=2021-10-11T11:20:22.621+0200
2021-10-11T11:20:22.952+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:22 [DEBUG] CIS REST client configuration successful: timestamp=2021-10-11T11:20:22.952+0200
2021-10-11T11:20:22.971+0200 [DEBUG] ReferenceTransformer: "data.vsphere_folder.folder-service" references: []
2021-10-11T11:20:22.972+0200 [DEBUG] ReferenceTransformer: "data.vsphere_datacenter.dc" references: []
2021-10-11T11:20:23.004+0200 [DEBUG] ReferenceTransformer: "data.vsphere_resource_pool.pool" references: []
2021-10-11T11:20:23.006+0200 [DEBUG] ReferenceTransformer: "data.vsphere_network.net" references: []
2021-10-11T11:20:23.007+0200 [DEBUG] ReferenceTransformer: "data.vsphere_virtual_machine.template" references: []
2021-10-11T11:20:23.007+0200 [DEBUG] ReferenceTransformer: "data.vsphere_datastore_cluster.unity" references: []
2021-10-11T11:20:23.008+0200 [DEBUG] ReferenceTransformer: "data.vsphere_datastore_cluster.datastore" references: []
2021-10-11T11:20:23.012+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] Looking for VM or template by name/path "ubuntu20": timestamp=2021-10-11T11:20:23.012+0200
2021-10-11T11:20:23.059+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] Looking for datastore cluster "unity-services" in datacenter "/fbkdc": timestamp=2021-10-11T11:20:23.059+0200
2021-10-11T11:20:23.059+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] Attempting to locate datastore cluster "unity-services" in datacenter "/fbkdc": timestamp=2021-10-11T11:20:23.059+0200
2021-10-11T11:20:23.083+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] Looking for datastore cluster "unity-services" in datacenter "/fbkdc": timestamp=2021-10-11T11:20:23.083+0200
2021-10-11T11:20:23.083+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] Attempting to locate datastore cluster "unity-services" in datacenter "/fbkdc": timestamp=2021-10-11T11:20:23.083+0200
2021-10-11T11:20:23.086+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] Datacenter for VM/template search: /fbkdc: timestamp=2021-10-11T11:20:23.086+0200
2021-10-11T11:20:23.293+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] Fetching properties for VM "/fbkdc/vm/FBK/SYS/Standard/template/ubuntu20": timestamp=2021-10-11T11:20:23.293+0200
2021-10-11T11:20:23.303+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [WARN] Unable to read LatencySensitivity, skipping: timestamp=2021-10-11T11:20:23.303+0200
2021-10-11T11:20:23.303+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] ReadSCSIBusType: SCSI controller layout for first 1 controllers: pvscsi-1000: timestamp=2021-10-11T11:20:23.303+0200
2021-10-11T11:20:23.303+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] ReadSCSIBusSharing: SCSI controller layout for first 1 controllers: pvscsi-1000: timestamp=2021-10-11T11:20:23.303+0200
2021-10-11T11:20:23.303+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] ReadDiskAttrsForDataSource: Fetching select attributes for disks: timestamp=2021-10-11T11:20:23.303+0200
2021-10-11T11:20:23.303+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] DiskRefreshOperation: Found controller "controller-1000" for device "disk-1000-0": timestamp=2021-10-11T11:20:23.303+0200
2021-10-11T11:20:23.303+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] ReadDiskAttrsForDataSource: Disk devices located: disk-1000-0: timestamp=2021-10-11T11:20:23.303+0200
2021-10-11T11:20:23.303+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] ReadDiskAttrsForDataSource: Disk devices order after sort: disk-1000-0: timestamp=2021-10-11T11:20:23.303+0200
2021-10-11T11:20:23.303+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] ReadDiskAttrsForDataSource: Attributes returned: [map[eagerly_scrub:false label:Hard disk 1 size:30 thin_provisioned:false unit_number:0xc000871110]]: timestamp=2021-10-11T11:20:23.303+0200
2021-10-11T11:20:23.303+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] ReadNetworkInterfaceTypes: Fetching interface types: timestamp=2021-10-11T11:20:23.303+0200
2021-10-11T11:20:23.303+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] ReadNetworkInterfaceTypes: Network devices located: ethernet-0: timestamp=2021-10-11T11:20:23.303+0200
2021-10-11T11:20:23.303+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] ReadNetworkInterfaceTypes: Network devices order after sort: ethernet-0: timestamp=2021-10-11T11:20:23.303+0200
2021-10-11T11:20:23.303+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] ReadNetworkInterfaceTypes: Network types returned: [vmxnet3]: timestamp=2021-10-11T11:20:23.303+0200
2021-10-11T11:20:23.303+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] ReadNetworkInterfaces: Fetching network interfaces: timestamp=2021-10-11T11:20:23.303+0200
2021-10-11T11:20:23.303+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] ReadNetworkInterface: Network devices located: ethernet-0: timestamp=2021-10-11T11:20:23.303+0200
2021-10-11T11:20:23.303+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] ReadNetworkInterfaceTypes: Network devices order after sort: ethernet-0: timestamp=2021-10-11T11:20:23.303+0200
2021-10-11T11:20:23.303+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] ReadNetworkInterfaces: Network interfaces returned: [map[adapter_type:vmxnet3 bandwidth_limit:0xc000871e10 bandwidth_reservation:0xc000871d98 bandwidth_share_count:50 bandwidth_share_level:normal mac_address:00:50:56:80:dc:51 network_id:dvportgroup-305]]: timestamp=2021-10-11T11:20:23.303+0200
2021-10-11T11:20:23.303+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] vsphere_virtual_machine (ID = 42008eba-6eea-2ef4-4071-2b265afb4e90): Checking guest networking state: timestamp=2021-10-11T11:20:23.303+0200
2021-10-11T11:20:23.303+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] vsphere_virtual_machine (ID = 42008eba-6eea-2ef4-4071-2b265afb4e90): Primary IP address: 10.0.10.250: timestamp=2021-10-11T11:20:23.303+0200
2021-10-11T11:20:23.303+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [ERROR] setting state: Invalid address to set: []string{"default_ip_address"}: timestamp=2021-10-11T11:20:23.303+0200
2021-10-11T11:20:23.303+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] vsphere_virtual_machine (ID = 42008eba-6eea-2ef4-4071-2b265afb4e90): All IP addresses: 10.0.10.250,fe80::250:56ff:fe80:dc51: timestamp=2021-10-11T11:20:23.303+0200
2021-10-11T11:20:23.304+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] VM search for "ubuntu20" completed successfully (UUID "42008eba-6eea-2ef4-4071-2b265afb4e90"): timestamp=2021-10-11T11:20:23.303+0200
2021-10-11T11:20:23.305+0200 [WARN] Provider "provider[\"registry.terraform.io/hashicorp/vsphere\"]" produced an unexpected new value for data.vsphere_virtual_machine.template.
- .latency_sensitivity: was null, but now cty.StringVal("normal")
- .vvtd_enabled: was null, but now cty.False
- .cpu_limit: was null, but now cty.NumberIntVal(-1)
- .enable_disk_uuid: was null, but now cty.False
- .scsi_controller_scan_count: was null, but now cty.NumberIntVal(1)
- .run_tools_scripts_before_guest_reboot: was null, but now cty.False
- .run_tools_scripts_before_guest_standby: was null, but now cty.True
- .extra_config: was null, but now cty.MapValEmpty(cty.String)
- .ide_controller_scan_count: was null, but now cty.NumberIntVal(2)
- .run_tools_scripts_before_guest_shutdown: was null, but now cty.True
- .alternate_guest_name: was null, but now cty.StringVal("")
- .hv_mode: was null, but now cty.StringVal("hvAuto")
- .memory_share_level: was null, but now cty.StringVal("normal")
- .num_cpus: was null, but now cty.NumberIntVal(2)
- .annotation: was null, but now cty.StringVal("")
- .enable_logging: was null, but now cty.True
- .run_tools_scripts_after_power_on: was null, but now cty.True
- .firmware: was null, but now cty.StringVal("bios")
- .cpu_hot_remove_enabled: was null, but now cty.False
- .memory_limit: was null, but now cty.NumberIntVal(-1)
- .efi_secure_boot_enabled: was null, but now cty.False
- .memory_hot_add_enabled: was null, but now cty.False
- .run_tools_scripts_after_resume: was null, but now cty.True
- .memory: was null, but now cty.NumberIntVal(8192)
- .swap_placement_policy: was null, but now cty.StringVal("inherit")
- .boot_delay: was null, but now cty.NumberIntVal(0)
- .cpu_reservation: was null, but now cty.NumberIntVal(0)
- .sync_time_with_host: was null, but now cty.False
- .boot_retry_enabled: was null, but now cty.False
- .memory_reservation: was null, but now cty.NumberIntVal(0)
- .sata_controller_scan_count: was null, but now cty.NumberIntVal(0)
- .cpu_hot_add_enabled: was null, but now cty.False
- .cpu_share_level: was null, but now cty.StringVal("normal")
- .vbs_enabled: was null, but now cty.False
- .num_cores_per_socket: was null, but now cty.NumberIntVal(1)
- .boot_retry_delay: was null, but now cty.NumberIntVal(10000)
- .cpu_performance_counters_enabled: was null, but now cty.False
- .ept_rvi_mode: was null, but now cty.StringVal("automatic")
- .nested_hv_enabled: was null, but now cty.False
2021-10-11T11:20:23.306+0200 [DEBUG] Resource instance state not found for node "vsphere_virtual_machine.vm", instance vsphere_virtual_machine.vm
2021-10-11T11:20:23.307+0200 [DEBUG] ReferenceTransformer: "vsphere_virtual_machine.vm" references: []
2021-10-11T11:20:23.307+0200 [DEBUG] refresh: vsphere_virtual_machine.vm: no state, so not refreshing
2021-10-11T11:20:23.320+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] vsphere_virtual_machine (ID = <new resource>): Performing diff customization and validation: timestamp=2021-10-11T11:20:23.319+0200
2021-10-11T11:20:23.320+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] NetworkInterfaceDiffOperation: Beginning diff validation: timestamp=2021-10-11T11:20:23.320+0200
2021-10-11T11:20:23.320+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] network_interface.0 (key 0 at <new device>): Beginning diff validation: timestamp=2021-10-11T11:20:23.320+0200
2021-10-11T11:20:23.320+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] network_interface.0 (key 0 at <new device>): Diff validation complete: timestamp=2021-10-11T11:20:23.320+0200
2021-10-11T11:20:23.320+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] NetworkInterfaceDiffOperation: Diff validation complete: timestamp=2021-10-11T11:20:23.320+0200
2021-10-11T11:20:23.320+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] vsphere_virtual_machine (ID = <new resource>): resource_pool_id modified without change to host_system_id, marking as computed: timestamp=2021-10-11T11:20:23.320+0200
2021-10-11T11:20:23.320+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] DatastoreClusterDiffOperation: datastore_id or datastore_cluster_id value depends on a computed value from another resource. Skipping validation.: timestamp=2021-10-11T11:20:23.320+0200
2021-10-11T11:20:23.320+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] DiskDiffOperation: Beginning disk diff customization: timestamp=2021-10-11T11:20:23.320+0200
2021-10-11T11:20:23.320+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] DiskDiffOperation: Beginning collective diff validation (indexes aligned to new config): timestamp=2021-10-11T11:20:23.320+0200
2021-10-11T11:20:23.320+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] disk.0 (key 0 at <new device>) (<unknown>): Beginning diff validation: timestamp=2021-10-11T11:20:23.320+0200
2021-10-11T11:20:23.320+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] disk.0 (key 0 at <new device>) (<unknown>): Diff validation complete: timestamp=2021-10-11T11:20:23.320+0200
2021-10-11T11:20:23.320+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] DiskDiffOperation: Beginning diff validation and normalization (indexes aligned to old state): timestamp=2021-10-11T11:20:23.320+0200
2021-10-11T11:20:23.320+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] DiskDiffOperation: New resource set post-normalization: (key 0 at <new device>): timestamp=2021-10-11T11:20:23.320+0200
2021-10-11T11:20:23.320+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] DiskDiffOperation: Disk diff customization complete, sending new diff: timestamp=2021-10-11T11:20:23.320+0200
2021-10-11T11:20:23.320+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] Locating vApp container with ID resgroup-334415: timestamp=2021-10-11T11:20:23.320+0200
2021-10-11T11:20:23.326+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] contentlibrary.IsContentLibrary: Checking if 42008eba-6eea-2ef4-4071-2b265afb4e90 is a content library source: timestamp=2021-10-11T11:20:23.326+0200
2021-10-11T11:20:23.326+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] contentlibrary.ItemFromID: Retrieving library item 42008eba-6eea-2ef4-4071-2b265afb4e90: timestamp=2021-10-11T11:20:23.326+0200
2021-10-11T11:20:23.758+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] ValidateVirtualMachineClone: Validating fitness of source VM/template 42008eba-6eea-2ef4-4071-2b265afb4e90: timestamp=2021-10-11T11:20:23.758+0200
2021-10-11T11:20:23.758+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] Locating virtual machine with UUID "42008eba-6eea-2ef4-4071-2b265afb4e90": timestamp=2021-10-11T11:20:23.758+0200
2021-10-11T11:20:23.758+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] Using SearchIndex to look up UUID "42008eba-6eea-2ef4-4071-2b265afb4e90": timestamp=2021-10-11T11:20:23.758+0200
2021-10-11T11:20:23.768+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] VM "/fbkdc/vm/FBK/SYS/Standard/template/ubuntu20" found for UUID "42008eba-6eea-2ef4-4071-2b265afb4e90": timestamp=2021-10-11T11:20:23.768+0200
2021-10-11T11:20:23.768+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] Fetching properties for VM "/fbkdc/vm/FBK/SYS/Standard/template/ubuntu20": timestamp=2021-10-11T11:20:23.768+0200
2021-10-11T11:20:23.776+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] DiskCloneValidateOperation: Checking existing virtual disk configuration: timestamp=2021-10-11T11:20:23.776+0200
2021-10-11T11:20:23.776+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] DiskRefreshOperation: Found controller "controller-1000" for device "disk-1000-0": timestamp=2021-10-11T11:20:23.776+0200
2021-10-11T11:20:23.776+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] DiskCloneValidateOperation: Disk devices order before sort: disk-1000-0: timestamp=2021-10-11T11:20:23.776+0200
2021-10-11T11:20:23.776+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] DiskCloneValidateOperation: Disk devices order after sort: disk-1000-0: timestamp=2021-10-11T11:20:23.776+0200
2021-10-11T11:20:23.776+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] DiskCloneValidateOperation: Current resource set: (key 0 at <new device>): timestamp=2021-10-11T11:20:23.776+0200
2021-10-11T11:20:23.776+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] DiskCloneValidateOperation: Resource set order after sort: (key 0 at <new device>): timestamp=2021-10-11T11:20:23.776+0200
2021-10-11T11:20:23.776+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] DiskCloneValidateOperation: Running test read operations on all disks: timestamp=2021-10-11T11:20:23.776+0200
2021-10-11T11:20:23.776+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] disk.0 (key 2000 at scsi:0:0) (<unknown>): Reading state: timestamp=2021-10-11T11:20:23.776+0200
2021-10-11T11:20:23.776+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] FindVirtualDevice: Looking for device with key 2000: timestamp=2021-10-11T11:20:23.776+0200
2021-10-11T11:20:23.776+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] FindVirtualDevice: Device found: disk-1000-0: timestamp=2021-10-11T11:20:23.776+0200
2021-10-11T11:20:23.776+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] disk.0 (key 2000 at scsi:0:0) (ubuntu20/ubuntu20.vmdk): Read finished (key and device address may have changed): timestamp=2021-10-11T11:20:23.776+0200
2021-10-11T11:20:23.776+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] DiskCloneValidateOperation: All disks in source validated successfully: timestamp=2021-10-11T11:20:23.776+0200
2021-10-11T11:20:23.776+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] Locating resource pool with ID resgroup-334415: timestamp=2021-10-11T11:20:23.776+0200
2021-10-11T11:20:23.785+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] Resource pool found: resgroup-334415: timestamp=2021-10-11T11:20:23.785+0200
2021-10-11T11:20:23.785+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] Looking for OS family for guest ID "ubuntu64Guest": timestamp=2021-10-11T11:20:23.785+0200
2021-10-11T11:20:23.828+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] OSFamily: family for "ubuntu64Guest" is "linuxGuest": timestamp=2021-10-11T11:20:23.828+0200
2021-10-11T11:20:23.828+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] ValidateVirtualMachineClone: Source VM/template 42008eba-6eea-2ef4-4071-2b265afb4e90 is a suitable source for cloning: timestamp=2021-10-11T11:20:23.828+0200
2021-10-11T11:20:23.829+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] VAppDiffOperation: Verifying configuration meets requirements for vApp transport: timestamp=2021-10-11T11:20:23.829+0200
2021-10-11T11:20:23.829+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] VAppDiffOperation: ISO transport is not supported on this virtual machine or multiple transport options exist: timestamp=2021-10-11T11:20:23.829+0200
2021-10-11T11:20:23.829+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:20:23 [DEBUG] vsphere_virtual_machine (ID = <new resource>): Diff customization and validation complete: timestamp=2021-10-11T11:20:23.829+0200
2021-10-11T11:20:23.834+0200 [WARN] Provider "registry.terraform.io/hashicorp/vsphere" produced an invalid plan for vsphere_virtual_machine.vm, but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .sata_controller_count: planned value cty.NumberIntVal(0) for a non-computed attribute
- .cpu_share_level: planned value cty.StringVal("normal") for a non-computed attribute
- .scsi_controller_count: planned value cty.NumberIntVal(1) for a non-computed attribute
- .firmware: planned value cty.StringVal("bios") for a non-computed attribute
- .cpu_limit: planned value cty.NumberIntVal(-1) for a non-computed attribute
- .wait_for_guest_ip_timeout: planned value cty.NumberIntVal(0) for a non-computed attribute
- .memory_share_level: planned value cty.StringVal("normal") for a non-computed attribute
- .folder: planned value cty.StringVal("fbkdc/vm/terraform/services") does not match config value cty.StringVal("/fbkdc/vm/terraform/services")
- .ide_controller_count: planned value cty.NumberIntVal(2) for a non-computed attribute
- .poweron_timeout: planned value cty.NumberIntVal(300) for a non-computed attribute
- .run_tools_scripts_before_guest_shutdown: planned value cty.True for a non-computed attribute
- .hv_mode: planned value cty.StringVal("hvAuto") for a non-computed attribute
- .wait_for_guest_net_timeout: planned value cty.NumberIntVal(5) for a non-computed attribute
- .latency_sensitivity: planned value cty.StringVal("normal") for a non-computed attribute
- .boot_retry_delay: planned value cty.NumberIntVal(10000) for a non-computed attribute
- .wait_for_guest_net_routable: planned value cty.True for a non-computed attribute
- .num_cores_per_socket: planned value cty.NumberIntVal(1) for a non-computed attribute
- .swap_placement_policy: planned value cty.StringVal("inherit") for a non-computed attribute
- .ept_rvi_mode: planned value cty.StringVal("automatic") for a non-computed attribute
- .memory_limit: planned value cty.NumberIntVal(-1) for a non-computed attribute
- .force_power_off: planned value cty.True for a non-computed attribute
- .scsi_type: planned value cty.StringVal("pvscsi") for a non-computed attribute
- .run_tools_scripts_after_power_on: planned value cty.True for a non-computed attribute
- .run_tools_scripts_before_guest_standby: planned value cty.True for a non-computed attribute
- .scsi_bus_sharing: planned value cty.StringVal("noSharing") for a non-computed attribute
- .shutdown_wait_timeout: planned value cty.NumberIntVal(3) for a non-computed attribute
- .migrate_wait_timeout: planned value cty.NumberIntVal(30) for a non-computed attribute
- .run_tools_scripts_after_resume: planned value cty.True for a non-computed attribute
- .clone[0].timeout: planned value cty.NumberIntVal(30) for a non-computed attribute
- .clone[0].customize[0].timeout: planned value cty.NumberIntVal(10) for a non-computed attribute
- .clone[0].customize[0].linux_options[0].hw_clock_utc: planned value cty.True for a non-computed attribute
- .disk[0].controller_type: planned value cty.StringVal("scsi") for a non-computed attribute
- .disk[0].io_limit: planned value cty.NumberIntVal(-1) for a non-computed attribute
- .disk[0].io_reservation: planned value cty.NumberIntVal(0) for a non-computed attribute
- .disk[0].unit_number: planned value cty.NumberIntVal(0) for a non-computed attribute
- .disk[0].io_share_count: planned value cty.NumberIntVal(0) for a non-computed attribute
- .disk[0].io_share_level: planned value cty.StringVal("normal") for a non-computed attribute
- .disk[0].disk_sharing: planned value cty.StringVal("sharingNone") for a non-computed attribute
- .disk[0].keep_on_remove: planned value cty.False for a non-computed attribute
- .disk[0].write_through: planned value cty.False for a non-computed attribute
- .disk[0].attach: planned value cty.False for a non-computed attribute
- .disk[0].disk_mode: planned value cty.StringVal("persistent") for a non-computed attribute
- .disk[0].eagerly_scrub: planned value cty.False for a non-computed attribute
- .network_interface[0].bandwidth_limit: planned value cty.NumberIntVal(-1) for a non-computed attribute
- .network_interface[0].bandwidth_share_level: planned value cty.StringVal("normal") for a non-computed attribute
- .network_interface[0].adapter_type: planned value cty.StringVal("vmxnet3") for a non-computed attribute
- .network_interface[0].bandwidth_reservation: planned value cty.NumberIntVal(0) for a non-computed attribute
2021-10-11T11:20:23.837+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-10-11T11:20:23.838+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5 pid=123531
2021-10-11T11:20:23.838+0200 [DEBUG] provider: plugin exited
2021-10-11T11:20:23.838+0200 [INFO] backend/local: plan operation completed
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# vsphere_virtual_machine.vm will be created
+ resource "vsphere_virtual_machine" "vm" {
+ boot_retry_delay = 10000
+ change_version = (known after apply)
+ cpu_limit = -1
+ cpu_share_count = (known after apply)
+ cpu_share_level = "normal"
+ datastore_cluster_id = "group-p181392"
+ datastore_id = (known after apply)
+ default_ip_address = (known after apply)
+ ept_rvi_mode = "automatic"
+ firmware = "bios"
+ folder = "fbkdc/vm/terraform/services"
+ force_power_off = true
+ guest_id = "ubuntu64Guest"
+ guest_ip_addresses = (known after apply)
+ hardware_version = (known after apply)
+ host_system_id = (known after apply)
+ hv_mode = "hvAuto"
+ id = (known after apply)
+ ide_controller_count = 2
+ imported = (known after apply)
+ latency_sensitivity = "normal"
+ memory = 1024
+ memory_limit = -1
+ memory_share_count = (known after apply)
+ memory_share_level = "normal"
+ migrate_wait_timeout = 30
+ moid = (known after apply)
+ name = "mydyndns"
+ num_cores_per_socket = 1
+ num_cpus = 1
+ poweron_timeout = 300
+ reboot_required = (known after apply)
+ resource_pool_id = "resgroup-334415"
+ run_tools_scripts_after_power_on = true
+ run_tools_scripts_after_resume = true
+ run_tools_scripts_before_guest_shutdown = true
+ run_tools_scripts_before_guest_standby = true
+ sata_controller_count = 0
+ scsi_bus_sharing = "noSharing"
+ scsi_controller_count = 1
+ scsi_type = "pvscsi"
+ shutdown_wait_timeout = 3
+ storage_policy_id = (known after apply)
+ swap_placement_policy = "inherit"
+ uuid = (known after apply)
+ vapp_transport = (known after apply)
+ vmware_tools_status = (known after apply)
+ vmx_path = (known after apply)
+ wait_for_guest_ip_timeout = 0
+ wait_for_guest_net_routable = true
+ wait_for_guest_net_timeout = 5
+ clone {
+ template_uuid = "42008eba-6eea-2ef4-4071-2b265afb4e90"
+ timeout = 30
+ customize {
+ dns_server_list = [
+ "217.77.80.4",
+ "217.77.80.13",
]
+ ipv4_gateway = "217.77.83.254"
+ timeout = 10
+ linux_options {
+ domain = "fbk.eu"
+ host_name = "mydyndns"
+ hw_clock_utc = true
}
+ network_interface {
+ ipv4_address = "217.77.83.6"
+ ipv4_netmask = 24
}
}
}
+ disk {
+ attach = false
+ controller_type = "scsi"
+ datastore_id = "<computed>"
+ device_address = (known after apply)
+ disk_mode = "persistent"
+ disk_sharing = "sharingNone"
+ eagerly_scrub = false
+ io_limit = -1
+ io_reservation = 0
+ io_share_count = 0
+ io_share_level = "normal"
+ keep_on_remove = false
+ key = 0
+ label = "disk0"
+ path = (known after apply)
+ size = 30
+ storage_policy_id = (known after apply)
+ thin_provisioned = true
+ unit_number = 0
+ uuid = (known after apply)
+ write_through = false
}
+ network_interface {
+ adapter_type = "vmxnet3"
+ bandwidth_limit = -1
+ bandwidth_reservation = 0
+ bandwidth_share_count = (known after apply)
+ bandwidth_share_level = "normal"
+ device_address = (known after apply)
+ key = (known after apply)
+ mac_address = (known after apply)
+ network_id = "dvportgroup-306"
}
}
Plan: 1 to add, 0 to change, 0 to destroy.
─────────────────────────────────────────────────────────────────────────────
Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.
Cleaning up project directory and file based variables
00:00
Job succeeded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment