Member
Provides a IAM Member for a project.
const serviceAccount = provider.iam.makeServiceAccount({
name: "sa",
propertie: () => ({
accountId: "sa-dev",
displayName: "SA dev",
}),
});
const iamMember = provider.makeProjectIamMember({
name: "iam-member",
dependencies: () => ({ serviceAccount: "sa" }),
properties: () => ({
roles: ["roles/storage.objectViewer", "roles/logging.logWriter"],
}),
});