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 "Additional TCP ports" on azurerm_container_app #26565

Open
1 task done
arielectron opened this issue Jul 8, 2024 · 0 comments
Open
1 task done

Support for "Additional TCP ports" on azurerm_container_app #26565

arielectron opened this issue Jul 8, 2024 · 0 comments

Comments

@arielectron
Copy link

arielectron commented Jul 8, 2024

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.
image

Currently we cannot configure the additional TCP ports for Azure Container Apps

Description

Hi Hashicorp Team.

i hope you are doing well.

I have a problem with this Azure Container App settings, I need to add Additional TCP ports in my infress configuration and it is not allowed for azurerm_container_app. I added the setting manually, but it will be removed when I need to make other changes from the terraform.

I have not experence in Gooland, but I have a large experece as developer in other languages. If you think I can help, let me know.

I found the az cli have the way to configure that here:
https://learn.microsoft.com/en-us/cli/azure/containerapp?view=azure-cli-latest#az-containerapp-create

using the --exposed-port flag

Bests.
Thanks.
Ariel.

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

azurerm_container_app

Potential Terraform Configuration

resource "azurerm_container_app" "my-app" {
  name = "my-app"
...
...
...

  ingress {
    target_port = 80
    traffic_weight {
      percentage      = 100
      latest_revision = true
    }
    transport        = "auto"
    external_enabled = true

    additional_tcp_ports {
      target_port = 443
      external_port = 4433
    }

    additional_tcp_ports {
      target_port = 443
      external_port = 4443
    }
  }

...
...
...
}

References

No response

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

No branches or pull requests

2 participants