a guest Feb 13th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- # Generating ecs-params.yml
- echo "Generating ecs-params.yml"
- subnetId="$(prop 'net.subnet.id')"
- sgId="$(prop 'net.sg.id')"
- sed "s/NET_SUBNET_ID/$subnetId/g" ./ecs-params.template.yml > ./ecs-params.yml
- sed -i "s/NET_SG_ID/$sgId/g" ./ecs-params.yml
RAW Paste Data