Skip to main content

IAM Member

Provides a IAM Member for a project.

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

Examples#

Properties#

Used By#