Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Baseline with variables to replace #49

Open
cjestel opened this issue Mar 20, 2017 · 0 comments
Open

Baseline with variables to replace #49

cjestel opened this issue Mar 20, 2017 · 0 comments

Comments

@cjestel
Copy link
Contributor

cjestel commented Mar 20, 2017

When you have used variables_to_replace and they are interpolated into the schema that is stood up, you can't then dump the schema and have it work consistently when deployed to new boxes as those variables will be the interpolated string from the box that did the baseline.

Proposed solution:
Create a new CLI variable that denotes you are doing a baseline and when that variable is present, it will override the interpolation to use the key instead of the value for the key->value pair. When the schema/seed data is then dumped, it will preserve the variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant