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

Create container to run terraform quickstarts #76

Open
nikkelma opened this issue May 11, 2020 · 1 comment
Open

Create container to run terraform quickstarts #76

nikkelma opened this issue May 11, 2020 · 1 comment
Assignees

Comments

@nikkelma
Copy link
Contributor

Terraform-based quickstarts require the terraform binary and terraform-provider-rke to be installed where the quickstart will run.

As an alternative, create a container that contains all required tools for running the quickstart, only requiring configuration to be passed in via volumes or arguments. This container should include the terraform binary, provider binaries (official and community) and should require an argument to choose which infrastructure provider folder to deploy.

@nikkelma
Copy link
Contributor Author

nikkelma commented Aug 28, 2020

The move to Terraform 0.13 alone removes much of this need, as no provider installation is required. However, once #81 is implemented, multiple terraform apply calls will be required, meaning the quickstart could move to a multi-step process. To remain a single-step process, a few different solutions could be used:

  • docker container with shell scripts to coordinate all apply operations
  • Go CLI for cross-platform coordination of apply operations
  • Terragrunt with post-apply hooks calling the next apply operation

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

1 participant