Open
Description
Describe the bug
There's no option in the current Service
L2 construct for referencing environment variables using SecureString
parameters in Systems Manager.
Regression Issue
- Select this option if this issue appears to be a regression.
Last Known Working CDK Version
No response
Expected Behavior
I expected to be able to reference environment variables from SM Parameter Store like from AWS Console.
Current Behavior
You only have the following two options available within the Service
construct props:
environmentVariables
➜ equivalent toPlain text
in AWS ConsoleenvironmentSecrets
➜ equivalent toSecrets Manager
in AWS Console
Reproduction Steps
See above.
Possible Solution
Introduce a new environmentParameters
option following the same principle as the other two props.
Additional Information/Context
No response
CDK CLI Version
2.174.0
Framework Version
No response
Node.js Version
22.12.0
OS
Ubuntu 24.04.1
Language
TypeScript
Language Version
No response
Other information
No response