Error: Invalid multi-line string

Hi all.

I am trying to deploy, for testing purposes, VAULT on AWS and I am running terraform Terraform v0.13.2.

When I run terraform validate I get a lot of errors like

Error: Invalid multi-line string

on .terraform/modules/vault_aws/outputs.tf line 112, in output “zREADME”:
112: $ curl \
113: -H “X-Vault-Token: $VAULT_TOKEN” \

so not sure what that is the new syntax for that.

Any idea?

Cheers

The easiest way to define multi-line strings is using the “heredoc” style string literal:

value = <<EOT
multiple
line
string
EOT
1 Like

thanks.
well what I did was just revert terraform binary to 0.11 and it all worked out.

Cheers