feat: Add Terraform configuration for GCP infrastructure and Docker setup
This commit is contained in:
parent
94499fd16e
commit
538fed9a66
10 changed files with 283 additions and 0 deletions
37
gcloud/tf/remote_state.tf
Normal file
37
gcloud/tf/remote_state.tf
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
// Remote state
|
||||
// ----------------------------------
|
||||
# variable "bucket_name" {
|
||||
# type = string
|
||||
# default = "headshed-dev-lab-k3s-bucket"
|
||||
# description = "headshed-dev-lab k3s Bucket"
|
||||
# }
|
||||
|
||||
# terraform {
|
||||
# # Use a shared bucket (wich allows collaborative work)
|
||||
# backend "gcs" {
|
||||
# bucket = "<my-bucket-for-states>"
|
||||
# prefix = "k3s-infra"
|
||||
# }
|
||||
|
||||
# // Set versions
|
||||
# required_version = ">=1.8.0"
|
||||
# required_providers {
|
||||
# google = {
|
||||
# source = "hashicorp/google"
|
||||
# version = ">=4.0.0"
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
|
||||
// The bucket where you can store other data
|
||||
# resource "google_storage_bucket" "k3s-storage" {
|
||||
# name = var.bucket_name
|
||||
# location = var.region
|
||||
|
||||
# labels = {
|
||||
# env = var.env
|
||||
# region = var.region
|
||||
# app = var.app_name
|
||||
# sensitive = "false"
|
||||
# }
|
||||
# }
|
||||
Loading…
Add table
Add a link
Reference in a new issue