Skip to content

Commit 56c0227

Browse files
authored
Merge pull request #6 from terraform-linters/revise_docs
Revise documentation
2 parents ef7dced + 1e11299 commit 56c0227

File tree

3 files changed

+17
-19
lines changed

3 files changed

+17
-19
lines changed

README.md

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,11 @@
1-
# WORKING IN PROGRESS AND MAINTAINER WANTED!
2-
3-
This project was started to support terraform-provider-google resources in TFLint. Everything is working in progress and not available as a plugin. If you are interested in this project, consider the following:
4-
5-
- Open an issue for the rule you want
6-
- Provider-specific knowledge is very important. Sharing the problems you faced will make it clear what we need to develop.
7-
- Write a rule and open a pull request
8-
- If you are already familiar with tflint rulesets, Writing rules to solve open issues helps all users of TFLint. If you are interested but are not familiar, please let us know. Support you as much as possible.
9-
- Make automatic rule generation system
10-
- In reality, it is impossible to manage rules for so many resources by hand. tflint has a mechanism to automatically generate AWS validation rules from aws-sdk (See [here](https://github.com/terraform-linters/tflint/blob/master/docs/DEVELOPING.md#sdk-based)). Building such a system can bring a lot of value at low cost.
11-
12-
See [terraform-lintes/tflint#606](https://github.com/terraform-linters/tflint/issues/606) for more details.
13-
141
# TFLint Ruleset for terraform-provider-google
152

163
TFLint ruleset plugin for Terraform Google Cloud Platform provider
174

185
## Requirements
196

20-
- TFLint v0.14+
21-
- Go v1.13
7+
- TFLint v0.20+
8+
- Go v1.15
229

2310
## Installation
2411

@@ -32,9 +19,7 @@ plugin "google" {
3219

3320
## Rules
3421

35-
|Name|Description|Severity|Enabled|Link|
36-
| --- | --- | --- | --- | --- |
37-
|google_compute_instance_example_type|Show machine type|ERROR|||
22+
100+ rules are available. See the [documentation](docs/README.md).
3823

3924
## Building the plugin
4025

docs/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Rules
2+
3+
This documentation describes a list of rules available by enabling this ruleset.
4+
5+
## Basic Rules
6+
7+
No rules
8+
9+
## Magic Modules Rules
10+
11+
These are the rules that warn against invalid values generated from [Magic Modules](https://github.com/terraform-linters/magic-modules). These rules are defined under the [`rules/magicmodules`](../rules/magicmodules) directory.
12+
13+
See the [`tools`](../tools) directory for how to generate these rules.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/terraform-linters/tflint-ruleset-google
22

3-
go 1.13
3+
go 1.15
44

55
require (
66
github.com/hashicorp/hcl/v2 v2.6.0

0 commit comments

Comments
 (0)