aws-cloudformation / aws-cloudformation/cloudformation-cli
Add current state identifiers to Read/Delete invocation
Open
- Dominant language
- Python
- Stars
- 336
- Forks
- 172
- Avg merge
- 3d 5m
- Merged PRs (30d)
- 3
Description
There are scenarios where the primary identifier is created by the resource provider itself. For those situations, you need to check another information from the current state (e.g. a name attribute) because usually the underlying AWS API does not know anything about the primary ID.
So I propose that the previous state property be filled with the current state by the upstream service, otherwise there is no real way to retrieve the state stored in CloudFormation during read.
You can find a little bit more context here: https://github.com/org-formation/aws-resource-providers/issues/26
Contributor guide
Assessment
This issue has not been assessed yet.