diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6535199..a072ac1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,7 @@ repos: - id: check-symlinks - repo: https://github.com/antonbabenko/pre-commit-terraform - rev: v1.92.1 + rev: v1.95.0 hooks: - id: terraform_fmt @@ -29,7 +29,7 @@ repos: - id: terraform_docs - repo: https://github.com/bridgecrewio/checkov.git - rev: 3.2.219 + rev: 3.2.254 hooks: - id: checkov verbose: true diff --git a/README.md b/README.md index f1b13b6..2658fec 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ terraform test > A child module automatically inherits default (un-aliased) provider configurations from its parent. The provider versions below are informational only and do **not** need to align with the provider configurations from its parent. - + ### Requirements No requirements. @@ -75,7 +75,7 @@ No requirements. | Name | Version | |------|---------| -| [google](#provider\_google) | 5.40.0 | +| [google](#provider\_google) | 6.2.0 | ### Modules @@ -106,6 +106,5 @@ No modules. | Name | Description | |------|-------------| | [name](#output\_name) | Bucket name | -| [project](#output\_project) | The ID of the project in which the resource belongs | | [url](#output\_url) | Bucket URL | - + diff --git a/outputs.tf b/outputs.tf index eb12ffe..7d4da45 100644 --- a/outputs.tf +++ b/outputs.tf @@ -6,11 +6,6 @@ output "name" { value = google_storage_bucket.this.name } -output "project" { - description = "The ID of the project in which the resource belongs" - value = var.project -} - output "url" { description = "Bucket URL" value = google_storage_bucket.this.url diff --git a/variables.tf b/variables.tf index 15233d0..18062bb 100644 --- a/variables.tf +++ b/variables.tf @@ -28,15 +28,15 @@ variable "name" { description = "The name of the storage bucket" } -variable "public_access_prevention" { - description = "The public access prevention configuration for the bucket" +variable "project" { + description = "The ID of the project in which the resource belongs" type = string - default = "enforced" } -variable "project" { - description = "The ID of the project in which the resource belongs" +variable "public_access_prevention" { + description = "The public access prevention configuration for the bucket" type = string + default = "enforced" } variable "storage_class" {