Not able to add attributes directly for network_subnet_users in project factory #2835
-
Hey @ludoo, Im trying to create with project factory in .yaml file we have one field called "network_users" but I wanted it add "network_subnet_users" to grant users access on specific subnets only.
but when I modified this to
this works perfectly , it adds that user/service account to the subnet as network user.
Its not accepting this and start throwing error as
Could you please help me ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
FYI , i havent changed any project.schema.json or .tf file in module and I've updated the .auto.tfvars.json to give service account name in the form of "serviceAccount:service-account-email" after looking at groups output as its writing the output as "group:group-email" for project-factory projects only , I can keep both the form like "my-sa:serviceAccount:sa-email" or "my-sa:sa-email" , whichever works. |
Beta Was this translation helpful? Give feedback.
-
Hey @ALL , any help would help a lot |
Beta Was this translation helpful? Give feedback.
You can use
context.iam_principals
to mapgcp-devops
to whatever you want.