Prepare Terraform for upgrade
If you use Terraform to manage one or more Okta tenants, there may be an impact to the current Terraform provider after the upgrade to Identity Engine. Prepare Terraform for the upgrade by completing the following steps:
-
Migrate to the latest version of the Terraform provider.
-
Update HCL (HashiCorp configuration language) scripts to accommodate the changes to Terraform configuration syntax.
-
When the HCL scripts are updated, the associated
.tfstate filemust also be updated to remain in sync. Use Terraform commands to make changes to the.tfstatefile. -
Test your changes on a temporary Okta tenant.
Post upgrade
To ensure Terraform is working as expected after your upgrade to Identity Engine, complete the following steps:
-
Execute a Terraform plan command with
-refresh=falseto see if the script and tfstate files are in sync. The command result must readResources: 0 added, 0 changed, 0 destroyed. -
If any changes are detected in the refresh, update the script or
.tfstatefile to align with the current configuration.
Related topics