Closed sjentzsch closed 3 years ago
Shouldn't this be labeled as a bug
rather than enhancement
? The documentation clearly states the Identity
data should be returned when using Data Source: azurerm_api_management but it is not.
Apologize if i'm way off but when comparing to other services data calls it looks like the dataSourceApiManagementRead
function is missing the call like this:
if err := d.Set("identity", FlattenApiManagementIdentity(resp.Identity)); err != nil {
return fmt.Errorf("setting `identity`: %+v", err)
}
Thanks for opening this issue! Since this issue seems to have been addressed in the latest versions of the provider - I'm going to close it. Please open a new updated bug report if this is still relevant. Thank you.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Community Note
Terraform (and AzureRM Provider) Version
Affected Resource(s)
azurerm_api_management
Expected Behavior
I expect the datasource for the
azurerm_api_management
to contain information on theidentity
, as specified here:Actual Behavior
The block
identity
is not contained, verified viaterraform state show
on the datasource, and also I get the error: