ResourceError
Hierarchy
- NodeError
- ResourceError
Index
Constructors
Properties
Constructors
constructor
Parameters
message: string
The error message.
resource: typeof AResource | UnknownResource
The resource the error is about.
Returns ResourceError
Properties
readonlyinheritednode
The context of the node.
Thrown when a resource is used in a way its own rules forbid, e.g. an invalid resource ID.
Errors/Node
When a resource is given properties, parents or changes its own rules refuse, such as updating an immutable property.
When something that is not a resource is added as one.
When a resource's class names a Terraform type in
destroyLosesDatathat the resource renders no block of.