Skip to content

Commit 375a4e8

Browse files
Add sample variables for autoscaling in readme (#166)
1 parent 8becafe commit 375a4e8

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

VARIABLES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,17 @@ Review the [observability_variables.tf](./terraform/observability_variables.tf)
203203
To configure the stack to automatically add or remove servers based on performance metrics, refer to the
204204
[autoscaling_variables.tf](./terraform/autoscaling_variables.tf) file for the variables to use.
205205

206-
Note that autoscaling is not supported when creating a stack using Terraform CLI. You need you create a [Resource Manager][orm]
206+
This is an example of how to configure autoscaling:
207+
```terraform
208+
use_autoscaling = true
209+
wls_metric = "CPU Load"
210+
min_threshold_percent = 10
211+
max_threshold_percent = 20
212+
ocir_user = "<ocir_user>"
213+
ocir_auth_token_id = "ocid1.vaultsecret.oc1.phx.xxxxxxxxxxxxxxx"
214+
```
215+
There are some prerequisites for using autoscaling. See [documentation](https://docs.oracle.com/en/cloud/paas/weblogic-cloud/user/components-oracle-weblogic-cloud.html#GUID-CE8B9AE0-0FE9-442A-9239-8B0DFD835119) for more details.
216+
Note that autoscaling is not supported when creating a stack using Terraform CLI. You need to create a [Resource Manager][orm]
207217
stack, or use the [Marketplace][marketplace].
208218

209219
[marketplace]: https://docs.oracle.com/iaas/Content/Marketplace/Concepts/marketoverview.htm

0 commit comments

Comments
 (0)