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
I'm encountering issues with the Okta provider while using Terraformer to generate OAuth and SWA applications (only tested with those for now). The provider seems outdated, and the generated Terraform code is producing the following errors:
OAuth Apps:
Error: Required attribute "type" not specified: An attribute named "type" is required.
This indicates that the "type" attribute is missing in the generated Terraform code, making it incompatible with the current Terraform Okta provider.
SWA Apps:
Error: ""groups" is deprecated: Reason: "Groups associated with the application""
Error: ""users" is deprecated: Reason: "Users associated with the application""
The generated code includes deprecated attributes like "groups" and "users", which are no longer supported by the Terraform Okta provider.
Plugin Error
[ERROR] plugin.terraform-provider-okta_v4.11.0.exe: Response contains error diagnostic: tf_proto_version=5.4 tf_provider_addr=okta/okta tf_rpc=Configure @caller=github.com/hashicorp/[email protected]/tfprotov5/internal/diag/diagnostics.go:58 diagnostic_attribute="" diagnostic_severity=ERROR diagnostic_summary="Value Conversion Error" tf_req_id=9a4c8afd-5903-1703-a7e0-c3904e9c3d53 @module=sdk.proto
diagnostic_detail=
| An unexpected error was encountered trying to build a value. This is always an error in the provider. Please report the following to the provider developer:
|
| Received null value, however the target type cannot handle null values. Use the corresponding `types` package type, a pointer type or a custom type that handles null values.
|
| Path:
| Target Type: okta.FrameworkProviderData
| Suggested `types` Type: basetypes.ObjectValue
| Suggested Pointer Type: *okta.FrameworkProviderData
timestamp="2024-10-15T10:39:29.892+0200"
Steps to Reproduce:
Set up environment with OKTA_API_TOKEN, OKTA_ORG_NAME, and OKTA_BASE_URL.
Run the following command to import Okta resources:
I'm encountering issues with the Okta provider while using Terraformer to generate OAuth and SWA applications (only tested with those for now). The provider seems outdated, and the generated Terraform code is producing the following errors:
OAuth Apps:
Required attribute "type" not specified: An attribute named "type" is required
.SWA Apps:
""groups" is deprecated: Reason: "Groups associated with the application""
""users" is deprecated: Reason: "Users associated with the application""
"groups"
and"users"
, which are no longer supported by the Terraform Okta provider.Plugin Error
Steps to Reproduce:
OKTA_API_TOKEN
,OKTA_ORG_NAME
, andOKTA_BASE_URL
..tf
files produce the above errors when applied with Terraform.Terraformer Version:
v0.8.24
Terraform Version:
1.9.7
Okta Provider Version:
4.11.0
Could you please update the Terraformer Okta provider integration to support the current schema.
Thanks, this tool is amazing!
The text was updated successfully, but these errors were encountered: