Utilize the ‘Terraform Cloud’ tool in the Opsera Tool Registry to intergrate Terraform Cloud in Opsera Pipelines. In the ‘Organizations’ tab create, delete and edit organizations in Terraform Cloud. Once an organization is created, navigate to the ‘Workspaces’ to add a Terraform Cloud Workspace. The Terraform Cloud Workspace added in this tab will be referenced in the pipeline setup in the scenario that a user wants to save the terraform state file remotely to the configured Terraform Cloud.
...
Once you have created a new tool using ‘Terraform Cloud’ as tool identifier, provide the proper configuration details in the ‘Connections’ tab:
Terraform Cloud URL - http://app.terraform.io
Terraform Token - Provide your access Token from Terraform.
Is Terraform Enterprise? - Enable toggle if using a Terraform Enterprise URL. If the toggle is enabled, this tool will be fetched in pipeline steps as ‘Terraform Enterprise’.Save your configurations and click the ‘Test Connection’ button to verify the connection is successful.
Navigate to the ‘Organizations’ tab.
Click the ' + New Terraform Cloud Organization' button to add a new Organization.
Provide a name for your Terraform Cloud Organization and click the ‘Create’ button. You can now access this organization in Terraform Remote State in a pipeline.
Navigate to the ‘Workspaces’ tab to add a new Terraform Cloud Workspace. From the ‘Organization Name’ dropdown, select the organization to add a Terraform Cloud Workspace to.
Click the ‘+ New Terraform Cloud Workspace’ button. Select an Organization Name from the dropdown, provide a Workspace Name and click the ‘Create’ button.
...