Skip to content

Commit

Permalink
transfer host environment variables from Terraform output (#852)
Browse files Browse the repository at this point in the history
  • Loading branch information
madddi authored and jakolehm committed Nov 28, 2018
1 parent f32914c commit d42f4d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/pharos/terraform/json_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def parse_host(bundle, host, index)
host[:private_interface] = bundle['private_interface'][index] if bundle['private_interface']
host[:labels] = bundle['label'][0] if bundle['label']
host[:taints] = bundle['taint'] if bundle['taint']
host[:environment] = bundle['environment'] if bundle['environment']
host[:user] = bundle['user'] if bundle['user']
host[:ssh_key_path] = bundle['ssh_key_path'] if bundle['ssh_key_path']
host[:bastion] = bundle['bastion'][0] if bundle['bastion']
Expand Down

0 comments on commit d42f4d9

Please sign in to comment.