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
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
│ Error: failed to read email template settings
│
│ 405 Method Not Allowed
Relevant debug except showing the endpoint the provider attempts to call (the correct endpoint is /api/v1/brands/{{brandID}}/templates/email/{{templateType}}/settings)
Attempt to import it using the ID <brand ID>/<template type> per the provider doc
Observe that the import fails
Important Factoids
Looking at the import method and framework docs for the ImportStatePassthroughID method it uses, this resource isn't compatible with it, because the resource's read method relies on multiple inputs (brand ID & template type).
Looks like a simple fix (define a custom import method that extracts the two inputs in the provided composite ID), it's not a major blocker for this project, so I'll circle back and put in a PR if I can find the time.
References
The text was updated successfully, but these errors were encountered:
Community Note
Terraform Version
Terraform 1.6.0
Provider 4.13.1
Affected Resource(s)
okta_email_template_settings
Terraform Configuration Files
Debug Output
Relevant debug except showing the endpoint the provider attempts to call (the correct endpoint is
/api/v1/brands/{{brandID}}/templates/email/{{templateType}}/settings
)Panic Output
N/A
Expected Behavior
The resource is imported and managed by Terraform
Can this be done in the Admin UI?
N/A
Can this be done in the actual API call?
N/A
Actual Behavior
The import fails
Steps to Reproduce
okta_email_template_settings
resource<brand ID>/<template type>
per the provider docImportant Factoids
Looking at the import method and framework docs for the
ImportStatePassthroughID
method it uses, this resource isn't compatible with it, because the resource's read method relies on multiple inputs (brand ID & template type).Looks like a simple fix (define a custom import method that extracts the two inputs in the provided composite ID), it's not a major blocker for this project, so I'll circle back and put in a PR if I can find the time.
References
The text was updated successfully, but these errors were encountered: