mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-08-25 14:53:19 +00:00
feat: Add gcloud tofu code to automatically create gcs buckets to use as remote backend. Also setup workload identity federation, and store it to infisical, to use it in github actions. Signed-off-by: Karteek <[email protected]> feat(tofu): modularise gcs-state Create a Google Cloud Storage (GCS) bucket and store the state for doing it in the bucket itself Signed-off-by: Vegard Hagen <[email protected]> feat(wif): enable workload identify federation Signed-off-by: Vegard Hagen <[email protected]>
5 lines
245 B
HCL
5 lines
245 B
HCL
output "tofu_dev_service_account_email" {
|
|
description = "The email of the service account that GitHub Actions will impersonate. Use this for the GCP_SERVICE_ACCOUNT_EMAIL GitHub secret."
|
|
value = module.gcs.tofu_service_account.email
|
|
}
|