Skip to content

Allow augmenting resource errors with custom messages #37729

@drewmullen

Description

@drewmullen

Use Case

Looking for a way to augment the error message. To communicate extra information from the configuration.

Not suggesting this as a final proposal, but just an example, something as simple as the following may work:

lifecycle {
  failure_message = "some went wrong, you may need to request access to this resource type"
}

And that message could be added as a separate diagnostic attributed to the resource block in the configuration.

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