cloud-native-toolkit / cloud-native-toolkit/software-everywhere

Need a way of destroying bootstrap resources once UPI build completed

Open
#337 1 comment 0 reactions 1 assignee Claimed by @rich-ehrhardt View on GitHub
azure
Dominant language
TypeScript
Stars
8
Forks
8
PR merge metrics
No merged PRs in 30d

Description

For a custom OpenShift IPI build, the bootstrap server, security rules and public IP are created to bootstrap the cluster's master nodes. Once the master nodes have the API running, the rest of the build is done by them and the bootstrap resources need to be removed for security. Options are,
1. use az cli to destroy the resources within a terraform null-resource
Requires installation of the az tool for testing which is complex and has heavy storage requirements.
2. use terraform to call scripts which run another two terraform processes. First one creates the cluster, including the bootstrap and the second one destroys the bootstrap resources once the cluster is created.
This has problems with multiple state files
3. use Ansible to run the two terraform processes
Means deviating from the terraform/terragrunt apply-all script being used by other BOMs
4. use terragrunt to manage execution
Needs investigation if possible.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.