Skip to content

initializing terraform for vSphere UPI fails with latest terraform version #2260

@vavuthu

Description

@vavuthu

Initialize terraform for vSphere UPI fails with latest terraform version

Version

$ ./terraform version
Terraform v0.12.7
$

Platform:

vSphere UPI
-->

What happened?

$ ./terraform init .
Initializing modules...
- bootstrap in machine
- compute in machine
- control_plane in machine
- dns in route53
- folder in folder
- resource_pool in resource_pool
There are some problems with the configuration, described below.

The Terraform configuration must be valid before initialization so that
Terraform can determine which modules and providers need to be installed.

Error: Invalid argument name

  on machine/main.tf line 47, in resource "vsphere_virtual_machine" "vm":
  47:       "guestinfo.ignition.config.data"          = "${base64encode(data.ignition_config.ign.*.rendered[count.index])}"

Argument names must not be quoted.
$ 

What you expected to happen?

Initialization should happen without any errors

How to reproduce it (as minimally and precisely as possible)?

Always

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions