daily pastebin goal
67%
SHARE
TWEET

Untitled

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