terraform-modules icon indicating copy to clipboard operation
terraform-modules copied to clipboard

Add Service Deligation for subnets in Core module

Open linus-lysell opened this issue 3 years ago • 2 comments

Is it possible to add service delegation for subnets in the core module.

Se example here: https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/subnet

 delegation {
    name = "delegation"

    service_delegation {
      name    = "Microsoft.ContainerInstance/containerGroups"
      actions = ["Microsoft.Network/virtualNetworks/subnets/join/action", "Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action"]
    }
  }
}

linus-lysell avatar Nov 02 '22 13:11 linus-lysell

@linus-lysell we are already creating a group for service endpoint join. What else is needed other than that?

simongottschlag avatar Nov 02 '22 21:11 simongottschlag

@simongottschlag Thanks for the quick reply! Service endpoint is working fine. I would need the delegation block as a feature in the core module.

linus-lysell avatar Nov 03 '22 13:11 linus-lysell

Seem to be duplicated in 948, so closing this one.

landerss1 avatar Aug 15 '24 12:08 landerss1