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 custom scaling rules in container apps #21207

Closed
1 task done
chrisclifton opened this issue Mar 30, 2023 · 1 comment · Fixed by #23294
Closed
1 task done

Support for custom scaling rules in container apps #21207

chrisclifton opened this issue Mar 30, 2023 · 1 comment · Fixed by #23294

Comments

@chrisclifton
Copy link

chrisclifton commented Mar 30, 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

Description

AZ API allows you to set custom scaling rules in the container template. Current AZ API implementation looks something like:

body = {
  template = {
    scale = {
      rules = [
        {
          name = "name"
          custom = {
            type = "http"
            metadata : {
              concurrentRequests: "100"
            }
          }
        }
      ]
    }
  }
}

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

azurerm_container_app

Potential Terraform Configuration

resource azurerm_container_app example {
  template {
    rules {
      "name" = {
        type = "http"
        concurrentRequests = 100
      },
      "name2" = {
        type = "queue"
        queueLength = 10
        queueName = "queuename"
      }
    }
  }
}

References

No response

jsok added a commit to jsok/terraform-provider-azurerm that referenced this issue Apr 4, 2023
jsok added a commit to jsok/terraform-provider-azurerm that referenced this issue Apr 4, 2023
jsok added a commit to jsok/terraform-provider-azurerm that referenced this issue Jun 12, 2023
Copy link

github-actions bot commented May 6, 2024

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 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants