From ab760dbf523d1a65b8e8c6f5bf4e678b80438a91 Mon Sep 17 00:00:00 2001 From: "W. Lee Pang, PhD" Date: Fri, 11 Mar 2022 15:34:50 -0800 Subject: [PATCH] fix typo resolve #45 --- bin/create-ebs-volume | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/create-ebs-volume b/bin/create-ebs-volume index aee319c..b165341 100755 --- a/bin/create-ebs-volume +++ b/bin/create-ebs-volume @@ -261,7 +261,7 @@ function create_and_attach_volume() { # TagSpecifications[0].Tags[0] error to be thrown since the payload is determined to be a string, not dictionary. if [ ! -z $instance_tags ]; then local tag_specification="ResourceType=volume,Tags=[$instance_tags,{Key=source-instance,Value=$instance_id},{Key=amazon-ebs-autoscale-creation-time,Value=$timestamp}]" - else: + else local tag_specification="ResourceType=volume,Tags=[{Key=source-instance,Value=$instance_id},{Key=amazon-ebs-autoscale-creation-time,Value=$timestamp}]" fi