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

Named parameter sets #181

Open
dougmoscrop opened this issue Oct 31, 2019 · 1 comment
Open

Named parameter sets #181

dougmoscrop opened this issue Oct 31, 2019 · 1 comment

Comments

@dougmoscrop
Copy link

OK the title is terrible but here's what I am imagining:

Within a given service, the accounts that it gets deployed to are usually well-defined but vary depending on stage, so a file like:

[dev]
profile = dev-xyz
account = dev-xyz-service

[prod]
profile = prd-xyz
account = prd-xyz-service

so then you can bmx write --for dev and it will fill in those often repeated config params. (--for being a placeholder for a better parameter name -- 'profile' is already taken. maybe 'stage'.)

@cfbao
Copy link
Member

cfbao commented Jul 28, 2023

Does the local ".bmx" config file solve this problem?
Like this: https://github.com/Brightspace/postgres-infrastructure/blob/main/terraform/environments/lrn-postgres/.bmx

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

No branches or pull requests

2 participants