sparse-intern-71089
06/18/2021, 11:34 AMshy-bird-55689
06/18/2021, 11:39 AMsa = serviceaccount.Account(
resource_name="sa",
account_id="web-sa",
)
log_writer_iam = serviceaccount.IAMMember(
resource_name="log-writer-iam",
member=sa.email.apply(lambda email: f"serviceAccount:{email}"),
role="roles/logging.logWriter",
service_account_id=sa.name,
)
gorgeous-lifeguard-69736
06/18/2021, 11:40 AMshy-bird-55689
06/18/2021, 11:44 AMnutritious-shampoo-16116
06/18/2021, 6:36 PMgorgeous-lifeguard-69736
06/19/2021, 8:55 PMgorgeous-lifeguard-69736
06/19/2021, 8:56 PMgorgeous-lifeguard-69736
06/19/2021, 8:56 PM