Skip to content
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

Azure API Management Virtual Network with Multiple Locations #6642

Closed
sam-cogan opened this issue Apr 27, 2020 · 6 comments · Fixed by #8290
Closed

Azure API Management Virtual Network with Multiple Locations #6642

sam-cogan opened this issue Apr 27, 2020 · 6 comments · Fixed by #8290

Comments

@sam-cogan
Copy link
Contributor

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

Terraform (and AzureRM Provider) Version

12.24
2.7.0

Affected Resource(s)

  • azurerm_api_management

Expected Behavior

It is possible to deploy an instance of APIM in multiple locations using the "additional_location" property. It is also possible to attach an APIM to virtual network, however it seems that Terraform only provides the ability to set a single subnet ID, which does not work where you have multiple locations, as each location will use a different subnet ID. I would expect to have the ability to provide a subnet ID for each location.

Actual Behavior

It does not seem possible to specify a subnet ID for each location

  • #0000
@yupwei68
Copy link
Contributor

hi @sam-cogan , Thanks for opening this issue. This enhancement currently is not supported from service team. You could open an issue to ask for new enhancement in service team https://github.com/Azure/azure-rest-api-specs/issues

@sam-cogan
Copy link
Contributor Author

Thanks, I have created an issue for this - Azure/azure-rest-api-specs#9255

@mybayern1974 mybayern1974 added the upstream/microsoft Indicates that there's an upstream issue blocking this issue/PR label May 12, 2020
@danbyrne-tal
Copy link

@yupwei68 , as per comments on the related REST API & provided sample - this already is possible via REST API... using the 'additionallocations' section... see example here - https://docs.microsoft.com/en-us/rest/api/apimanagement/2019-12-01/apimanagementservice/get#apimanagementservicegetmultiregioninternalvnet

Can this be accommodated in the TF provider now?

@magodo magodo added enhancement and removed question upstream/microsoft Indicates that there's an upstream issue blocking this issue/PR labels Aug 7, 2020
@jake-scott
Copy link
Contributor

Sorry about all the commits. The linter is picky 😃 please test this and let me know if it resolves the issue.

@manicminer manicminer added this to the v2.29.0 milestone Sep 23, 2020
@ghost
Copy link

ghost commented Sep 24, 2020

This has been released in version 2.29.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example:

provider "azurerm" {
    version = "~> 2.29.0"
}
# ... other configuration ...

@ghost
Copy link

ghost commented Oct 23, 2020

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!

@ghost ghost locked as resolved and limited conversation to collaborators Oct 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants