Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align to coding conventions #6

Merged
merged 1 commit into from
Sep 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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