-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to import application_role #108
Comments
Thank you for posting this, I'm going to work on this as soon as I get the provider caught up with the FusionAuth documentation. |
I seem to have hit the same problem using |
Hi, I was trying the same today with an existing application and application role, and face the same issue.
|
This issue still remains, and can confirm the same issue applies to |
Seems like it's currently not possible to
terraform import
anapplication_role
, it gives an error even when the role definitely exists for the specified application. I believe this is due to the fact it's usingImportStatePassthroughContext
but relies on theapplication_id
to retrieve the roles.Per the documentation, for the passthrough function to work the read method must be able to load the resource using only
data.Id()
. Because the read method is relying onapplication_id
, it doesn't work. Seems like a custom import function is required to support this properly?I assume the same issue applies to
entity_type_permission
which is where the read function appears to have been copied from, but I haven't tested that.The text was updated successfully, but these errors were encountered: