Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrerequisiteTemplateTFStateKey ¶
PrerequisiteTemplateTFStateKey is the key to raw state in storage for Terraform State (e.g. tf workspace name in psql tf backend) for applying prerequisite template. Currently, the Terraform state for the prerequisite template is associated with the combination of user and primary cloud provider (rather than being associated with the deployment itself). Therefore, the key is unique for all deployment runs for a user on a specific provider.
Types ¶
type Input ¶
type Input struct { Username string Deployment common.ID // We need the parameters for execution template because we could use some parameters values for execution template // to override the parameter values for prerequisite template. RequestParametersForExecutionTemplate map[string]interface{} ExecutionTemplateMetadata service.TemplateMetadata Template service.Template TemplateVersion service.TemplateVersion Provider *service.ProviderModel CloudCreds []types.ProviderCredentialPair // No Git Credential for prerequisite template TerraformOperation string }
Input ...
type WorkflowData ¶
type WorkflowData awmclient.TerraformWorkflowData
WorkflowData is workflow data for prerequisite template
func GenerateWorkflowData ¶
func GenerateWorkflowData(data Input, keySrc ports.KeySrc) (WorkflowData, error)
GenerateWorkflowData generates workflow data for prerequisite template
func (WorkflowData) TerraformWorkflowData ¶
func (d WorkflowData) TerraformWorkflowData() awmclient.TerraformWorkflowData
TerraformWorkflowData ...
Click to show internal directories.
Click to hide internal directories.