You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configure the same using Terraform resource using:
resource "okta_inline_hook"
For importing :
terraform import okta_inline_hook.example <hook_id>
When inline hook was configured manually configured and is imported to Terraform script it does not show the encrypted value which is fine however after the import and assigning the same value in script which is the actual value used and when you run the terraform plan it would show that the value is being updated. Is there a way where the script will validate the value is correct and update the state file without updating anything else.
module.authorization-servers.okta_inline_hook.inline-token-hook will be updated in-place
Hi Team,
To configure a inline hook manually steps are:
Okta Dashboard > workflow > Inline Hooks > Add inline hook > token
Configure the same using Terraform resource using:
resource "okta_inline_hook"
For importing :
terraform import okta_inline_hook.example <hook_id>
When inline hook was configured manually configured and is imported to Terraform script it does not show the encrypted value which is fine however after the import and assigning the same value in script which is the actual value used and when you run the terraform plan it would show that the value is being updated. Is there a way where the script will validate the value is correct and update the state file without updating anything else.
module.authorization-servers.okta_inline_hook.inline-token-hook will be updated in-place
~ resource "okta_inline_hook" "inline-token-hook" {
~ auth = {
~ "value" = "" -> "Basic xxxxxxxyyyyyyyyyzzzzzz"
# (2 unchanged elements hidden)
id = "1213131313121312343252"
name = "inline hook name"
# (4 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
Thank you,
Venkata
The text was updated successfully, but these errors were encountered: