Setting up Terraform and GitHub
Simplify cloud account provisioning using Terraform. The workflow provides the basic steps involved in setting up Terraform and GitHub.
Publish Terraform templates
Publish the Terraform template defined by the application in GitHub to enable version control, collaboration, and centralized storage.
Before you begin
Role required: Terraform admin
Procedure
Create a Terraform organization for Cloud Account Management in Cloud Workspace
Integrate with Terraform Cloud/Terraform Enterprise to organize accounts, define workflows, enforce security, improve collaboration, and enhance scalability.
Before you begin
Role required: Terraform admin
Attributes required for this setup:
- AWS Access Key
- AWS Secret Key
Make sure you have access to Terraform Cloud or Terraform Enterprise to perform the following procedure.
Procedure
Integrate Terraform Cloud with GitHub
Integrate GitHub with Terraform to link workspaces to repositories, enabling version control, change tracking, and rollbacks.
Before you begin
Role required: Terraform admin or DevOps team member
Procedure
What to do next
Make a note of the OAuth Token ID and share it with the ServiceNow admin.
Create Terraform API token
Generating API tokens with limited permissions enhances security, enables fine-grained control, facilitates automation, and provides temporary access within your Terraform organization.
Before you begin
Role required: Terraform admin
Procedure
What to do next
Setting up Cloud Account Management in Cloud Workspace