Skip to content

Commit 742117c

Browse files
Merge pull request #55 from clouddrove/issue-460
added version.tf in example and fixed tflint
2 parents 17c9434 + 25246da commit 742117c

30 files changed

+437
-378
lines changed

.editorconfig

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# EditorConfig is awesome: http://EditorConfig.org
2+
# Uses editorconfig to maintain consistent coding styles
3+
4+
# top-most EditorConfig file
5+
root = true
6+
7+
# Unix-style newlines with a newline ending every file
8+
[*]
9+
charset = utf-8
10+
end_of_line = lf
11+
indent_size = 2
12+
indent_style = space
13+
insert_final_newline = true
14+
max_line_length = 80
15+
trim_trailing_whitespace = true
16+
17+
[*.{tf,tfvars}]
18+
indent_size = 2
19+
indent_style = space
20+
21+
[*.md]
22+
max_line_length = 0
23+
trim_trailing_whitespace = false
24+
25+
[Makefile]
26+
tab_width = 2
27+
indent_style = tab
28+
29+
[COMMIT_EDITMSG]
30+
max_line_length = 0

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# These owners will be the default owners for everything in the repo.
2+
* @anmolnagpal @clouddrove/approvers @clouddrove-ci

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## what
2+
* Describe high-level what changed as a result of these commits (i.e. in plain-english, what do these changes mean?)
3+
* Use bullet points to be concise and to the point.
4+
5+
## why
6+
* Provide the justifications for the changes (e.g. business case).
7+
* Describe why these changes were made (e.g. why do these commits fix the problem?)
8+
* Use bullet points to be concise and to the point.
9+
10+
## references
11+
* Link to any supporting jira issues or helpful documentation to add some context (e.g. stackoverflow).
12+
* Use `closes #123`, if this PR closes a Jira issue `#123`

.github/workflows/auto_assignee.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Auto Assign PRs
2+
3+
on:
4+
pull_request:
5+
types: [opened, reopened]
6+
7+
workflow_dispatch:
8+
jobs:
9+
assignee:
10+
uses: clouddrove/github-shared-workflows/.github/workflows/auto_assignee.yml@master
11+
secrets:
12+
GITHUB: ${{ secrets.GITHUB }}
13+
with:
14+
assignees: 'clouddrove-ci'

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ jobs:
1010
uses: clouddrove/github-shared-workflows/.github/workflows/changelog.yml@master
1111
secrets: inherit
1212
with:
13-
branch: 'master'
13+
branch: 'master'

.github/workflows/readme.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,33 @@ on:
55
- master
66

77
jobs:
8-
readme-create:
8+
readme:
99
name: 'readme-create'
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: 'Checkout'
1313
uses: actions/checkout@master
1414

1515
- name: 'Set up Python 3.7'
16-
uses: actions/setup-python@v2
16+
uses: actions/setup-python@v4
1717
with:
1818
python-version: '3.x'
1919

2020
- name: 'create readme'
2121
uses: 'clouddrove/github-actions@v9.0.2'
2222
with:
2323
actions_subcommand: 'readme'
24-
github_token: '${{ secrets.GITHUB}}'
24+
github_token: '${{ secrets.GITHUB }}'
2525
env:
26-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2727

2828

2929
- name: 'pre-commit check errors'
30-
uses: pre-commit/action@v2.0.0
30+
uses: pre-commit/action@v3.0.0
3131
continue-on-error: true
3232

3333
- name: 'pre-commit fix erros'
34-
uses: pre-commit/action@v2.0.0
34+
uses: pre-commit/action@v3.0.0
3535
continue-on-error: true
3636

3737
- name: 'push readme'
@@ -40,7 +40,7 @@ jobs:
4040
with:
4141
actions_subcommand: 'push'
4242
env:
43-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4444

4545
- name: 'Slack Notification'
4646
uses: clouddrove/action-slack@v2
@@ -51,4 +51,4 @@ jobs:
5151
env:
5252
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required
5353
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required
54-
if: always()
54+
if: always()

.github/workflows/terraform.yml

Lines changed: 0 additions & 86 deletions
This file was deleted.

.github/workflows/terratest.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/tf-checks.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: tf-checks
2+
on:
3+
push:
4+
branches: [ master ]
5+
pull_request:
6+
workflow_dispatch:
7+
jobs:
8+
memcached:
9+
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master
10+
with:
11+
working_directory: './_example/memcached/'
12+
redis:
13+
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master
14+
with:
15+
working_directory: './_example/redis/'
16+
redis-cluster:
17+
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master
18+
with:
19+
working_directory: './_example/redis-cluster/'

.github/workflows/tflint.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: tf-lint
2+
on:
3+
push:
4+
branches: [ master ]
5+
pull_request:
6+
workflow_dispatch:
7+
jobs:
8+
tflint:
9+
uses: clouddrove/test-tfsec/.github/workflows/tflint.yaml@master
10+
secrets:
11+
GITHUB: ${{ secrets.GITHUB }}

.github/workflows/tfsec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ jobs:
88
uses: clouddrove/github-shared-workflows/.github/workflows/tfsec.yml@master
99
secrets: inherit
1010
with:
11-
working_directory: '.'
11+
working_directory: '.'

0 commit comments

Comments
 (0)