Requirement:
I have DB_USERNAME and DB_PASSWORD variables configured in manifest.yml file. Which refer to the Parameter Store keys.
Can I add 3rd variable DB_URL based on the 2 variables above? something like this:
jdbc:mysql://mydb.example.com/mydb?user=${DB_USERNAME}&password=${DB_PASSWORD}
I have tried ${DB_PASSWORD}, got DB_PASSWORD not defined error
and I have tried ${/path/to/my/parameter/store/key}, it is not substituted
I have checked document: https://aws.github.io/copilot-cli/docs/developing/manifest-env-var/
Did not find any info, neither
There's similar question mentioned here: #2483 (comment)
But the problem was not solved, also it is closed
Thanks in advance for any feedback!
Requirement:
I have DB_USERNAME and DB_PASSWORD variables configured in manifest.yml file. Which refer to the Parameter Store keys.
Can I add 3rd variable DB_URL based on the 2 variables above? something like this:
jdbc:mysql://mydb.example.com/mydb?user=${DB_USERNAME}&password=${DB_PASSWORD}I have tried
${DB_PASSWORD}, got DB_PASSWORD not defined errorand I have tried
${/path/to/my/parameter/store/key}, it is not substitutedI have checked document: https://aws.github.io/copilot-cli/docs/developing/manifest-env-var/
Did not find any info, neither
There's similar question mentioned here: #2483 (comment)
But the problem was not solved, also it is closed
Thanks in advance for any feedback!