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
10 months agoxhilmi
1 year agonqthien041292
1 year agomshafa
1 year, 1 month agoJason_Cloud_at
1 year, 1 month agolelele2023
1 year, 1 month ago