devops-exercises/topics/gcp/exercises/create_project/main.tf
Arie Bregman 7cceb86b38 Update
2022-10-23 13:02:53 +03:00

10 lines
286 B
HCL

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"
}