Fix bug for setting ec2 tags
Merge pull request #4473 from harrisongu/patch-1

Fix bug for setting ec2 tags