Terraform-provider-azurerm: Add ability to turn off subscription key in API Management API

Created on 14 Nov 2019  ยท  5Comments  ยท  Source: terraform-providers/terraform-provider-azurerm

Community Note

  • 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 "me too" comments, 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

Description

The azurerm_api_management_api resource is missing the ability to set the ability to require a subscription key to false.

(https://github.com/Azure/azure-sdk-for-go/blob/master/services/apimanagement/mgmt/2018-01-01/apimanagement/models.go#L949).

New or Affected Resource(s)

  • azurerm_api_management_api

Potential Terraform Configuration

resource "azurerm_api_management_api" "test" {
  name                = "acctestapi-%d"
  resource_group_name = "${azurerm_resource_group.test.name}"
  api_management_name = "${azurerm_api_management.test.name}"
  display_name        = "Butter Parser"
  path                = "butter-parser"
  protocols           = ["https", "http"]
  revision            = "3"
  description         = "What is my purpose? You parse butter."
  service_url         = "https://example.com/foo/bar"

  authentication_settings {
     subscription_key_required = false
  }
}

References

enhancement servicapi-management

Most helpful comment

@BernhardRode, as mentioned in PR 4885, this is blocked by Azure/azure-rest-api-specs#6372. When that gets completed I can pick this up again ๐Ÿ˜„

All 5 comments

Any news, when this feature will be release? =)

@BernhardRode, as mentioned in PR 4885, this is blocked by Azure/azure-rest-api-specs#6372. When that gets completed I can pick this up again ๐Ÿ˜„

@brunhil Azure/azure-rest-api-specs#6372 is done now, as I can see ๐Ÿ˜Š

This was recently released/closed by #4885 . Also released in version 2.16.0

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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error ๐Ÿค– ๐Ÿ™‰ , please reach out to my human friends ๐Ÿ‘‰ [email protected]. Thanks!

Was this page helpful?
0 / 5 - 0 ratings