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
Attempting to import a fusionauth_entity resource causes the following error:
Error: unexpected status code: 400(Bad Request) Errors: A tenant Id is required to complete this request. To complete this request, you may assign a tenant to your API key, or add the X-FusionAuth-TenantId HTTP request header with the tenant Id.
Since the entity configuration specifies a tenant_id, I would assume we should be able to do this without using a tenant scoped api key, since that is how any other resource import works.
Example of a resource import causing this error:
import {
to = fusionauth_entity.news_api
id = "65108a61-a287-4b3a-bf32-4d40dff1a418"
}
resource "fusionauth_entity" "news_api" {
tenant_id = fusionauth_tenant.montel.id
client_id = data.azurerm_key_vault_secret.entity_news_api_client_id.value
client_secret = data.azurerm_key_vault_secret.entity_news_api_client_secret.value
entity_type_id = fusionauth_entity_type.news_api.id
name = "News-API"
}
This may be related to this issue regarding modifying or deleting an entity (#118)
The text was updated successfully, but these errors were encountered:
Attempting to import a
fusionauth_entity
resource causes the following error:Error: unexpected status code: 400(Bad Request) Errors: A tenant Id is required to complete this request. To complete this request, you may assign a tenant to your API key, or add the X-FusionAuth-TenantId HTTP request header with the tenant Id.
Since the entity configuration specifies a tenant_id, I would assume we should be able to do this without using a tenant scoped api key, since that is how any other resource import works.
Example of a resource import causing this error:
This may be related to this issue regarding modifying or deleting an entity (#118)
The text was updated successfully, but these errors were encountered: