Terraform gcp withe shared vpc, gke

I am writing terraform file in gcp to create shared vpc, gke, compute engine in the service project of shared vpc. I am facing error for gke saying error 403 permission error service.hostagent even though it has required permissions. And also I M using service account key. Not sure whether it's correct approach like I created service account in host project and I added that service account id in the iam of service project. Using host project service key. Is tat right approach?. Thaks.

Read more here: https://stackoverflow.com/questions/68024861/terraform-gcp-withe-shared-vpc-gke

Content Attribution

This content was originally published by Nikhil brusli at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: