Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchEnv ¶
FetchEnv returns environment variables needed for Terraform to operate in a GCP project. When ImpersonateServiceAccount is set, GOOGLE_IMPERSONATE_SERVICE_ACCOUNT is exported so the Terraform google provider calls iamcredentials.generateAccessToken on demand and handles token refresh automatically — avoiding the 1-hour static-token expiry problem.
Types ¶
Click to show internal directories.
Click to hide internal directories.