Skip to content

Commit

Permalink
Align to coding conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
brettcurtis committed Sep 15, 2024
1 parent 2afe4f3 commit 657f1cb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 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 @@ -67,12 +67,12 @@ 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 -->
### Providers

| Name | Version |
|------|---------|
| google | 5.40.0 |
| google | 6.2.0 |

### Resources

Expand All @@ -98,6 +98,5 @@ terraform test
| Name | Description |
|------|-------------|
| name | The network name |
| project | The ID of the project in which the resource belongs |
| self\_link | The URI of the created resource |
<!-- 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_compute_network.this.name
}

output "project" {
description = "The ID of the project in which the resource belongs"
value = var.project
}

output "self_link" {
description = "The URI of the created resource"
value = google_compute_network.this.self_link
Expand Down
3 changes: 3 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Input Variables
# https://www.terraform.io/language/values/variables

variable "name" {
description = "Name of the network to create"
type = string
Expand Down

0 comments on commit 657f1cb

Please sign in to comment.