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 clientCertificateMode in azurerm_container_app ingress ( mTLS ) #28475

Closed
1 task done
zioproto opened this issue Jan 10, 2025 · 0 comments · Fixed by #28523
Closed
1 task done

Support for clientCertificateMode in azurerm_container_app ingress ( mTLS ) #28475

zioproto opened this issue Jan 10, 2025 · 0 comments · Fixed by #28523

Comments

@zioproto
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

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 comments along the lines of "+1", "me too" or "any updates", 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 and review the contribution guide to help.

Description

The resource azurerm_container_app is missing support for setting the clientCertificateMode in the ingress block.

Here is the stable API reference:

https://github.com/Azure/azure-rest-api-specs/blob/b6075dbc2321933382ea91c787ee62c6bdb87e5d/specification/app/resource-manager/Microsoft.App/stable/2024-03-01/ContainerApps.json#L948-L960

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

azurerm_container_app

Potential Terraform Configuration

resource "azurerm_container_app" "example" {
  name                         = "example-app"
  container_app_environment_id = azurerm_container_app_environment.example.id
  resource_group_name          = azurerm_resource_group.example.name
  revision_mode                = "Single"
  ingress {
    external_enabled = true
    target_port = 8080
    traffic_weight {
      percentage = 100
      latest_revision = true
    }
    clientCertificateMode = "require"
  }
  template {
    container {
      name   = "test"
      image  = "username/test:latest"
      cpu    = 0.25
      memory = "0.5Gi"
    }
  }
}

References

No response

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