-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Subnet service delegation to Azure Databricks continuously adds and removes actions #4599
Comments
I also tried adding "Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action" to the action list, but AzureRM provider does not accept this. |
I have the same behaviour when adding delegations to Microsoft.NetApp
When adding "Microsoft.Network/networkinterfaces/*" to the action list, AzureRM does not accept it. |
I've created a PR #4690 to fix the 2 issues raised by both @eliasvakkuri and @hasterhorb |
Out of curiosity: Where did you get the possible values from? |
@Kampfgnom the original list of subnet delegation actions is from Terraform azurerm provider documentation: https://www.terraform.io/docs/providers/azurerm/r/subnet.html#service_delegation . Have not found any documentation on the actions on Azure side. |
@Kampfgnom |
I have the same issue because Terraform gives an error when trying to add "Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action" as one of the delegation actions, but it is one of the actions if Azure Databricks service adds subnet delegation through AzureRM API. |
This has been released in version 1.36.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 = "~> 1.36.0"
}
# ... other configuration ... |
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! |
Community Note
Terraform (and AzureRM Provider) Version
Terraform v0.12.9
provider.azurerm v1.35.0
Affected Resource(s)
azurerm_subnet
Terraform Configuration Files
Expected Behavior
Terraform should accept these values and not create a diff on subsequent runs.
Actual Behavior
On deployment, Azure apparently automatically removes "Microsoft.Network/virtualNetworks/subnets/action" and adds "Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action". On subsequent plan, Terraform then tries to reverse this.
Below a terraform plan run directly after running apply with the values above:
Steps to Reproduce
terraform apply
terraform plan
The text was updated successfully, but these errors were encountered: