Uh oh!
There was an error while loading. Please reload this page.
Appspec.yml - support deployment specification params - #70
Conversation
coveralls
commented
Jun 21, 2016
obayesshelton
commented
Jul 19, 2017
will this feature be available soon as it's petty cool |
@ejhayes i have just tried this and it doesnt work. Is this supposed to be live yet? |
praymaker
commented
Dec 8, 2017
Any idea when this might be available? |
rohkat-aws
commented
Jun 22, 2018
@praymaker the PR right now is failing will have to fix test before i accept this @ejhayes |
… These same values are also allowed to be used in the hook scripts: https://blogs.aws.amazon.com/application-management/post/Tx1PX2XMPLYPULD/Using-CodeDeploy-Environment-Variables
wickstargazer
commented
Jun 28, 2018
Hi can we see this feature live soon? |
ejhayes
commented
Jun 28, 2018
@wickstargazer I was taking a look at this a couple days ago and was having trouble getting it to pass the tests. The appspec yaml file is getting parsed as a ERB, but the tests are failing because my update passing the deployment spec params to the parsing function. Want to take a look to see if you can get it to pass? |
3 years later, still not merged :( In gitlab-ci.yml they use this syntax: |
nelg
commented
Feb 23, 2021
+1 |
dayyehm
commented
Sep 9, 2021
any updates on this |
roushanDevops
commented
Nov 29, 2022
any updates ? |
robsonexecutiva
commented
Dec 30, 2022
Any update? |
1 similar comment
aurora-cain
commented
Feb 8, 2023
Any update? |
hashbangperl
commented
Jun 23, 2023
Ping.. any developers looking at this? Cheers |
It looks like it is possible to use deployment specification values in hook scripts
https://blogs.aws.amazon.com/application-management/post/Tx1PX2XMPLYPULD/Using-CodeDeploy-Environment-Variables
However, I noticed that it wasn't possible to use these values in the
appspec.ymlfile. This PR adds support for that. To use the deployment specification values in theappspec.ymlyou can simply do this:The following values are supported:
application_namedeployment_iddeployment_group_namedeployment_group_dirdeployment_root_dirlast_successful_deployment_dir