update of ec2-automate-backup test script and ensure user_tag functionality uses correct variable for date created.

This commit is contained in:
Colin Johnson
2013-02-17 23:31:59 +00:00
parent ff06380942
commit c644a35d3c
2 changed files with 5 additions and 1 deletions

View File

@@ -65,7 +65,7 @@ create_EBS_Snapshot_Tags()
#if $user_tags is true, then append Volume=$ebs_selected and Created=$current_date to the variable $snapshot_tags
if $user_tags
then
snapshot_tags="$snapshot_tags --tag Volume=${ebs_selected} --tag Created=$current_date"
snapshot_tags="$snapshot_tags --tag Volume=${ebs_selected} --tag Created=$date_current"
fi
#if $snapshot_tags is not zero length then set the tag on the snapshot using ec2-create-tags