Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #34 from gilfreund/tag_colon
Browse files Browse the repository at this point in the history
Suggested for issue #33
  • Loading branch information
wleepang authored Oct 29, 2021
2 parents e387acb + 536c143 commit 0a8af79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/create-ebs-volume
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function create_and_attach_volume() {
instance_tags=$(
aws ec2 describe-tags \
--region $region \
--filters "Name=resource-id,Values=$instance_id" | jq -r .Tags | jq -c 'map({Key, Value})' | tr -d '[]"' | tr : =
--filters "Name=resource-id,Values=$instance_id" | jq -r .Tags | jq -c 'map({Key, Value})' | tr -d '[]"' | sed 's/{Key:/{Key=/g ; s/,Value:/,Value=/g ; s/{Key=aws.*}//g ; s/,,/,/g ; s/,$//g ; s/^,//g'
)

local max_attempts=10
Expand Down

0 comments on commit 0a8af79

Please sign in to comment.