Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

...

  1. Once you have created a new tool using ‘Terraform Cloud’ as tool identifier, provide the proper configuration details in the ‘Connections’ tab:

    Image RemovedImage Added


    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’.

  2. Save your configurations and click the ‘Test Connection’ button to verify the connection is successful.

  3. Navigate to the ‘Organizations’ tab.

  4. Click the ' + New Terraform Cloud Organization' button to add a new Organization.

  5. 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.

  6. 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.

  7. Click the ‘+ New Terraform Cloud Workspace’ button. Select an Organization Name from the dropdown, provide a Workspace Name and click the ‘Create’ button.

...