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

Consolidate multiple Terraform deployments into a single Terraform deployment #228

Closed
brooke-hamilton opened this issue Jun 1, 2021 · 0 comments · Fixed by #268
Closed
Assignees

Comments

@brooke-hamilton
Copy link
Contributor

brooke-hamilton commented Jun 1, 2021

Benefit/Result/Outcome
So that I can have a simplified deployment experience, and to simplify automatic cleanup of resources.

Description
The hub, T0, T1, and T2 are all separate Terraform deployments with separate state management. They are unified through shell scripts that set up the service principal, key vaults, and storage accounts for state management. The scripts also execute the deployments in order. The work described in this issue is to have a single Terraform deployment for the hub, T0, T1, and T2. Also, in scope is to move logic from the shell scripts into Terraform for setting default parameter values, setting up key vaults and storage accounts, and any other logic that can be performed in Terraform.

Acceptance Criteria

  • A single main.tf drives the deployment.
  • Script logic is simplified and moved to Terraform where possible.
  • The script arguments remain the same.
  • Consider including Allow users to bring their own credential for deployment #176 as part of the scope of this work if simpler than doing it separately.
  • Update the user interface to work with the new Terraform deployment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants