okta / terraform-provider-okta

A Terraform provider to manage Okta resources, enabling infrastructure-as-code provisioning and management of users, groups, applications, and other Okta objects.
https://registry.terraform.io/providers/okta/okta
Mozilla Public License 2.0
258 stars 208 forks source link

'com.okta.telephony.provider' not supported for inline hooks #1128

Closed mcrobbj-SilverBullet closed 2 years ago

mcrobbj-SilverBullet commented 2 years ago

Community Note

Terraform Version

v1.1.9

Affected Resource(s)

Terraform Configuration Files

resource "okta_inline_hook" "twillio" { name = "twillio" version = "1.0.0" type = "com.okta.telephony.provider"

channel = { version = "1.0.0" uri = "https://example.com/test" method = "POST" }

auth = { key = "Authorization" type = "HEADER" value = "secret" } }

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key: https://keybase.io/hashicorp

Debug Output

Panic Output

Expected Behavior

Add inline hook

Actual Behavior

β”‚ Error: expected value to be one of 'com.okta.oauth2.tokens.transform', 'com.okta.import.transform', 'com.okta.saml.tokens.transform', 'com.okta.user.pre-registration', 'com.okta.user.credential.password.import', got 'com.okta.telephony.provider' β”‚ β”‚ with okta_inline_hook.twillio, β”‚ on main.tf line 273, in resource "okta_inline_hook" "twillio": β”‚ 273: type = "com.okta.telephony.provider"

It is one of the supported providers (early access)

Steps to Reproduce

  1. terraform apply

Important Factoids

References

monde commented 2 years ago

Thanks @mcrobbj-SilverBullet , I did a quick fix #1132 , it will go out today when I do a v3.28.0 release.

monde commented 2 years ago

Released as v3.28.0.