Skip to content

Commit d7e6136

Browse files
authored
Fix: Add Missing Double Quote In Create Volume (#5)
1 parent 5e5c8a2 commit d7e6136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/create-ebs-volume

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ function create_and_attach_volume() {
268268
local volume=""
269269
for i in $(eval echo "{0..$max_attempts}") ; do
270270

271-
local ebs_autoscale_tags='[{"Key":"source-instance","Value":"'$instance_id'"},{"Key":'$TAG'","Value":"'$timestamp'"}]'
271+
local ebs_autoscale_tags='[{"Key":"source-instance","Value":"'$instance_id'"},{"Key":"'$TAG'","Value":"'$timestamp'"}]'
272272
local tag_specifications='[{"ResourceType":"volume","Tags":'$(jq -sc 'add' <(echo "$ebs_autoscale_tags") <(echo "$instance_tags"))'}]'
273273

274274
# Note: Shellcheck says the $vars in this command should be double quoted to prevent globbing and word-splitting,

0 commit comments

Comments
 (0)