aws-cloudformation / aws-cloudformation/cloudformation-cli-typescript-plugin

Improve error message for immutable desired state

Open
#37 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
46
Forks
18
PR merge metrics
No merged PRs in 30d

Description

If you try to change a property of the desired state (which is immutable), you will get the following JavaScript default message:
> Cannot assign to read only property 'arn' of object '#'

We should tell the developer to instantiate a new Resource Model, instead.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.