SSM: StringParameter.ValueFromLookup returns old value #28956
Labels
@aws-cdk/aws-ssm
Related to AWS Systems Manager
bug
This issue is a bug.
closed-for-staleness
This issue was automatically closed because it hadn't received any attention in a while.
effort/medium
Medium work item – several days of effort
p2
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
The function StringParameter.ValueFromLookup doesn't return the newest value of the of the SSM Parameter.
Expected Behavior
That the StringParameter.ValueFromLookup function returns the most recent value of the SSM Parameter.
Current Behavior
StringParameter.ValueFromLookup returns an older value even though you even destroy the Parameter and recreate it. I even tried deleting the cdk.out folder but the original value of the Parameter is returned.
Reproduction Steps
Create a StringParameter in a separate stack and project. Read the value in a different Project. Go back to the original project and destroy the stack and recreate. Return to the second project and the value with still be the original value.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.124.0 (build 4b6724c)
Framework Version
No response
Node.js Version
v20.10.0
OS
Wiindows 11
Language
.NET
Language Version
8.0.101
Other information
No response
The text was updated successfully, but these errors were encountered: