Question: berglas itself doesn't supply a read for membership, so I'm thinking I should implement something like iamMemberImporter. Having a read command is needed for terraform to know if updates are required (I'm guessing)
The import one is just for importing IAM resources. You'd need to do something more along the lines of read, parsing the policy and iterating over all the members.
WIP implementation
Missing read/update functions, tests.
Question: berglas itself doesn't supply a read for membership, so I'm thinking I should implement something like iamMemberImporter. Having a
read
command is needed for terraform to know if updates are required (I'm guessing)Any pointers would be useful.