aws-batch-alpha: Parameter Store secrets not supported in new version #26339
Labels
@aws-cdk/aws-batch
Related to AWS Batch
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p1
Describe the bug
The older version of aws-batch-alpha allowed for secrets to be defined using either Secrets Manager or Parameter Store.
In the old
JobDefinition
construct,secrets
was defined as:Which works with either Secrets Manager or Parameter Store.
But the new
EcsContainerDefinitionProps
definessecrets
asWhich is just Secrets Manager.
Expected Behavior
I should be able to create a job definition using secrets from either Secrets Manager or Parameter Store.
Current Behavior
Job definitions cannot use secrets from parameter store.
Reproduction Steps
Snippet of old, working code:
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.87.0 (build 9fca790)
Framework Version
No response
Node.js Version
v18.16.1
OS
Pop!_OS 22.04 LTS
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: