GKE Autopilot cluster gets created with default service account #15902
kkalchuri-solutelabs
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Team,
I am trying to create a GKE private Autopilot cluster via Pulumi typescript. I am creating a custom service account with limited IAM permission and want to attach the same to autopilot cluster instead of using default service account.
I tried multiple code changes but my Autopilot cluster is getting created with
default
service account only. Using this Pulumi package for autopilot cluster creation.I came across terraform issue discussion where many users are facing similar default account issue.
hashicorp/terraform-provider-google#9505
I tried the listed solution to use
clusterAutoscaling
but Pulumi says it conflicts with theenable_autopilot
, same behavior with node pool, you can't change much in Autopilot cluster.Why Pulumi or terraform is failing to attach custom service account to autopilot cluster?
Any suggestions I can try?
Beta Was this translation helpful? Give feedback.
All reactions