Skip to content
This repository has been archived by the owner on Oct 3, 2019. It is now read-only.

Incorrect handling of "heredocs" #21

Closed
apparentlymart opened this issue Mar 3, 2018 · 1 comment
Closed

Incorrect handling of "heredocs" #21

apparentlymart opened this issue Mar 3, 2018 · 1 comment
Labels

Comments

@apparentlymart
Copy link
Contributor

Error: Missing newline after attribute definition

  on .terraform/init-from-module/root/Azure-terraform-azurerm-computegroup-c1a7c62/main.tf line 89:
  84:     settings = <<SETTINGS
  85:     {
  86:         "commandToExecute": "${var.cmd_extension}"
  87:     }
  88:     SETTINGS
  89:   }

An attribute definition must end with a newline.

Looks like this issue arises because the closing SETTINGS marker consumes the newline that the attribute parser normally uses to mark the end of a newline.

@apparentlymart
Copy link
Contributor Author

This was fixed in 7d6ed4d.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant