diff --git a/.gitignore b/.gitignore index e3857e1..9cc130f 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ terraform.tfvars terraform.tfstate terraform.tfstate.backup +tfplan* \ No newline at end of file diff --git a/README.md b/README.md index 67539ec..6b5902f 100644 --- a/README.md +++ b/README.md @@ -4,31 +4,6 @@ Provisions the infrastructure needed to use the Gemini Enterprise Agent Platform > **AI-generated code.** This module was scaffolded with AI assistance. Review all resources and IAM bindings before applying to a production project. -## Creating a GCP project - -```bash -# List available folders to find your folder ID -gcloud resource-manager folders list --organization=ORGANIZATION_ID - -# Create a new project inside a folder -gcloud projects create PROJECT_ID \ - --name="PROJECT_DISPLAY_NAME" \ - --folder=FOLDER_ID - -# Link a billing account (required before enabling APIs) -gcloud billing projects link PROJECT_ID \ - --billing-account=BILLING_ACCOUNT_ID - -# Verify -gcloud projects describe PROJECT_ID -``` - -To find your billing account ID: - -```bash -gcloud billing accounts list -``` - ## Prerequisites - Terraform >= 1.5.0 @@ -98,6 +73,33 @@ gcloud projects add-iam-policy-binding PROJECT_ID \ 2. Sign in with a Google account that has `roles/cloudaicompanion.user` on the project 3. In Settings, set **Cloud AI Companion: Project** to your `project_id` +## Creating a GCP project + +If you don't have a project yet: + +```bash +# List available folders to find your folder ID +gcloud resource-manager folders list --organization=ORGANIZATION_ID + +# Create a new project inside a folder +gcloud projects create PROJECT_ID \ + --name="PROJECT_DISPLAY_NAME" \ + --folder=FOLDER_ID + +# Link a billing account (required before enabling APIs) +gcloud billing projects link PROJECT_ID \ + --billing-account=BILLING_ACCOUNT_ID + +# Verify +gcloud projects describe PROJECT_ID +``` + +To find your billing account ID: + +```bash +gcloud billing accounts list +``` + ## License [MIT](LICENSE) © 2026 Slawomir Koszewski