Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unfortunately for tasks that use the Fargate launch type it is only supported to inject the full contents of a secret as an environment variable. Specifying a specific JSON key or version is not supported at this time. This limitation is being discussed on the link aws/containers-roadmap#385 Due the limitation on Fargate Launch Type, In regards of using ImportValue function on Cloudformation, you can import an value for example: ValueFrom: !ImportValue "Secretexport" *On my case, Secretexport is the Secret ARN And then you will need to parse the value, for example on the entrypoint: - "export MyPWD=$(echo ${passwordfromsm} | jq -r '.password')"
- Loading branch information