Authenticate Terraform with GCP using Service Account

Опубликовано: 15 Ноябрь 2024
на канале: Tech With Otabek
4,830
57

In this video we will learn how to authenticate Terraform with GCP using Service account

Steps include:

1. Create a Service Account
2. Generate Service Account Key File (JSON format)
3. Set Environment Variable (credentials)
4. Configure Provider
5. Add Google Cloud Storage Resource (Example)
6. Provide Role for Cloud Storage

👉 You can also authenticate Terraform with GCP using gcloud auth application-default login:    • Authenticate Terraform with GCP using...