You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a setup where multiple tenants are deployed on an AWS RDS postgres cluster. Each tenant's owner user (a postgres role) can only login with IAM. Atlas supports this in the simple case but I can't get it work in case i want to it for several tenants. I'm looking to do something like this:
Error: data.aws_rds_token.owner: decoding body: atlas.hcl:56,3-11: Unsupported argument; An argument named "for_each" is not expected here., and 2 other diagnostic(s)
That seems to indicate that for_each is simply not supported for the data sources. Since the "username" part is variable for each tenant i'm not sure how else i would achieve this (Apart from not using for_each at all). Am i missing something?
The text was updated successfully, but these errors were encountered:
I have a setup where multiple tenants are deployed on an AWS RDS postgres cluster. Each tenant's owner user (a postgres role) can only login with IAM. Atlas supports this in the simple case but I can't get it work in case i want to it for several tenants. I'm looking to do something like this:
But atlas will given an error with the following:
That seems to indicate that for_each is simply not supported for the data sources. Since the "username" part is variable for each tenant i'm not sure how else i would achieve this (Apart from not using for_each at all). Am i missing something?
The text was updated successfully, but these errors were encountered: