Skip to content

Commit

Permalink
Align to coding conventions (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
brettcurtis authored Sep 15, 2024
1 parent 3b3e656 commit 0176d12
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
<!-- BEGIN_TF_DOCS -->
### Requirements

No requirements.
Expand All @@ -75,7 +75,7 @@ No requirements.

| Name | Version |
|------|---------|
| <a name="provider_google"></a> [google](#provider\_google) | 5.40.0 |
| <a name="provider_google"></a> [google](#provider\_google) | 6.2.0 |

### Modules

Expand Down Expand Up @@ -106,6 +106,5 @@ No modules.
| Name | Description |
|------|-------------|
| <a name="output_name"></a> [name](#output\_name) | Bucket name |
| <a name="output_project"></a> [project](#output\_project) | The ID of the project in which the resource belongs |
| <a name="output_url"></a> [url](#output\_url) | Bucket URL |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
<!-- END_TF_DOCS -->
5 changes: 0 additions & 5 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit 0176d12

Please sign in to comment.