Skip to content

Commit

Permalink
Replace wata727 with terraform-linters
Browse files Browse the repository at this point in the history
  • Loading branch information
wata727 committed Nov 10, 2019
1 parent 629009c commit 5a5babc
Show file tree
Hide file tree
Showing 1,030 changed files with 1,352 additions and 1,352 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ checksum:
name_template: 'checksums.txt'
release:
github:
owner: wata727
owner: terraform-linters
name: tflint
draft: true
snapshot:
Expand Down
510 changes: 255 additions & 255 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN make build

FROM alpine:3.10 as prod

LABEL maintainer=wata727
LABEL maintainer=terraform-linters

RUN apk add --no-cache ca-certificates

Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# TFLint
[![Build Status](https://github.com/terraform-linters/tflint/workflows/build/badge.svg?branch=master)](https://github.com/terraform-linters/tflint/actions)
[![GitHub release](https://img.shields.io/github/release/wata727/tflint.svg)](https://github.com/wata727/tflint/releases/latest)
[![GitHub release](https://img.shields.io/github/release/terraform-linters/tflint.svg)](https://github.com/terraform-linters/tflint/releases/latest)
[![Terraform Compatibility](https://img.shields.io/badge/terraform-%3E%3D%200.12-blue)](docs/guides/compatibility.md)
[![Docker Hub](https://img.shields.io/badge/docker-ready-blue.svg)](https://hub.docker.com/r/wata727/tflint/)
[![Docker Hub](https://img.shields.io/badge/docker-ready-blue.svg)](https://hub.docker.com/r/terraform-linters/tflint/)
[![License: MPL 2.0](https://img.shields.io/badge/License-MPL%202.0-blue.svg)](LICENSE)
[![Go Report Card](https://goreportcard.com/badge/github.com/wata727/tflint)](https://goreportcard.com/report/github.com/wata727/tflint)
[![Go Report Card](https://goreportcard.com/badge/github.com/terraform-linters/tflint)](https://goreportcard.com/report/github.com/terraform-linters/tflint)

TFLint is a [Terraform](https://www.terraform.io/) linter focused on possible errors, best practices, etc.

Expand All @@ -27,10 +27,10 @@ TFLint finds such errors in advance:

## Installation

You can download the binary built for your architecture from [the latest release](https://github.com/wata727/tflint/releases/latest). The following is an example of installation on macOS:
You can download the binary built for your architecture from [the latest release](https://github.com/terraform-linters/tflint/releases/latest). The following is an example of installation on macOS:

```console
$ wget https://github.com/wata727/tflint/releases/download/v0.12.1/tflint_darwin_amd64.zip
$ wget https://github.com/terraform-linters/tflint/releases/download/v0.12.1/tflint_darwin_amd64.zip
$ unzip tflint_darwin_amd64.zip
Archive: tflint_darwin_amd64.zip
inflating: tflint
Expand All @@ -40,9 +40,9 @@ $ install tflint /usr/local/tflint/bin
$ tflint -v
```

For Linux based OS, you can use the [`install_linux.sh`](https://raw.githubusercontent.com/wata727/tflint/master/install_linux.sh) to automate the installation process, or try the following oneliner to download latest binary for AMD64 architecture.
For Linux based OS, you can use the [`install_linux.sh`](https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh) to automate the installation process, or try the following oneliner to download latest binary for AMD64 architecture.
```
$ curl -L "$(curl -s https://api.github.com/repos/wata727/tflint/releases/latest | grep -o -E "https://.+?_linux_amd64.zip")" > tflint.zip && unzip tflint.zip && rm tflint.zip
$ curl -L "$(curl -s https://api.github.com/repos/terraform-linters/tflint/releases/latest | grep -o -E "https://.+?_linux_amd64.zip")" > tflint.zip && unzip tflint.zip && rm tflint.zip
```

### Homebrew
Expand All @@ -55,10 +55,10 @@ $ brew install tflint

### Docker

You can also use [TFLint via Docker](https://hub.docker.com/r/wata727/tflint/).
You can also use [TFLint via Docker](https://hub.docker.com/r/terraform-linters/tflint/).

```console
$ docker run --rm -v $(pwd):/data -t wata727/tflint
$ docker run --rm -v $(pwd):/data -t terraform-linters/tflint
```

## Features
Expand Down Expand Up @@ -134,4 +134,4 @@ See [Developer guide](docs/DEVELOPING.md).

## Author

[Kazuma Watanabe](https://github.com/wata727)
[Kazuma Watanabe](https://github.com/terraform-linters)
10 changes: 5 additions & 5 deletions cmd/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ import (
"github.com/sourcegraph/jsonrpc2"
"github.com/spf13/afero"

"github.com/wata727/tflint/formatter"
"github.com/wata727/tflint/langserver"
"github.com/wata727/tflint/plugin"
"github.com/wata727/tflint/rules"
"github.com/wata727/tflint/tflint"
"github.com/terraform-linters/tflint/formatter"
"github.com/terraform-linters/tflint/langserver"
"github.com/terraform-linters/tflint/plugin"
"github.com/terraform-linters/tflint/rules"
"github.com/terraform-linters/tflint/tflint"
)

// Exit codes are int values that represent an exit code for a particular error.
Expand Down
4 changes: 2 additions & 2 deletions cmd/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (
hcl "github.com/hashicorp/hcl/v2"
"github.com/hashicorp/terraform/configs"
"github.com/hashicorp/terraform/terraform"
"github.com/wata727/tflint/rules"
"github.com/wata727/tflint/tflint"
"github.com/terraform-linters/tflint/rules"
"github.com/terraform-linters/tflint/tflint"
)

func TestCLIRun__noIssuesFound(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions cmd/option.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"log"
"strings"

"github.com/wata727/tflint/client"
"github.com/wata727/tflint/tflint"
"github.com/terraform-linters/tflint/client"
"github.com/terraform-linters/tflint/tflint"
)

// Options is an option specified by arguments.
Expand Down
4 changes: 2 additions & 2 deletions cmd/option_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (

"github.com/google/go-cmp/cmp"
flags "github.com/jessevdk/go-flags"
"github.com/wata727/tflint/client"
"github.com/wata727/tflint/tflint"
"github.com/terraform-linters/tflint/client"
"github.com/terraform-linters/tflint/tflint"
)

func Test_toConfig(t *testing.T) {
Expand Down
16 changes: 8 additions & 8 deletions docs/DEVELOPING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ There are three important packages to understand its behavior:

## How does it work

These processes are described in [`cmd/cli.go`](https://github.com/wata727/tflint/blob/master/cmd/cli.go).
These processes are described in [`cmd/cli.go`](https://github.com/terraform-linters/tflint/blob/master/cmd/cli.go).

### 1. Loading configurations

All Terraform's configuration files are represented as `configs.Config`. [`tflint/tflint.Loader`](https://github.com/wata727/tflint/blob/master/tflint/loader.go) uses the `(*configs.Parser) LoadConfigDir` and `configs.BuildConfig` to access to `configs.Config` in the same way as Terraform.
All Terraform's configuration files are represented as `configs.Config`. [`tflint/tflint.Loader`](https://github.com/terraform-linters/tflint/blob/master/tflint/loader.go) uses the `(*configs.Parser) LoadConfigDir` and `configs.BuildConfig` to access to `configs.Config` in the same way as Terraform.

Similarly, prepare `terraform.InputValues` using `(*configs.Parser) LoadValuesFile`.

### 2. Setting up a new Runner

A [`tflint/tflint.Runner`](https://github.com/wata727/tflint/blob/master/tflint/runner.go) is initialized for each `configs.Config`. These have their own evaluation context for that module, represented as `terraform.BuiltinEvalContext`.
A [`tflint/tflint.Runner`](https://github.com/terraform-linters/tflint/blob/master/tflint/runner.go) is initialized for each `configs.Config`. These have their own evaluation context for that module, represented as `terraform.BuiltinEvalContext`.

it uses `(*terraform.BuiltinEvalContext) EvaluateExpr` to evaluate expressions. Unlike Terraform, it provides a mechanism to determine if an expression can be evaluated.

Expand Down Expand Up @@ -56,9 +56,9 @@ Create: rules/awsrules/aws_instance_example.go
Create: rules/awsrules/aws_instance_example_test.go
```

A template of rules and tests is generated. In order to inspect configuration files, you need to understand [the Runner API](https://github.com/wata727/tflint/blob/master/tflint/runner.go).
A template of rules and tests is generated. In order to inspect configuration files, you need to understand [the Runner API](https://github.com/terraform-linters/tflint/blob/master/tflint/runner.go).

Finally, don't forget to register the created rule with [the provider](https://github.com/wata727/tflint/blob/master/rules/provider.go). After that the rule you created is enabled in TFLint.
Finally, don't forget to register the created rule with [the provider](https://github.com/terraform-linters/tflint/blob/master/rules/provider.go). After that the rule you created is enabled in TFLint.

## Editing the existing rules

Expand All @@ -70,9 +70,9 @@ Everything except the ones mentioned later is manually maintained. These can be

### SDK-based

[SDK-based rules](https://github.com/wata727/tflint/tree/master/rules/awsrules/models) are automatically generated from [aws-sdk](https://github.com/aws/aws-sdk-go) model definitions. For example, the valid regions of the S3 bucket are defined [here](https://github.com/aws/aws-sdk-go/blob/v1.23.11/models/apis/s3/2006-03-01/api-2.json#L1090-L1105). Based on this, we can generate a rule that checks whether a valid value is selected.
[SDK-based rules](https://github.com/terraform-linters/tflint/tree/master/rules/awsrules/models) are automatically generated from [aws-sdk](https://github.com/aws/aws-sdk-go) model definitions. For example, the valid regions of the S3 bucket are defined [here](https://github.com/aws/aws-sdk-go/blob/v1.23.11/models/apis/s3/2006-03-01/api-2.json#L1090-L1105). Based on this, we can generate a rule that checks whether a valid value is selected.

These definitions are linked to Terraform resource arguments by [mapping files](https://github.com/wata727/tflint/tree/master/rules/awsrules/models/mappings). If you update these rules, you should update this mapping instead. The following is an example of a mapping file:
These definitions are linked to Terraform resource arguments by [mapping files](https://github.com/terraform-linters/tflint/tree/master/rules/awsrules/models/mappings). If you update these rules, you should update this mapping instead. The following is an example of a mapping file:

```hcl
import = "aws-sdk-go/models/apis/ec2/2016-11-15/api-2.json"
Expand All @@ -91,7 +91,7 @@ $ go run ./model-rule-gen

### API-based

[API-based rules](https://github.com/wata727/tflint/tree/master/rules/awsrules/api) are automatically generated from [definition files](https://github.com/wata727/tflint/tree/master/rules/awsrules/api/definitions). An example definition file is shown below:
[API-based rules](https://github.com/terraform-linters/tflint/tree/master/rules/awsrules/api) are automatically generated from [definition files](https://github.com/terraform-linters/tflint/tree/master/rules/awsrules/api/definitions). An example definition file is shown below:

```hcl
rule "aws_instance_invalid_iam_profile" {
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ config {
}
ignore_module = {
"github.com/wata727/example-module" = true
"github.com/terraform-linters/example-module" = true
}
varfile = ["example1.tfvars", "example2.tfvars"]
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/aws_db_instance_default_parameter_group.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Notice: "default.mysql5.7" is default parameter group. You cannot edit it. (aws_
on template.tf line 13:
13: parameter_group_name = "default.mysql5.7" // default DB parameter group!
Reference: https://github.com/wata727/tflint/blob/v0.11.0/docs/rules/aws_db_instance_default_parameter_group.md
Reference: https://github.com/terraform-linters/tflint/blob/v0.11.0/docs/rules/aws_db_instance_default_parameter_group.md
```

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/aws_db_instance_previous_type.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Warning: "db.t1.micro" is previous generation instance type. (aws_db_instance_pr
on template.tf line 5:
5: instance_class = "db.t1.micro" // previous generation instance type!
Reference: https://github.com/wata727/tflint/blob/v0.11.0/docs/rules/aws_db_instance_previous_type.md
Reference: https://github.com/terraform-linters/tflint/blob/v0.11.0/docs/rules/aws_db_instance_previous_type.md
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Notice: "default.redis3.2" is default parameter group. You cannot edit it. (aws_
on template.tf line 9:
9: parameter_group_name = "default.redis3.2" // default paramete group!
Reference: https://github.com/wata727/tflint/blob/v0.11.0/docs/rules/aws_elasticache_cluster_default_parameter_group.md
Reference: https://github.com/terraform-linters/tflint/blob/v0.11.0/docs/rules/aws_elasticache_cluster_default_parameter_group.md
```

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/aws_elasticache_cluster_previous_type.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Warning: "cache.t1.micro" is previous generation node type. (aws_elasticache_clu
on template.tf line 6:
6: node_type = "cache.t1.micro" // previous node type!
Reference: https://github.com/wata727/tflint/blob/v0.11.0/docs/rules/aws_elasticache_cluster_previous_type.md
Reference: https://github.com/terraform-linters/tflint/blob/v0.11.0/docs/rules/aws_elasticache_cluster_previous_type.md
```

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/aws_instance_previous_type.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Warning: "t1.micro" is previous generation instance type. (aws_instance_previous
on template.tf line 3:
3: instance_type = "t1.micro" # previous instance type!
Reference: https://github.com/wata727/tflint/blob/v0.11.0/docs/rules/aws_instance_previous_type.md
Reference: https://github.com/terraform-linters/tflint/blob/v0.11.0/docs/rules/aws_instance_previous_type.md
```

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/aws_route_not_specified_target.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Error: The routing target is not specified, each aws_route must contain either e
on template.tf line 1:
1: resource "aws_route" "foo" {
Reference: https://github.com/wata727/tflint/blob/v0.11.0/docs/rules/aws_route_not_specified_target.md
Reference: https://github.com/terraform-linters/tflint/blob/v0.11.0/docs/rules/aws_route_not_specified_target.md
```

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/aws_route_specified_multiple_targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Error: More than one routing target specified. It must be one. (aws_route_specif
on template.tf line 1:
1: resource "aws_route" "foo" {
Reference: https://github.com/wata727/tflint/blob/v0.11.0/docs/rules/aws_route_specified_multiple_targets.md
Reference: https://github.com/terraform-linters/tflint/blob/v0.11.0/docs/rules/aws_route_specified_multiple_targets.md
```

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/terraform_dash_in_resource_name.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Notice: `dash-name` resource name has a dash (terraform_dash_in_resource_name)
on template.tf line 1:
1: resource "aws_eip" "dash-name" {
Reference: https://github.com/wata727/tflint/blob/v0.11.0/docs/rules/terraform_dash_in_resource_name.md
Reference: https://github.com/terraform-linters/tflint/blob/v0.11.0/docs/rules/terraform_dash_in_resource_name.md
```

Expand Down
4 changes: 2 additions & 2 deletions docs/rules/terraform_documented_outputs.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ Notice: `no_description` output has no description (terraform_documented_outputs
on template.tf line 1:
1: output "no_description" {
Reference: https://github.com/wata727/tflint/blob/v0.11.0/docs/rules/terraform_documented_outputs.md
Reference: https://github.com/terraform-linters/tflint/blob/v0.11.0/docs/rules/terraform_documented_outputs.md
Notice: `empty_description` output has no description (terraform_documented_outputs)
on template.tf line 5:
5: output "empty_description" {
Reference: https://github.com/wata727/tflint/blob/v0.11.0/docs/rules/terraform_documented_outputs.md
Reference: https://github.com/terraform-linters/tflint/blob/v0.11.0/docs/rules/terraform_documented_outputs.md
```

Expand Down
4 changes: 2 additions & 2 deletions docs/rules/terraform_documented_variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ Notice: `no_description` variable has no description (terraform_documented_varia
on template.tf line 1:
1: variable "no_description" {
Reference: https://github.com/wata727/tflint/blob/v0.11.0/docs/rules/terraform_documented_variables.md
Reference: https://github.com/terraform-linters/tflint/blob/v0.11.0/docs/rules/terraform_documented_variables.md
Notice: `empty_description` variable has no description (terraform_documented_variables)
on template.tf line 5:
5: variable "empty_description" {
Reference: https://github.com/wata727/tflint/blob/v0.11.0/docs/rules/terraform_documented_variables.md
Reference: https://github.com/terraform-linters/tflint/blob/v0.11.0/docs/rules/terraform_documented_variables.md
```

Expand Down
6 changes: 3 additions & 3 deletions docs/rules/terraform_module_pinned_source.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,21 @@ Warning: Module source "git://hashicorp.com/consul.git" is not pinned (terraform
on template.tf line 2:
2: source = "git://hashicorp.com/consul.git"
Reference: https://github.com/wata727/tflint/blob/v0.11.0/docs/rules/terraform_module_pinned_source.md
Reference: https://github.com/terraform-linters/tflint/blob/v0.11.0/docs/rules/terraform_module_pinned_source.md
Warning: Module source "git://hashicorp.com/consul.git?ref=master" uses default ref "master" (terraform_module_pinned_source)
on template.tf line 6:
6: source = "git://hashicorp.com/consul.git?ref=master"
Reference: https://github.com/wata727/tflint/blob/v0.11.0/docs/rules/terraform_module_pinned_source.md
Reference: https://github.com/terraform-linters/tflint/blob/v0.11.0/docs/rules/terraform_module_pinned_source.md
Warning: Module source "hg::http://hashicorp.com/consul.hg?rev=default" uses default rev "default" (terraform_module_pinned_source)
on template.tf line 10:
10: source = "hg::http://hashicorp.com/consul.hg?rev=default"
Reference: https://github.com/wata727/tflint/blob/v0.11.0/docs/rules/terraform_module_pinned_source.md
Reference: https://github.com/terraform-linters/tflint/blob/v0.11.0/docs/rules/terraform_module_pinned_source.md
```

Expand Down
2 changes: 1 addition & 1 deletion formatter/checkstyle.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/xml"
"fmt"

"github.com/wata727/tflint/tflint"
"github.com/terraform-linters/tflint/tflint"
)

type checkstyleError struct {
Expand Down
2 changes: 1 addition & 1 deletion formatter/checkstyle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"

hcl "github.com/hashicorp/hcl/v2"
"github.com/wata727/tflint/tflint"
"github.com/terraform-linters/tflint/tflint"
)

func Test_checkstylePrint(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion formatter/formatter.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"io"

"github.com/wata727/tflint/tflint"
"github.com/terraform-linters/tflint/tflint"
)

// Formatter outputs appropriate results to stdout and stderr depending on the format
Expand Down
2 changes: 1 addition & 1 deletion formatter/formatter_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package formatter

import "github.com/wata727/tflint/tflint"
import "github.com/terraform-linters/tflint/tflint"

type testRule struct{}

Expand Down
2 changes: 1 addition & 1 deletion formatter/json.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"

hcl "github.com/hashicorp/hcl/v2"
"github.com/wata727/tflint/tflint"
"github.com/terraform-linters/tflint/tflint"
)

type jsonIssue struct {
Expand Down
2 changes: 1 addition & 1 deletion formatter/json_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"errors"
"testing"

"github.com/wata727/tflint/tflint"
"github.com/terraform-linters/tflint/tflint"
)

func Test_jsonPrint(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion formatter/pretty.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/fatih/color"
hcl "github.com/hashicorp/hcl/v2"
"github.com/hashicorp/hcl/v2/hclparse"
"github.com/wata727/tflint/tflint"
"github.com/terraform-linters/tflint/tflint"
)

var colorBold = color.New(color.Bold).SprintfFunc()
Expand Down
2 changes: 1 addition & 1 deletion formatter/pretty_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/fatih/color"
hcl "github.com/hashicorp/hcl/v2"
"github.com/wata727/tflint/tflint"
"github.com/terraform-linters/tflint/tflint"
)

func Test_prettyPrint(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/wata727/tflint
module github.com/terraform-linters/tflint

go 1.13

Expand Down
Loading

0 comments on commit 5a5babc

Please sign in to comment.