boltops-tools / ufo

AWS ECS Deployment Tool

Home Page:https://ufoships.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Variables are not available in params.yml

hnatt opened this issue · comments

I would like to have different subnets and security groups for production and staging clusters and am looking for the ways to do this. Subnets and security groups are set in params.yml, but this file does not seem to have a notion of environments.

The docs on params.yml say:

ERB and variables are available in the params file

But I have a different experience. instance_variables in the context of params.yml ERB is empty and self seems to be an instance of Object without any additional methods.

So how do I access variables from the params files?

@hnatt Think the docs are inaccurate here. It would be really nice to have access to shared variables in params though. Will try again.

@hnatt Fixed in version 3.5.5 CHANGELOG. Thanks for the report.