Overview
A Terraform profile holds what SQIBS needs to run Terraform plans: the version. Create it once and use it in any workflow. You can create it on the Callgoose cloud, or as an internal profile of a runner to run inside your network.
You need
Permission to manage automation profilesWhere
Automation > ProfilesResult
A reusable Terraform environmentCreate the profile
- Go to Automation > Profiles, choose Global or a team, click Add Profile and choose Terraform. For a runner, open the runner profile instead and add the Terraform profile under Internal Profiles.
- Fill in the fields below and click Save.
| Field | What to enter |
|---|---|
| Name, Description | What the profile is for. |
| Files from Git or Callgoose | Keep the profile files in SQIBS, or in Git with a profile entry file. |
| Terraform Version | For example 1.8.4. |
| Terraform Command To Run | Runner internal profiles only: for example terraform. |
Keep provider credentials out of your files: use environment variables or a credentials file on the runner host.
Use it
In a workflow, choose this profile for each Terraform action. If the action runs on a runner, choose the Runner Internal Profile instead.