Skip to content

Commit

Permalink
Merge pull request #10 from Nklya/Fix-dynamodb_table-backend-parameter
Browse files Browse the repository at this point in the history
Fix dynamodb_table backend parameter
  • Loading branch information
Nklya authored Jan 27, 2024
2 parents 9d61eae + f623a50 commit 783d375
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Lint Code Base
uses: github/super-linter/slim@v4
uses: super-linter/super-linter/slim@v5
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_JSCPD: false
2 changes: 1 addition & 1 deletion config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
init:
s3:
bucket: terraform-state
dynamodb: terraform-lock
dynamodb_table: terraform-lock
region: us-east-1
profile: default
arch:
Expand Down
10 changes: 9 additions & 1 deletion tasks.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""invoke-terraform helpers v0.7"""
"""invoke-terraform helpers v0.8"""

from glob import glob
from os import getcwd, path
Expand Down Expand Up @@ -158,3 +158,11 @@ def diff(c):
print("Changed in this branch:")
for i in r.index.diff("origin/main", R=True):
print(f"File: {i.a_path}, change: {change.get(i.change_type, i.change_type)}")


@task
def docs(c):
"""
terraform-docs wrapper
"""
c.run("terraform-docs markdown . > README.md")

0 comments on commit 783d375

Please sign in to comment.