IT and Development
Terraform Cloud
11 min
terraform cloud is an infrastructure automation platform that enables users to manage infrastructure as code integrating with make com allows users to automate workspace runs, manage variables, and retrieve state information directly from their terraform cloud accounts this is ai generated content based on official terraform cloud documentation the content may contain mistakes please verify important information if you have questions on vendor documentation, contact https //www terraform io/docs/cloud/api/index html directly requirements to use the terraform cloud app in make, you must have an active hcp terraform account and a valid api token, https //www hashicorp com/products/terraform cloud for subscription, refer to the https //www hashicorp com/products/terraform cloud connect terraform cloud and {{product name}} to get started, you must first create a connection between terraform cloud and {{product name}} , allowing the two services to communicate obtain your api token in your terraform cloud account create the connection in make obtain your api token in your terraform cloud account before you create the connection in {{product name}} , you should first obtain your api token in your terraform cloud account to obtain your api token navigate to your user menu in the terraform cloud or enterprise dashboard click on user settings select the api tokens section copy the api token displayed on screen you will use this value while creating a connection in {{product name}} because the ui might have changed, the steps you see on your screen might be different, https //support hashicorp com/hc/en us/articles/4413305541267 how to locate an api token in terraform cloud or enterprise create the connection in {{product name}} https //www make com/en/register , add the terraform cloud module to your {{scenario singular lowercase}} , and click create a connection if you add a module with an instant tag, click create a webhook , then create a connection optional in the connection name field, enter a name for the connection enter the authentication credentials you copied from your terraform cloud account or follow the on screen instructions to create the connection for detailed information on connecting an application, see docid\ so88fm6pkt0g adkddfzz page terraform cloud modules after connecting to the terraform cloud app, you can choose from a list of available modules to build your {{scenario plural lowercase}} cancel a run cancels an ongoing or scheduled workflow run create a run creates a new workflow run, which can be accessed using either a user token or a team token get a run retrieves detailed information about a specific run list runs retrieves a list of all workflow runs make an api call executes a custom api request to the connected service using your authorized credentials watch runs triggers when a new run is initiated within a workspace templates you can look for more templates in https //www make com/en/templates , where you'll find thousands of pre created {{scenario plural lowercase}} terraform cloud resources you can have access to more resources related to this app on the following links https //community make com/search?q=terraform%20cloud https //www hashicorp com/products/terraform cloud https //www terraform io/docs/cloud/api/index html https //www make com/en/integrations/terraform cloud