Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Remplace Placeholder with shell command

$ cp state-machine.json test.json
$ sed -i "" 's/BUILD_ENV/dev/g' test.json && sed -i "" 's/AWS_ACCOUNT_ID/086302202120/g' test.json ## MAC OS
$ sed -i "s/BUILD_ENV/dev/g" test.json && sed -i "s/AWS_ACCOUNT_ID/086302202120/g" test.json 
Source by github.avaldigitallabs.com #
 
PREVIOUS NEXT
Tagged: #Remplace #Placeholder #shell #command
ADD COMMENT
Topic
Name
7+9 =