This commit is contained in:
Arie Bregman
2022-10-23 13:02:53 +03:00
parent d2f681f56e
commit 7cceb86b38
17 changed files with 672 additions and 318 deletions

View File

@@ -0,0 +1,9 @@
# Create a Project
## Objectives
1. Create a project with a unique name
## Solution
Click [here](solution.md) to view the solution

View File

@@ -0,0 +1,10 @@
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"
}

View File

@@ -0,0 +1,19 @@
# Create a Project
## Objectives
1. Create a project with a unique name
## Solution
### Console
1. Click in the top bar on "New Project" (if you already have a project then, click on the project name and then "New Project") or in the search bar insert "Create Project".
2. Insert a globally unique project name
3. Optionally choose an organization
4. Optionally put it under a specific folder
5. Click on "Create" :)
### Terraform
Click [here](main.tf) to view the solution

View File

@@ -0,0 +1,10 @@
terraform {
required_version = ">=1.3.0"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 4.10.0, < 5.0"
}
}
}