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

Support for web application routing #296

Closed
1 task done
rjsigma opened this issue Feb 7, 2023 · 2 comments
Closed
1 task done

Support for web application routing #296

rjsigma opened this issue Feb 7, 2023 · 2 comments

Comments

@rjsigma
Copy link

rjsigma commented Feb 7, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Description

Web app routing is a preview feature that seems to be a good option for managing ingress. The support for web app routing is added to underlying terraform resources version 3.30, around November 2022.

New or Affected Resource(s)/Data Source(s)

azurerm_kubernetes_cluster

Potential Terraform Configuration

given the `web_app_routing` block only support a single attribute `dns_zone_id`, we could elevate the value as a top level variable.

variable "web_app_rounting_dns_zone_id" {
  type = string
  default = ""
  ...
}
...
resource "azurerm_kubenetes_cluster" {
  ...
  dynamic "web_app_routing" {
    for_each = var.web_app_routing_dns_zone_id != "" ? ["dns_zone_id"] : []
    content {
      dns_zone_id = var.web_app_routing_dns_zone_id
    }
  }
  ...
}

References

@lonegunmanb
Copy link
Member

Thanks @rjsigma for opening this issue, I think we can arrange that in our next release.

@angshumanbagchi
Copy link

@lonegunmanb thanks for the very prompt response. Would you have an ETA for the next release? This will help us plan our work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants