diff --git a/avm/res/app/container-app/README.md b/avm/res/app/container-app/README.md index d55ef832d9..236de18344 100644 --- a/avm/res/app/container-app/README.md +++ b/avm/res/app/container-app/README.md @@ -481,7 +481,7 @@ module containerApp 'br/public:avm/res/app/container-app:' = { | [`revisionSuffix`](#parameter-revisionsuffix) | string | User friendly suffix that is appended to the revision name. | | [`roleAssignments`](#parameter-roleassignments) | array | Array of role assignments to create. | | [`scaleMaxReplicas`](#parameter-scalemaxreplicas) | int | Maximum number of container replicas. Defaults to 10 if not set. | -| [`scaleMinReplicas`](#parameter-scaleminreplicas) | int | Minimum number of container replicas. | +| [`scaleMinReplicas`](#parameter-scaleminreplicas) | int | Minimum number of container replicas. Defaults to 3 if not set. | | [`scaleRules`](#parameter-scalerules) | array | Scaling rules. | | [`secrets`](#parameter-secrets) | secureObject | The secrets of the Container App. | | [`tags`](#parameter-tags) | object | Tags of the resource. | @@ -808,15 +808,15 @@ Maximum number of container replicas. Defaults to 10 if not set. - Required: No - Type: int -- Default: `1` +- Default: `10` ### Parameter: `scaleMinReplicas` -Minimum number of container replicas. +Minimum number of container replicas. Defaults to 3 if not set. - Required: No - Type: int -- Default: `0` +- Default: `3` ### Parameter: `scaleRules` diff --git a/avm/res/app/container-app/main.bicep b/avm/res/app/container-app/main.bicep index 744ad3411a..7ef6ed7246 100644 --- a/avm/res/app/container-app/main.bicep +++ b/avm/res/app/container-app/main.bicep @@ -27,10 +27,10 @@ param ingressAllowInsecure bool = true param ingressTargetPort int = 80 @description('Optional. Maximum number of container replicas. Defaults to 10 if not set.') -param scaleMaxReplicas int = 1 +param scaleMaxReplicas int = 10 -@description('Optional. Minimum number of container replicas.') -param scaleMinReplicas int = 0 +@description('Optional. Minimum number of container replicas. Defaults to 3 if not set.') +param scaleMinReplicas int = 3 @description('Optional. Scaling rules.') param scaleRules array = [] diff --git a/avm/res/app/container-app/main.json b/avm/res/app/container-app/main.json index 7ec3817453..97c1bf140a 100644 --- a/avm/res/app/container-app/main.json +++ b/avm/res/app/container-app/main.json @@ -5,8 +5,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.26.54.24096", - "templateHash": "2491578115600463169" + "version": "0.26.170.59819", + "templateHash": "11829581770848647649" }, "name": "Container Apps", "description": "This module deploys a Container App.", @@ -178,16 +178,16 @@ }, "scaleMaxReplicas": { "type": "int", - "defaultValue": 1, + "defaultValue": 10, "metadata": { "description": "Optional. Maximum number of container replicas. Defaults to 10 if not set." } }, "scaleMinReplicas": { "type": "int", - "defaultValue": 0, + "defaultValue": 3, "metadata": { - "description": "Optional. Minimum number of container replicas." + "description": "Optional. Minimum number of container replicas. Defaults to 3 if not set." } }, "scaleRules": { diff --git a/avm/res/app/container-app/version.json b/avm/res/app/container-app/version.json index 7fa401bdf7..9481fea58e 100644 --- a/avm/res/app/container-app/version.json +++ b/avm/res/app/container-app/version.json @@ -1,6 +1,6 @@ { "$schema": "https://aka.ms/bicep-registry-module-version-file-schema#", - "version": "0.1", + "version": "0.2", "pathFilters": [ "./main.json" ]