terraform-google-modules/terraform-google-bastion-host

missing env when trying to run kubectl commands from the bastion

meirhazon2 opened this issue · 0 comments

Hello,
Looks like an awesome project, works really great.
I would like to run kubectl command from the bastion.
what would be the best way to get the k8s env for the bastion.
I have added the following permission to the bastion already,
service_account_roles = [
"roles/logging.logWriter",
"roles/monitoring.metricWriter",
"roles/monitoring.viewer",
"roles/compute.osLogin",
"roles/container.clusterAdmin",
]

Thanks so much,
Meir