Currently when adding iam users (using "roles/cloudsql.client", "roles/cloudsql.instanceUser" service accounts). They wont have any roles granted on postgres database level. Is there way to achieve a permission grant on postgres level with the creation of the iam user.
iam_users = [{
id = module.service-account-dev["cdm-corporate-structure"].name
email = module.service-account-dev["cdm-corporate-structure"].email
}]
TL;DR
Currently when adding iam users (using "roles/cloudsql.client", "roles/cloudsql.instanceUser" service accounts). They wont have any roles granted on postgres database level. Is there way to achieve a permission grant on postgres level with the creation of the iam user.
Terraform Resources
Detailed design
Additional information
No response