Terraform uses plugins called Providers to automate different types of services and applications. The Okta Provider is the plugin for Workforce Identity Cloud (WIC) that enables you to manage your Okta org with Terraform. The provider contains many components that provide the functionality to manage parts of your org, such as groups and applications. In Terraform, these components are identified as resources and data sources. You use resources to describe the desired state of objects in your org and data sources to read the state of objects in your org.
For example, you can include an okta_groups resource in your Terraform code to create and update a group. Similarly, you can include an okta_policy data source for Terraform to read the information for a policy.
Note: Okta recommends managing a type of object in your org using either Terraform or the Admin Console. Managing the same objects, such as groups or policies, with multiple methods can introduce synchronization issues and increases the risk of errors.
The Okta Provider interacts with your org by making API calls using the Okta Go SDK. Each resource and data source makes calls to different APIs to read and manage the objects in your org. Some resources and data sources make more than one API call when you run your Terraform code. See Minimize Terraform rate limit errors for tips on managing the number of API calls that Terraform makes.
For a closer look at how resources and data sources call the API, see the terraform-provider-okta (opens new window)GitHub repository.
Note: To use Terraform to automate your Customer Identity Cloud (CIC), use the Auth0 Provider.
#okta #identity #accessmanagement #devops #terraform #iaac #askmeidentity #circleci
Join this channel to get access to perks:
/ @askmeidentity
Негізгі бет Okta Devops - Terraform Plan and Apply changes to your Okta Org
No video
Пікірлер