You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[cloudinit_config.ci](https://registry.terraform.io/providers/hashicorp/cloudinit/latest/docs/data-sources/config)| data source |
@@ -68,15 +71,17 @@ Deploy a docker compose project to a Google Cloud Compute Instance.
68
71
| <aname="input_allowed_ssh_ipv4"></a> [allowed\_ssh\_ipv4](#input\_allowed\_ssh\_ipv4)| CIDR IPv4 Addresses allowed to to SSH into this site's GCP instance |`list(string)`|`[]`| no |
69
72
| <aname="input_allowed_ssh_ipv6"></a> [allowed\_ssh\_ipv6](#input\_allowed\_ssh\_ipv6)| CIDR IPv6 Addresses allowed to SSH into this site's GCP instance |`list(string)`|`[]`| no |
70
73
| <aname="input_disk_size_gb"></a> [disk\_size\_gb](#input\_disk\_size\_gb)| Data disk size in GB |`number`|`50`| no |
74
+
| <aname="input_disk_type"></a> [disk\_type](#input\_disk\_type)| The disk type for disks attached to the machine |`string`|`"hyperdisk-balanced"`| no |
71
75
| <aname="input_docker_compose_branch"></a> [docker\_compose\_branch](#input\_docker\_compose\_branch)| git branch to checkout for var.docker\_compose\_repo |`string`|`"main"`| no |
72
-
| <aname="input_docker_compose_down"></a> [docker\_compose\_down](#input\_docker\_compose\_down)| Command to stop the docker compose project |`string`|`"docker compose down"`| no |
73
-
| <aname="input_docker_compose_init"></a> [docker\_compose\_init](#input\_docker\_compose\_init)| After cloning the docker compose git repo, any initialization that needs to happen before the docker compose project can start |`string`|`""`| no |
74
-
| <aname="input_docker_compose_up"></a> [docker\_compose\_up](#input\_docker\_compose\_up)| Command to start the docker compose project |`string`|`"docker compose up --remove-orphans"`| no |
76
+
| <aname="input_docker_compose_down"></a> [docker\_compose\_down](#input\_docker\_compose\_down)| Command to stop the docker compose project |`list(string)`| <pre>[<br/> "docker compose down"<br/>]</pre> | no |
77
+
| <aname="input_docker_compose_init"></a> [docker\_compose\_init](#input\_docker\_compose\_init)| After cloning the docker compose git repo, any initialization that needs to happen before the docker compose project can start. One command per list value |`list(string)`|`[]`| no |
78
+
| <aname="input_docker_compose_up"></a> [docker\_compose\_up](#input\_docker\_compose\_up)| Command to start the docker compose project |`list(string)`| <pre>[<br/> "docker compose up --remove-orphans"<br/>]</pre> | no |
79
+
| <aname="input_initcmd"></a> [initcmd](#input\_initcmd)| Commands to run before /home/cloud-compose/run.sh |`list(string)`|`[]`| no |
75
80
| <aname="input_machine_type"></a> [machine\_type](#input\_machine\_type)| VM machine type (General-purpose series that support Hyperdisk Balanced |`string`|`"n4-standard-2"`| no |
76
-
| <aname="input_os"></a> [os](#input\_os)| The host OS to install on the GCP instance |`string`|`"cos-125-19216-104-25"`| no |
81
+
| <aname="input_os"></a> [os](#input\_os)| The host OS to install on the GCP instance |`string`|`"cos-125-19216-104-74"`| no |
77
82
| <aname="input_overlay_source_instance"></a> [overlay\_source\_instance](#input\_overlay\_source\_instance)| Name of production instance to get latest snapshot from (e.g., 'ojs-production'). Terraform will automatically use the most recent snapshot from this instance's data disk. Leave empty for production environments. |`string`|`""`| no |
78
83
| <aname="input_region"></a> [region](#input\_region)| GCP region for resources |`string`|`"us-east5"`| no |
79
-
| <aname="input_rootfs"></a> [rootfs](#input\_rootfs)| Path to additional rootfs files to copy into the VM. Files will be merged with the base rootfs. Example: '../platform/terraform/rootfs' |`string`|`""`| no |
84
+
| <aname="input_rootfs"></a> [rootfs](#input\_rootfs)| Path to additional rootfs files to copy into the VM. Files will be merged with the base rootfs. Example: '/path/to/custom/rootfs' |`string`|`""`| no |
80
85
| <aname="input_run_snapshots"></a> [run\_snapshots](#input\_run\_snapshots)| Enable daily snapshots of the data disk (recommended for production). Last seven days of snapshots are available. Also weekly snapshots for past year. |`bool`|`false`| no |
81
86
| <aname="input_runcmd"></a> [runcmd](#input\_runcmd)| Additional commands to run during cloud-init. Commands are executed after the main initialization. |`list(string)`|`[]`| no |
82
87
| <aname="input_users"></a> [users](#input\_users)| Map of usernames to lists of SSH public keys. Users will be created with docker group membership. Example: { "alice" = ["ssh-rsa AAAA..."], "bob" = ["ssh-ed25519 AAAA...", "ssh-rsa BBBB..."] } |`map(list(string))`|`{}`| no |
0 commit comments