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

Container App max replica limit is too low #22417

Closed
1 task done
cmazza87 opened this issue Jul 7, 2023 · 1 comment · Fixed by #22511
Closed
1 task done

Container App max replica limit is too low #22417

cmazza87 opened this issue Jul 7, 2023 · 1 comment · Fixed by #22511

Comments

@cmazza87
Copy link

cmazza87 commented Jul 7, 2023

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 "+1" or "me too" comments, 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.

Terraform Version

1.3.9

AzureRM Provider Version

3.64.0

Affected Resource(s)/Data Source(s)

azurerm_container_app

Terraform Configuration Files

resource "azurerm_container_app" "app" {
    name                            = var.app
    container_app_environment_id    = azurerm_container_app_environment.cae.id
    resource_group_name             = var.resource_group
    revision_mode                   = var.revision_mode

  template {
        min_replicas = 1
        max_replicas = 40

        container {
          name = var.name
          image = var.image
          cpu = var.cpu
          memory = var.memory
        }

         registry {
            server = var.registry
            identity = var.acr_identity
         }
}

Debug Output/Panic Output

│ Error: expected template.0.max_replicas to be in the range (1 - 30), got 40

with module.containerapp.azurerm_container_app.app,
on ..\..\modules\containerapp\ca.tf line 582, in resource "azurerm_container_app" "app":
582:    max_replicas  = "40"

Expected Behaviour

The maximum replicas for this container app revision should be set to 40.

Actual Behaviour

The error message above.

Steps to Reproduce

terraform plan

Important Factoids

No response

References

Microsoft's documentation states the maximum number of replicas in a Container App Environment revision is 300 by default per this page, so the limit of 30 is too low and should be increased.

Copy link

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants