Skip to content

Commit bbe9c6d

Browse files
setup project. #skip
1 parent 0be5c66 commit bbe9c6d

File tree

5 files changed

+33
-52
lines changed

5 files changed

+33
-52
lines changed

.chglog/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ style: github
22
template: CHANGELOG.tpl.md
33
info:
44
title: CHANGELOG
5-
repository_url: https://github.com/terraform-module/TODO
5+
repository_url: https://github.com/terraform-module/terraform-aws-enforce-mfa
66
options:
77
header:
88
pattern: "^(.*)$"
99
pattern_maps:
10-
- Subject
10+
- Subject

.github/workflows/main.yaml

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Validator
1+
name: commit-check
22
# This workflow is triggered on pushes to the repository.
33
on: [push, pull_request, issues]
44

@@ -10,36 +10,21 @@ jobs:
1010
image: hashicorp/terraform:latest
1111
steps:
1212
- uses: actions/checkout@master
13+
with:
14+
fetch-depth: '1'
1315
- run: |
1416
terraform fmt --recursive -check=true
1517
1618
docs:
17-
name: Pre-Commit-Hook
19+
name: pre-commit-hook
1820
runs-on: macOS-latest
1921
steps:
2022
- uses: actions/checkout@master
23+
with:
24+
fetch-depth: '1'
2125
- name: Install Deps
2226
run: |
2327
brew install pre-commit terraform-docs terraform tflint
2428
- name: Check All Files
2529
run: |
2630
pre-commit run --all-files
27-
28-
minimum:
29-
name: Minimum version check
30-
runs-on: ubuntu-latest
31-
container:
32-
image: hashicorp/terraform:0.12.9
33-
steps:
34-
- uses: actions/checkout@master
35-
- name: Validate Code
36-
env:
37-
TF_WARN_OUTPUT_ERRORS: 1
38-
run: |
39-
cat > provider.tf <<~EOS
40-
provider "aws" {
41-
region = "us-west-1"
42-
}
43-
EOS
44-
terraform init
45-
terraform validate -var "alias_name=test"

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v3.0.1
3+
rev: v3.1.0
44
hooks:
55
- id: check-added-large-files
66
args: ['--maxkb=500']
@@ -17,7 +17,7 @@ repos:
1717
- id: detect-aws-credentials
1818
args: ['--allow-missing-credentials']
1919
- repo: git://github.com/antonbabenko/pre-commit-terraform
20-
rev: v1.30.0
20+
rev: v1.31.0
2121
hooks:
2222
- id: terraform_fmt
2323
- id: terraform_docs

Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,3 @@ validate: ## Validate with pre-commit hooks
1919

2020
changelog: ## Update changelog
2121
git-chglog -o CHANGELOG.md --next-tag `semtag final -s minor -o`
22-
23-
release: ## Create release version
24-
@semtag final -s minor

