Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dynamodb_table backend parameter #10

Merged
merged 1 commit into from
Jan 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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")