Repository navigation
Conversation
aws-ec2-vault-cluster 0.2.0: output shared (env_name == previews-shared), SHARED_ENVS in user-data, vault-admin ~> 0.3.0. aws-vault-access 0.3.0: passes the app env to the function and injects VAULT_ENV when the cluster is shared; empty otherwise.
Contributor
Author
|
Folded into #27. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #27. Wires the shared mode into the modules.
aws-ec2-vault-cluster0.2.0shared = data.ns_workspace.this.env_name == "previews-shared", exposed as outputshared(bool).SHARED_ENVS=<shared>so the nodes render the matching policies.vault-admin ~> 0.3.0.tofu initon this module fails until vault-admin v0.3.0 is published; the tests here ran against 0.2.2 with the pin swapped locally.aws-vault-access0.3.0sharedoutput (try(..., false), so 0.1.x clusters read as unshared).env = <workspace env name>to the function only when shared.VAULT_ENV, always present, empty on an unshared cluster.Docs
README: shared cluster section under Tenant isolation, app contract for both values of
VAULT_ENV, Nullstonepreviews.ymlwiring, newenvscommands. CHANGELOG 0.2.0.Release order
aws-ec2-vault-cluster0.2.0 with--include='templates/*'andaws-vault-access0.3.0.