Different ways of authenticating your google cloud in terraform
Step 1:How to create a service account to authenticate your google cloud
Login to google cloud console -> Search for IAM, then click on service accounts in the left side and follow as per the image for creating new service account
Step 1.1:
Step 1.2: Enter Service account name and Service account id will be automatically populated and then click on create and continue
Step 1.3:
Select Role as Owner as per the below picture
Step 1.4 Keep the values as it is and click on continue
Step 1.5: Select the service account created
Step 1.6: Click on keys
Step 1.7: Create new keys
Step 1.8:
2.If youโre running Terraform in a VM on Google Cloud, configure that VM to use a Google Service Account.
Top comments (0)