-3

Create login accounts for organization and team members of a organization, attach the accounts to master billing account.Each and every individual should be able to create account using his official email id. Similar to trail accounts. Accounts should be active for small duration of time and then suspend the account post duration is completed.

I was looking at giving a try with serverless frame work.

Expected result all users should be able to create account and use the service with in the specified time and then the account should be supspended.

1 Answers1

0

I believe what you are looking for is actually creating projects for a limited time (e.g. for testing purposes). You can create and delete projects via gcloud SDK using gcloud projects create and update IAM policies on that project using this guide. See the organizationID parameter in project creation command so you can bind the project to your organization and its billing.

I am not aware of time-limited projects tho, so you will need to schedule some cleanup task either using Cloud Scheduler or any other Cron

petomalina
  • 1,820
  • 2
  • 15
  • 23