Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable is not getting substituted in impersonation_chain parameter of GKEStartPodOperator #187

Open
Nik77777777 opened this issue Jun 3, 2024 · 0 comments

Comments

@Nik77777777
Copy link

impersonation_chain:
- "abc@abc-{{ var.value.env }}000.iam.gserviceaccount.com"

impersonation_chain: ["abc@abc-{{ var.value.env }}000.iam.gserviceaccount.com"]

Both above ways of parameter passing of GKEStartPodOperator gives below error (variables passing are working fine in rest of the yaml code and this impersonation_chain thing works in normal python code of dag):
Unable to acquire impersonated credentials', '{\n "error": {\n "code": 400,\n "message": "Invalid form of account ID abc@abc-{{ var.value.env }}000.iam.gserviceaccount.com. Should be [Gaia ID |Email |Unique ID |] of the account",\n "status": "INVALID_ARGUMENT"\n }\n}\n')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant