Skip to content

Commit

Permalink
Move production state to gcs
Browse files Browse the repository at this point in the history
  • Loading branch information
ohrite committed Feb 20, 2025
1 parent e1552f0 commit 3d39229
Show file tree
Hide file tree
Showing 31 changed files with 74 additions and 25,591 deletions.
15 changes: 0 additions & 15 deletions iac/cal-itp-data-infra/disks/us/compute_disk.tf
Original file line number Diff line number Diff line change
Expand Up @@ -663,21 +663,6 @@ resource "google_compute_disk" "tfer--us-west1-c-002F-gke-data-infra-apps-0f-pvc
zone = "us-west1-c"
}

resource "google_compute_disk" "tfer--us-west1-c-002F-gke-data-infra-apps-0f-pvc-789ca26b-60f7-4b82-ba71-63b519969b5a" {
description = "{\"kubernetes.io/created-for/pv/name\":\"pvc-789ca26b-60f7-4b82-ba71-63b519969b5a\",\"kubernetes.io/created-for/pvc/name\":\"claim-chnvd\",\"kubernetes.io/created-for/pvc/namespace\":\"jupyterhub\"}"
name = "gke-data-infra-apps-0f-pvc-789ca26b-60f7-4b82-ba71-63b519969b5a"
physical_block_size_bytes = "4096"
project = "cal-itp-data-infra"
provisioned_iops = "0"
size = "10"
type = "pd-standard"
zone = "us-west1-c"

labels = {
goog-gke-volume = ""
}
}

resource "google_compute_disk" "tfer--us-west1-c-002F-gke-data-infra-apps-0f-pvc-998826b4-8586-42ac-b030-874e1c622155" {
description = "{\"kubernetes.io/created-for/pv/name\":\"pvc-998826b4-8586-42ac-b030-874e1c622155\",\"kubernetes.io/created-for/pvc/name\":\"prometheus-server\",\"kubernetes.io/created-for/pvc/namespace\":\"monitoring-prometheus\"}"

Expand Down
4 changes: 0 additions & 4 deletions iac/cal-itp-data-infra/disks/us/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,6 @@ output "google_compute_disk_tfer--us-west1-c-002F-gke-data-infra-apps-0f-pvc-5f1
value = google_compute_disk.tfer--us-west1-c-002F-gke-data-infra-apps-0f-pvc-5f1039b1-f4bb-48e0-b925-0b9f4936b92c.self_link
}

output "google_compute_disk_tfer--us-west1-c-002F-gke-data-infra-apps-0f-pvc-789ca26b-60f7-4b82-ba71-63b519969b5a_self_link" {
value = google_compute_disk.tfer--us-west1-c-002F-gke-data-infra-apps-0f-pvc-789ca26b-60f7-4b82-ba71-63b519969b5a.self_link
}

output "google_compute_disk_tfer--us-west1-c-002F-gke-data-infra-apps-0f-pvc-998826b4-8586-42ac-b030-874e1c622155_self_link" {
value = google_compute_disk.tfer--us-west1-c-002F-gke-data-infra-apps-0f-pvc-998826b4-8586-42ac-b030-874e1c622155.self_link
}
Expand Down
5 changes: 5 additions & 0 deletions iac/cal-itp-data-infra/disks/us/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,9 @@ terraform {
version = "~> 4.59.0"
}
}

backend "gcs" {
bucket = "calitp-prod-gcp-components-tfstate"
prefix = "cal-itp-data-infra/disks"
}
}
2,593 changes: 0 additions & 2,593 deletions iac/cal-itp-data-infra/disks/us/terraform.tfstate

This file was deleted.

5 changes: 5 additions & 0 deletions iac/cal-itp-data-infra/firewall/us/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,9 @@ terraform {
version = "~> 4.59.0"
}
}

backend "gcs" {
bucket = "calitp-prod-gcp-components-tfstate"
prefix = "cal-itp-data-infra/firewall"
}
}
Loading

0 comments on commit 3d39229

Please sign in to comment.