On this page

Automate org management with Terraform

Terraform is a tool that uses code to describe your desired Okta org configuration instead of the Admin Console. Managing your org with code allows you to preview the results of a configuration before you apply it. Terraform enables you to automate the creation of groups and policies, assigning users to groups, associating policies with applications, and much more.

Some of the features of managing your Okta org with Terraform include:

  • Previewing changes before committing them
  • Creating repeatable changes
  • Integrating with Continuous Integration (CI) and Continuous Delivery (CD) for automating updates
  • Sharing configurations with other administrators
  • Auditing changes that are made outside of Terraform

Get started

Terraform uses plugins called Providers to communicate with a managed service. To automate your Okta org, you use the Okta Terraform Provider.

Start with the Terraform overview, and then see Enable Terraform access to set up Terraform with your Okta org.

Automate management

After you've enabled access for Terraform, find details on automating different parts of your org in these guides:

Best practices

Use best practices to keep your Terraform automations efficient by following these guides:

Reference documentation

Detailed information for the Okta Terraform Provider objects and commands that you use to manage your Okta org are available in the entry for the Okta Provider in the Terraform Registry (opens new window).