README.md

Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
# Module Blueprint
2-
3-
Terraform module blueprint
4-
5-
[![](https://img.shields.io/github/license/terraform-module/terraform-module-blueprint)](https://github.com/terraform-module/terraform-module-blueprint)
6-
![](https://img.shields.io/github/v/tag/terraform-module/terraform-module-blueprint)
7-
[![](https://img.shields.io/github/workflow/status/terraform-module/terraform-module-blueprint/Validator/master)](https://github.com/terraform-module/terraform-module-blueprint/actions?query=is%3Acompleted)
8-
![](https://github.com/terraform-module/terraform-module-blueprint/workflows/Validator/badge.svg)
9-
![](https://github.com/terraform-module/terraform-module-blueprint/workflows/Labeler/badge.svg)
10-
![](https://img.shields.io/issues/github/terraform-module/terraform-module-blueprint)
11-
![](https://img.shields.io/github/issues/terraform-module/terraform-module-blueprint)
12-
![](https://img.shields.io/github/issues-closed/terraform-module/terraform-module-blueprint)
13-
[![](https://img.shields.io/github/languages/code-size/terraform-module/terraform-module-blueprint)](https://github.com/terraform-module/terraform-module-blueprint)
14-
[![](https://img.shields.io/github/repo-size/terraform-module/terraform-module-blueprint)](https://github.com/terraform-module/terraform-module-blueprint)
15-
![](https://img.shields.io/github/languages/top/terraform-module/terraform-module-blueprint?color=green&logo=terraform&logoColor=blue)
16-
![](https://img.shields.io/github/commit-activity/m/terraform-module/terraform-module-blueprint)
17-
![](https://img.shields.io/github/contributors/terraform-module/terraform-module-blueprint)
18-
![](https://img.shields.io/github/last-commit/terraform-module/terraform-module-blueprint)
19-
[![Maintenance](https://img.shields.io/badge/Maintenu%3F-oui-green.svg)](https://GitHub.com/terraform-module/terraform-module-blueprint/graphs/commit-activity)
1+
# Module TERRAFORM-AWS-ENFORCE-MFA
2+
3+
Terraform module `terraform-aws-enforce-mfa`
4+
5+
[![](https://img.shields.io/github/license/terraform-module/terraform-aws-enforce-mfa)](https://github.com/terraform-module/terraform-aws-enforce-mfa)
6+
![](https://img.shields.io/github/v/tag/terraform-module/terraform-aws-enforce-mfa)
7+
[![](https://img.shields.io/github/workflow/status/terraform-module/terraform-aws-enforce-mfa/commit-check/master)](https://github.com/terraform-module/terraform-aws-enforce-mfa/actions?query=is%3Acompleted)
8+
![](https://github.com/terraform-module/terraform-aws-enforce-mfa/workflows/commit-check/badge.svg)
9+
![](https://github.com/terraform-module/terraform-aws-enforce-mfa/workflows/Labeler/badge.svg)
10+
![](https://img.shields.io/issues/github/terraform-module/terraform-aws-enforce-mfa)
11+
![](https://img.shields.io/github/issues/terraform-module/terraform-aws-enforce-mfa)
12+
![](https://img.shields.io/github/issues-closed/terraform-module/terraform-aws-enforce-mfa)
13+
[![](https://img.shields.io/github/languages/code-size/terraform-module/terraform-aws-enforce-mfa)](https://github.com/terraform-module/terraform-aws-enforce-mfa)
14+
[![](https://img.shields.io/github/repo-size/terraform-module/terraform-aws-enforce-mfa)](https://github.com/terraform-module/terraform-aws-enforce-mfa)
15+
![](https://img.shields.io/github/languages/top/terraform-module/terraform-aws-enforce-mfa?color=green&logo=terraform&logoColor=blue)
16+
![](https://img.shields.io/github/commit-activity/m/terraform-module/terraform-aws-enforce-mfa)
17+
![](https://img.shields.io/github/contributors/terraform-module/terraform-aws-enforce-mfa)
18+
![](https://img.shields.io/github/last-commit/terraform-module/terraform-aws-enforce-mfa)
19+
[![Maintenance](https://img.shields.io/badge/Maintenu%3F-oui-green.svg)](https://GitHub.com/terraform-module/terraform-aws-enforce-mfa/graphs/commit-activity)
2020

2121
## Usage example
2222

@@ -40,11 +40,10 @@ Error: no lines in file
4040

4141
<!-- START makefile-doc -->
4242
```
43-
$ make help
43+
$ make help
4444
hooks Commit hooks setup
4545
validate Validate with pre-commit hooks
46-
changelog Update changelog
47-
release Create release version
46+
changelog Update changelog
4847
```
4948
<!-- END makefile-doc -->
5049

@@ -67,10 +66,10 @@ Submit a pull request
6766

6867
# Authors
6968

70-
Currently maintained by [Ivan Katliarchuk](https://github.com/ivankatliarchuk) and these [awesome contributors](https://github.com/terraform-module/terraform-module-blueprint/graphs/contributors).
69+
Currently maintained by [Ivan Katliarchuk](https://github.com/ivankatliarchuk) and these [awesome contributors](https://github.com/terraform-module/terraform-aws-enforce-mfa/graphs/contributors).
7170

7271
[![ForTheBadge uses-git](http://ForTheBadge.com/images/badges/uses-git.svg)](https://GitHub.com/)
7372

7473
## Terraform Registry
7574

76-
- [Module](https://registry.terraform.io/modules/terraform-module/todo)
75+
- [Module](https://registry.terraform.io/modules/terraform-module/terraform-aws-enforce-mfa)

0 commit comments

Comments
 (0)