diff options
author | Vincent Ambo <mail@tazj.in> | 2021-12-28T10·41+0300 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-12-28T12·57+0000 |
commit | 350c5eae46ed18c0d88233fa0d06f5e5cf14409b (patch) | |
tree | ad178c04a78b2545db1e7d237d41612ff15a947f /users/wpcarro | |
parent | 134cda28ac623b75d149e18a882272fd0af241df (diff) |
style(wpcarro/terraform): Apply terraform fmt to files r/3489
This is going to be enforced in CI very shortly (it already kind of was, but not really). Change-Id: I8569d030e31230f077371bd1644b75f048271a0e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4728 Tested-by: BuildkiteCI Autosubmit: tazjin <mail@tazj.in> Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: wpcarro <wpcarro@gmail.com>
Diffstat (limited to 'users/wpcarro')
-rw-r--r-- | users/wpcarro/terraform/gcp.tf | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/users/wpcarro/terraform/gcp.tf b/users/wpcarro/terraform/gcp.tf index b02be762ad73..a902f53e7360 100644 --- a/users/wpcarro/terraform/gcp.tf +++ b/users/wpcarro/terraform/gcp.tf @@ -1,16 +1,16 @@ provider "google" { project = "wpcarros-infrastructure" - region = "us-central1" - zone = "us-central1-a" + region = "us-central1" + zone = "us-central1-a" } data "google_compute_default_service_account" "default" {} resource "google_compute_instance" "default" { - name = "diogenes-2" + name = "diogenes-2" machine_type = "e2-standard-2" - zone = "us-central1-a" - hostname = "diogenes.wpcarro.dev" + zone = "us-central1-a" + hostname = "diogenes.wpcarro.dev" tags = [ "http-server", @@ -22,13 +22,13 @@ resource "google_compute_instance" "default" { device_name = "boot" initialize_params { - size = 10 + size = 10 image = "nixos-20-03" } } network_interface { - network = "default" + network = "default" subnetwork = "default" access_config { @@ -46,12 +46,12 @@ resource "google_compute_instance" "default" { } resource "google_compute_firewall" "default" { - name = "diogenes-firewall" + name = "diogenes-firewall" network = "default" allow { protocol = "tcp" - ports = ["6698"] + ports = ["6698"] } allow { |