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

Incorrect handling of "heredocs" #21

@apparentlymart

Description

@apparentlymart
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions