This repository has been archived by the owner on Jun 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Define a new type terraform.ExecutionStep which allows describing arbitrary Terraform operations declaratively. - Allow passing one or more ExecutionSteps to the Terraform executor. This allows making pkg/platform generic as now every platform implementation can define its steps for deploying infrastructure in a declarative way, thus making the code which interacts with Terraform generic. Thanks to the PreExecutionHook concept, the same is true even when arbitrary logic needs to be executed before some Terraform operation: A platform implementation can include a callback function in the PreExecutionHook field of an ExecutionStep and the generic Terraform code will invoke it at the right time.
- Loading branch information
Showing
4 changed files
with
128 additions
and
75 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 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
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