You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure this is a good idea, as the original AWS's container def's accept a string that maps to a SSM Parameter Store param name. So you can supply a string, that's not an ARN, but is still valid.
If the Systems Manager Parameter Store parameter exists in the same Region as the task you are launching, then you can use either the full ARN or name of the parameter.
Have a question? Please checkout our Slack Community or visit our Slack Archive.
Describe the Feature
Add validation to
secrets
andmap_secrets
'svalueFrom
to ensure it's an arnExpected Behavior
Fail if any
valueFrom
does not use a valid arn formatUse Case
At the moment, this will error after an apply. An input validation would catch it earlier.
Describe Ideal Solution
Input var validation using a regex.
For example, this is a valid arn
Perhaps the regex from here hashicorp/terraform-provider-aws#8307
or even simpler
Alternatives Considered
Additional Context
The text was updated successfully, but these errors were encountered: