Update .gitignore to include tfplan files and reorganize GCP project creation instructions in README

This commit is contained in:
2026-06-10 01:31:03 +02:00
parent 868e606e1f
commit ae5266136c
2 changed files with 28 additions and 25 deletions
+1
View File
@@ -5,3 +5,4 @@ terraform.tfvars
terraform.tfstate
terraform.tfstate.backup
tfplan*
+27 -25
View File
@@ -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