Skip to content

Commit 472dc07

Browse files
authored
Merge pull request #2588 from IABTechLab/swi-UID2-7165-gcp-max-replicas
UID2-7165 Update default GCP max_replicas to 1
2 parents b8bec76 + daab34f commit 472dc07

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/gcp-oidc/terraform/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ terraform destroy
7272
| uid_operator_key_secret_name | `string` | `"secret-operator-key"` | no | The name that you specify for your operator key secret. The Terraform template creates a secret in the GCP Secret Manager to hold the `uid_operator_key` value. You can define the name; for example, `uid2-operator-operator-key-secret-integ`. |
7373
| region | `string` | `"us-east1"` | no | The region that you want to deploy to. For a list of valid regions, see [Available regions and zones](https://cloud.google.com/compute/docs/regions-zones#available) in the Google Cloud documentation. <br>NOTE: The UID2 Private Operator implementation for GCP Confidential Space is not supported in these areas: Europe, China. |
7474
| network_name | `string` | `"uid-operator"` | no | The VPC resource name (also used for rules/ instance tags). |
75-
| max_replicas | `number` | `5` | no | Indicates the minimum number of replicas you want to deploy. |
76-
| min_replicas | `number` | `1` | no | Indicates the maximum number of replicas you want to deploy. |
75+
| max_replicas | `number` | `1` | no | Indicates the maximum number of replicas you want to deploy. |
76+
| min_replicas | `number` | `1` | no | Indicates the minimum number of replicas you want to deploy. |
7777
| debug_mode | `bool` | `false` | no | Do not set to true unless you are working with the UID2 team to debug an issue. In any other circumstances, if you set this flag to true, attestation will fail. |
7878
| ssl | `bool` | `false` | no | Set to true to enable SSL support, requires variable `ssl_certificate_domains` |
7979
| ssl_certificate_domains | `list(string)` | `[]` | no | A comma-delimited list of the target domains for this certificate, equires `ssl` to be set to `true`. <br> Note: you need to update your DNS record to point to load balancer's IP address |

scripts/gcp-oidc/terraform/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ variable "uid_operator_key_secret_name" {
4040

4141
variable "max_replicas" {
4242
type = number
43-
default = 5
43+
default = 1
4444
}
4545

4646
variable "min_replicas" {

0 commit comments

Comments
 (0)