We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c09241 commit 5860465Copy full SHA for 5860465
lib/cap-ec2/utils.rb
@@ -56,7 +56,7 @@ def load_config
56
57
config_location = File.expand_path(fetch(:ec2_config), Dir.pwd) if fetch(:ec2_config)
58
if config_location && File.exists?(config_location)
59
- config = YAML.load(ERB.new(File.read(fetch(:ec2_config))))
+ config = YAML.load(ERB.new(File.read(fetch(:ec2_config))).result)
60
if config
61
set :ec2_project_tag, config['project_tag'] if config['project_tag']
62
set :ec2_roles_tag, config['roles_tag'] if config['roles_tag']
0 commit comments