Your company recently migrated to Google Cloud. You need to design a fast, reliable, and repeatable solution for your company to provision new projects and basic resources in Google Cloud. What should you do?
A.
Use the Google Cloud console to create projects.
B.
Write a script by using the gcloud CLI that passes the appropriate parameters from the request. Save the script in a Git repository.
C.
Write a Terraform module and save it in your source control repository. Copy and run the terraform apply command to create the new project.
D.
Use the Terraform repositories from the Cloud Foundation Toolkit. Apply the code with appropriate parameters to create the Google Cloud project and related resources.
Choose D.
Using Terraform and the Cloud Foundation Toolkit ensures that you have a structured and version-controlled approach to provisioning resources. It also facilitates automation and scalability, making it easier to manage projects and resources across different environments.
Options A and B may lack the repeatability and version control benefits provided by IaC solutions like Terraform. While option C mentions Terraform, it doesn't specify using a toolkit or best practices for cloud foundation setup.
In summary, option D with Terraform and the Cloud Foundation Toolkit aligns with best practices for Infrastructure as Code, providing a fast, reliable, and repeatable solution for provisioning projects and resources in Google Cloud.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
alpha_canary
8 months, 2 weeks agoxhilmi
10 months, 3 weeks agonqthien041292
11 months agomshafa
12 months agoJason_Cloud_at
1 year agolelele2023
12 months ago