devops-exercises/topics/gcp/exercises/create_project/main.tf

10 lines
286 B
Terraform
Raw Normal View History

2022-10-23 12:02:53 +02:00
resource "google_project" "gcp_project" {
name = "Some Project"
project_id = "some-unique-project-id"
folder_id = google_folder.some_folder.name
}
resource "google_folder" "some_folder" {
display_name = "Department 1"
parent = "organizations/some-organization"
}