support for the virtual_network_integration_enabled and subnet_id properties#30559
Conversation
…- support for the `vnet_integration_enabled` and `subnet_id` properties
sreallymatt
left a comment
There was a problem hiding this comment.
Thanks @ms-henglu, I've left a question regarding the implementation of these new properties if you wouldn't mind confirming
| ValidateFunc: validate.CIDR, | ||
| }, | ||
| }, | ||
| "vnet_integration_enabled": { |
There was a problem hiding this comment.
Following the naming guide I think we should avoid abbreviating virtual_network to vnet
| "vnet_integration_enabled": { | |
| "virtual_network_integration_enabled": { |
Co-authored-by: sreallymatt <[email protected]>
|
Hi @sreallymatt , thanks for the code review! I've applied the suggestion and add a test case for the managed vnet. |
sreallymatt
left a comment
There was a problem hiding this comment.
Thanks for making those changes @ms-henglu, LGTM ✅
vnet_integration_enabled and subnet_id propertiesvirtual_network_integration_enabled and subnet_id properties
|
@sreallymatt Provider v4 was meant to remove those flags to avoid using preview features. When using the 4.46.0 provider version, here is what I get : │ Kubernetes Cluster Name: "cluster-aks"): performing CreateOrUpdate: unexpected status 400 (400 Bad Request) with response: {
│ "code": "BadRequest",
│ "details": null,
│ "message": "Feature Microsoft.ContainerService/EnableAPIServerVnetIntegrationPreview is not enabled. Please see https://aka.ms/aks/previews for how to enable features.",
│ "subcode": ""
│ }Could a fix be provided to fix this behavior? |
|
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |

This PR adds back features that are reverted by #30551.
It's based on #30516
Community Note
Description
PR Checklist
For example: “
resource_name_here- description of change e.g. adding propertynew_property_name_here”Changes to existing Resource / Data Source
Testing
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
azurerm_resource- support for thething1property [GH-00000]This is a (please select all that apply):
Related Issue(s)
Fixes #0000
Rollback Plan
If a change needs to be reverted, we will publish an updated version of the provider.
Changes to Security Controls
Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.
Note
If this PR changes meaningfully during the course of review please update the title and description as required.