Skip to content

Commit

Permalink
Rename : TF | Test | Sample Test Code
Browse files Browse the repository at this point in the history
  • Loading branch information
unchaptered committed Feb 2, 2024
1 parent 275ad91 commit 3242464
Show file tree
Hide file tree
Showing 11 changed files with 35 additions and 461 deletions.
38 changes: 35 additions & 3 deletions terraform/test/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
[< Backaward](../README.md)
# Terratest

# Test Guide

Terraform Test is designed by [Spacelift - terraform-test](https://spacelift.io/blog/terraform-test)
## 1. golangci-lint

Use `golangci-lint` to lint golang.

### 1.a. Installation

- References : https://golangci-lint.run/usage/install/#binaries

Use git-bash to install golangci-lint in Windows.

```shell
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2

golangci-lint --version
```

If this way fail to install golangci-lint, use choco.

| Of course, choco installation is not provided official provider. <br> So golangci-lint is successfully working in Windows.

```shell
choco install golangci-lint
```

### 1.b. Configuration

- References : https://golangci-lint.run/usage/configuration/

```shell
golangci-lint linters
```

```yml
```
58 changes: 0 additions & 58 deletions terraform/test/folder_module.py

This file was deleted.

9 changes: 0 additions & 9 deletions terraform/test/main.py

This file was deleted.

47 changes: 0 additions & 47 deletions terraform/test/mod/cli_module.py

This file was deleted.

24 changes: 0 additions & 24 deletions terraform/test/mod/cli_runner.py

This file was deleted.

69 changes: 0 additions & 69 deletions terraform/test/mod/config_modules.py

This file was deleted.

104 changes: 0 additions & 104 deletions terraform/test/mod/process_module.py

This file was deleted.

Loading

0 comments on commit 3242464

Please sign in to comment.