From 695cdb3ac126403b7a603bf0a8ee1c640c335937 Mon Sep 17 00:00:00 2001 From: Brett Curtis Date: Thu, 22 Feb 2024 17:50:12 -0500 Subject: [PATCH 1/2] Align with Infracost tagging policies --- .pre-commit-config.yaml | 2 +- global/infra/README.md | 4 ++-- global/infra/main.tf | 7 ++++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 349301d..5c1d712 100755 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,7 +21,7 @@ repos: verbose: false - repo: https://github.com/antonbabenko/pre-commit-terraform - rev: v1.83.6 + rev: v1.88.0 hooks: - id: terraform_fmt diff --git a/global/infra/README.md b/global/infra/README.md index 86779ad..e80b1d2 100644 --- a/global/infra/README.md +++ b/global/infra/README.md @@ -9,13 +9,13 @@ No requirements. | Name | Version | |------|---------| -| [google](#provider\_google) | 5.8.0 | +| [google](#provider\_google) | 5.17.0 | ## Modules | Name | Source | Version | |------|--------|---------| -| [project](#module\_project) | github.com/osinfra-io/terraform-google-project//global | v0.1.8 | +| [project](#module\_project) | github.com/osinfra-io/terraform-google-project//global | v0.1.9 | ## Resources diff --git a/global/infra/main.tf b/global/infra/main.tf index ca07bf4..edc710d 100644 --- a/global/infra/main.tf +++ b/global/infra/main.tf @@ -51,9 +51,10 @@ module "project" { folder_id = var.folder_id labels = { - "environment" = var.environment, - "description" = "identity", - "platform" = "google-cloud-landing-zone", + env = var.environment + repository = "google-cloud-workload-identity" + platform = "google-cloud-landing-zone" + team = "platform-google-cloud-landing-zone" } prefix = "plt-lz" From d951699b4fb788cd300aaed88cf833cdaeb15ac2 Mon Sep 17 00:00:00 2001 From: Brett Curtis Date: Thu, 22 Feb 2024 17:56:04 -0500 Subject: [PATCH 2/2] Add CodeRabbit configuration --- .coderabbit.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .coderabbit.yaml diff --git a/.coderabbit.yaml b/.coderabbit.yaml new file mode 100644 index 0000000..4fdb225 --- /dev/null +++ b/.coderabbit.yaml @@ -0,0 +1,13 @@ +# CodeRabbit Configuration File +# https://coderabbit.ai/docs/get-started/customize-coderabbit + +# yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json + +early_access: true +reviews: + request_changes_workflow: true + auto_review: + enabled: true + poem: false +chat: + auto_reply: true