-
Notifications
You must be signed in to change notification settings - Fork 146
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
Source MLZ config environment name and region from configuration file #60
Conversation
- added GH extension to dev container and extensions.json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made a couple of changes to the README. I have not finished executing the deployment. I stopped at setting values in saca-hub.tfvars
because I don't know the answer to this question: What is deploymentname
in saca-hub.tfvars
?
deploymentname = "{SACA_DEPLOYMENTNAME}"
@brooke-hamilton deployment name, at the scope you indicate, can be whatever you so choose, it's not generated by anything in these changes but is a terraform variable for replacement. The changes in this PR have no effect on what variable substitution happens at terraform execution time. That happens here, specifically: missionlz/scripts/apply_terraform.sh Lines 113 to 117 in 3617572
|
Is it the same as |
@brooke-hamilton precisely. They're two different values. Could be the same, maybe (probably) they should be for ease of use, but they're not related today. A good rule of thumb is that if it's "MLZ" it's probably related to the customizations we're building. I'd wager 95% of the terraform in the repo is written with the assumption none of that exists (which it should). The gap we're talking about here is that work we've been talking about collectively of "given a single configuration file, please generate all terraform variables" -- that doesn't exist today. |
…ration (Azure#60) * remove enclave name, make location part of mlz config
Description
Generally, as much as possible, trying to source as much configuration from the MLZ configuration file instead of passing values by shell commands. This will make the automation more flexible for UI integration and CI/CD deployments.
enclave
tomlz_env_name
location
frommlz_config_location
Issue reference
The issue this PR will close: #59
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:
shellcheck
.vscode/extensions.json
.)