realestate-com-au / stackup

a simple CLI and Ruby API for AWS CloudFormation
MIT License
97 stars 34 forks source link

Fix for accepting tags in AWS style from a file #84

Closed ps-jay closed 4 years ago

ps-jay commented 4 years ago

This PR fixes Stackup so that it doesn't error out when receiving tags in AWS style (array of hashes) from YAML or JSON file.

Please excuse my "brute force" approach. I did consider using something like require 'active_support/hash_with_indifferent_access' ... but I didn't want to mess with the dependencies of the project.

mukaibot commented 4 years ago

The code isn't that idiomatic but it's ok, I fix roll forward :) Thanks for the PR and the test!