Files
homelab-v/tofu/state
renovate[bot]Vegard Hagenrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
fb5337c772 chore(deps): renovate 2025-08-03
chore(deps): update proxmox-csi-plugin docker tag to v0.3.13 (#351)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

chore(deps): update helm release argo-cd to v8.2.5 (#352)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

chore(deps): update ghcr.io/advplyr/audiobookshelf docker tag to v2.27.0 (#353)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

chore(deps): update netbird (#354)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

chore(deps): update terraform kubernetes to v2.38.0 (#355)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

chore(deps): update terraform google to ~> 6.46.0 (#357)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

chore(deps): update media containers (#358)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

chore(deps): update helm release cloudnative-pg to v0.25.0 (#360)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

chore(deps): update helm release kube-prometheus-stack to v75.15.1 (#361)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

chore(deps): update docker.io/adguard/adguardhome docker tag to v0.107.64 (#362)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

chore(deps): update dependency siderolabs/talos to v1.10.6 (#363)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

chore(deps): update docker.io/grafana/grafana docker tag to v12 (#367)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

chore(deps): update terraform proxmox to v0.81.0 (#366)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

chore(deps): update cilium (#364)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-05 21:05:34 +02:00
..
2025-08-05 21:05:34 +02:00

Google Cloud Storage

Example configuration for creating Google Cloud Storage bucket for storing an encrypted Tofu state in.

Prerequisites

Google Cloud Platform project with an active Billing Account.

Getting started

  1. Install gcloud — Instructions: https://cloud.google.com/sdk/docs/install-sdk
  2. Run gcloud init
  3. Authenticate using gcloud auth application-default login

Before initialising, disable the GCS backend in providers.tofu (by e.g. commenting it out) since we can't store the state in something that doesn't exist yet.

After the initial tofy apply to create the bucket, the state can be migrated by adding

backend "gcs" {
  bucket = var.bucket_name
  prefix = var.state_prefix
}

back in and running

tofu init -migrate-state

to migrate the state to the remote GCS bucket.