mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39:11 +00:00
scale down bot since rusty-bot uses less resources
This commit is contained in:
parent
9e057e8692
commit
6df856ac49
3 changed files with 7 additions and 6 deletions
|
@ -65,6 +65,7 @@ resource "google_compute_instance" "bot" {
|
|||
name = local.vmName
|
||||
machine_type = var.bot_instance_size
|
||||
zone = data.google_compute_zones.gcp_zones.names[random_integer.zone_index.result]
|
||||
allow_stopping_for_update = true
|
||||
|
||||
boot_disk {
|
||||
initialize_params {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
environment_tag = "prod"
|
||||
deploy_bot = true
|
||||
bot_instance_size = "e2-small"
|
||||
bot_instance_size = "e2-micro"
|
||||
ui_public_uri = "https://roleypoly.com"
|
||||
api_public_uri = "https://api-prod.roleypoly.com"
|
||||
allowed_callback_hosts = "https://roleypoly.com,https://next.roleypoly.com"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
environment_tag = "stage"
|
||||
deploy_bot = true
|
||||
bot_instance_size = "f1-micro"
|
||||
bot_instance_size = "e2-micro"
|
||||
ui_public_uri = "https://stage.roleypoly.com"
|
||||
api_public_uri = "https://api-stage.roleypoly.com"
|
||||
allowed_callback_hosts = "https://roleypoly.com,https://stage.roleypoly.com,https://*.roleypoly.pages.dev"
|
||||
|
|
Loading…
Add table
Reference in a new issue