Created
December 25, 2021 08:12
-
-
Save chanwit/17d4a130d52fe569d41f266ee5df5823 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// TerraformSpec defines the desired state of Terraform | |
type TerraformSpec struct { | |
// ApprovePlan specifies name of a plan wanted to approve. | |
// If its value is "auto", the controller will automatically approve every plan. | |
// +optional | |
ApprovePlan string `json:"approvePlan,omitempty"` | |
// +optional | |
BackendConfig *BackendConfigSpec `json:"backendConfig,omitempty"` | |
// List of input variables to set for the Terraform program. | |
// +optional | |
Vars []Variable `json:"vars,omitempty"` | |
// +optional | |
VarsFrom *VarsReference `json:"varsFrom,omitempty"` | |
// The interval at which to reconcile the Terraform. | |
// +required | |
Interval metav1.Duration `json:"interval"` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment