Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Baremetal: Split terraform into stages
bootstrap: create bootstrap resources masters: create permanent cluster resources This is needed for Terraform v0.14.6 and later since Terraform deletions now destroy all resource dependencies.
- Loading branch information
Showing
9 changed files
with
51 additions
and
105 deletions.
There are no files selected for viewing
This file contains 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package baremetal | ||
|
||
import ( | ||
"github.com/openshift/installer/pkg/terraform" | ||
"github.com/openshift/installer/pkg/terraform/stages" | ||
) | ||
|
||
// PlatformStages are the stages to run to provision the infrastructure in | ||
// Bare Metal. | ||
var PlatformStages = []terraform.Stage{ | ||
stages.NewStage("baremetal", "bootstrap", stages.WithNormalDestroy()), | ||
stages.NewStage("baremetal", "masters"), | ||
} |
This file contains 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
This file contains 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