aws-cloudformation / cloudformation-coverage-roadmap

The AWS CloudFormation Public Coverage Roadmap
https://aws.amazon.com/cloudformation/
Creative Commons Attribution Share Alike 4.0 International
1.11k stars 56 forks source link

Provide more details on "Could not find a value associated with JSONKey in SecretString" related failures #1822

Open miguel-aws opened 1 year ago

miguel-aws commented 1 year ago

Name of the resource

Other

Resource name

No response

Description

If you have a stack that uses secretsmanager dynamic references, you can get the following error message Could not find a value associated with JSONKey in SecretString while updating the stack.

CloudFormation does not clarify which SecretString(s) are causing the issue. This becomes difficult to troubleshoot if you have hundreds of inline dynamic references in one stack.

Ideally, CloudFormation should at least tell us which secret is causing the failure.

Other Details

No response