Skip to content

Commit

Permalink
Merge pull request #24 from deki/config-url-replacement
Browse files Browse the repository at this point in the history
replace target URL in config so that app can be used rightaway
  • Loading branch information
deki authored Aug 30, 2021
2 parents 24608af + a77abca commit 42f1f29
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion MonoToMicroAssets/MonoToMicroCF.template
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,10 @@
"gradle clean build\n"
]]}
},
"4-populate-buckets" : { "command" :
"4-modify-configuration" : { "command" :
"sed -i \"s/:\\/\\/.*\\\"/:\\/\\/$(curl -s http://169.254.169.254/latest/meta-data/public-hostname)\\\"/g\" /home/ec2-user/MonoToMicro/MonoToMicroUI/config.json"
},
"5-populate-buckets" : { "command" :
{ "Fn::Join" : [ "",[
"AWS_DEFAULT_REGION=", {
"Ref": "AWS::Region"
Expand Down

0 comments on commit 42f1f29

Please sign in to comment.