website logo
HomeTwitterLinkedInLogin ➡️
⌘K
Overview
Getting started
The Intelligent IaC Difference
Connect Cloud Accounts
AWS Account
Azure Subscription
GCP Project
Managing Cloud Accounts
What are Accounts
Credentials
Scanning Options
Changelog
Compliance
CI/CD
IaC Explorer
IaC Explorer Overview
Codifier
Generating Terraform
Terraform Remote State File Integration
IaC Catalog
Overview
Getting Started
Configuration
Producer Flow
Consumer Flow
Reference
GraphQL API
Management
Security
Feedback/Contact
Docs powered by
Archbee
IaC Catalog

Consumer Flow

4min

The AutoCloud Consumer Flow allows you to generate Terraform code using the Blueprints created by Terraform producers. In order to use the consumer flow, you will select the blueprint you want to create code for by navigating to AutoCloud's IaC Catalog page, which looks like this:

IaC Catalog page
IaC Catalog page


After determining the blueprint you want to use, you can read instructions on how to use the blueprint by clicking the three dots in the top right of the blueprint's card and selecting instructions

IaC lueprint instructions
IaC lueprint instructions


Clicking the generate button on the blueprint's card will initiate the process of generating the Terraform code using the Blueprint.

You will then be navigated to a multi-step form wizard where you can enter any of the values required to configure how the Terraform code for that blueprint will be generated. The actual form field inputs are dependent on the individual blueprint and how it was configured during the Producer Flow. Like most forms, required inputs are specified by a red asterisk next to the form input's label.

IaC Blueprint form
IaC Blueprint form


After filling out the form, you will click theNEXT button and move to the next phase of the blueprint. This phase will run a complete policy scan against the Terraform code that will be generated to ensure it follows the compliance requirements of the organization.

IaC Blueprint Policy Check UI
IaC Blueprint Policy Check UI


After reviewing the policy scan and ensuring there are no compliance issues, you can click NEXT to navigate to the projected cost phase of the blueprint. This phase will provide an estimate of what the cloud resources resulting from the generated Terraform code will cost if they are deployed.

IaC Blueprint Projected Cost UI
IaC Blueprint Projected Cost UI


You can now click NEXT one more time to navigate to the REVIEW step of the blueprint. Here, you can see the values you have entered from the form as well as the compliance and cost results. If everything looks correct, you can click the SUBMIT button. Once clicked, the blueprint will generate the requested Terraform code and open a pull request with this generated code in the configured repo. The blueprint will also, optionally, create a JIRA ticket with a link to the opened pull request and details on the pull request such as what blueprint it was created with and who used the blueprint.



IaC Blueprint Review
IaC Blueprint Review




IaC Blueprint pull request
IaC Blueprint pull request




IaC Blueprint JIRA Ticket
IaC Blueprint JIRA Ticket




Updated 04 Mar 2023
Did this page help you?
PREVIOUS
Testing and Publishing Blueprints
NEXT
Past PRs of IaC Blueprints
Docs powered by
Archbee
Docs powered by
Archbee