Terraform Build
Package Terraform templates into a deployable Microtica component with the terraform-build step. Map variables.tf and outputs.tf to component input and output.
Package Terraform templates into a deployable Microtica component.
To use this step, you need existing Terraform templates hosted on your Git account.
Input/output parameters
The parameters you define in variables.tf will automatically become an input parameters of the component and parameters defined in the outputs.tf will become the output parameters of the component. The actual values should be specified in the Microtica Console.
Folder structure
You should always have your variables.tf and outputs.tf files in the root directory.
Syntax
steps:
step-name:
type: terraform-build| Parameter | Description | Required |
|---|---|---|
| title | The display name of the step. | No |
| type | The type of the Microtica built-in step. Should always be terraform-build for this type of step. | Yes |
Next steps
CloudFormation Component
Package a CloudFormation template into a deployable Microtica component with the cfn-component step. Map template parameters to component inputs, with a schema.
Stages
Group pipeline steps into stages to run them in parallel. Declare stages in your microtica.yaml, assign steps to them, and structure complex pipelines.