Skip to content
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
1 change: 0 additions & 1 deletion .docker/forge-github-app-register/app.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import io
import json
import os
Expand Down
24 changes: 15 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
repos:
# General Hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: check-yaml
always_run: true
Expand Down Expand Up @@ -32,8 +32,6 @@ repos:
always_run: true
- id: debug-statements
always_run: true
- id: fix-encoding-pragma
always_run: true
- id: name-tests-test
always_run: true
- id: destroyed-symlinks
Expand Down Expand Up @@ -100,9 +98,14 @@ repos:
args:
- --ignore=E501

- repo: https://github.com/asottile/pyupgrade
rev: v3.20.0
hooks:
- id: pyupgrade

# JSON Schema Hooks
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.33.2
rev: 0.33.3
hooks:
- id: check-github-workflows
- id: check-github-actions
Expand All @@ -113,10 +116,13 @@ repos:
- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.30
hooks:
- id: terragrunt-hclfmt
- id: terragrunt-hcl-fmt
- id: tofu-fmt
- id: tofu-validate
- id: packer-validate

- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.99.5
rev: v1.100.0
hooks:
- id: terraform_fmt
args:
Expand All @@ -125,7 +131,7 @@ repos:
- id: terraform_tflint
args:
- --hook-config=--tf-path=tofu
exclude: (modules/integrations/splunk_cloud_data_manager|modules/infra/forge_subscription|modules/integrations/splunk_secrets/|modules/infra/eks_secrets/)
exclude: (modules/integrations/splunk_cloud_data_manager|modules/infra/forge_subscription|modules/integrations/splunk_secrets/)
always_run: true
- id: terraform_validate
args:
Expand All @@ -140,7 +146,7 @@ repos:
args:
- --hook-config=--tf-path=tofu
- --args=--config=.terraform-docs.yml
exclude: (modules/integrations/splunk_cloud_data_manager|modules/infra/forge_subscription|modules/integrations/splunk_secrets/|modules/infra/eks_secrets/)
exclude: (modules/integrations/splunk_cloud_data_manager|modules/infra/forge_subscription|modules/integrations/splunk_secrets/)

# Security Hooks
- repo: https://github.com/gitleaks/gitleaks
Expand All @@ -151,6 +157,6 @@ repos:

# Ansible Hooks
- repo: https://github.com/ansible-community/ansible-lint.git
rev: v25.7.0
rev: v25.8.1
hooks:
- id: ansible-lint
42 changes: 0 additions & 42 deletions modules/infra/eks_secrets/README.md

This file was deleted.

4 changes: 0 additions & 4 deletions modules/infra/eks_secrets/backend.tf

This file was deleted.

105 changes: 0 additions & 105 deletions modules/infra/eks_secrets/main.tf

This file was deleted.

24 changes: 0 additions & 24 deletions modules/infra/eks_secrets/providers.tf

This file was deleted.

4 changes: 0 additions & 4 deletions modules/infra/eks_secrets/tags.tf

This file was deleted.

26 changes: 0 additions & 26 deletions modules/infra/eks_secrets/variables.tf

This file was deleted.

16 changes: 0 additions & 16 deletions modules/infra/eks_secrets/versions.tf

This file was deleted.

3 changes: 0 additions & 3 deletions modules/integrations/splunk_aws_billing/lambda/common.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# -*- coding: utf-8 -*-

# -*- coding: utf-8 -*-
import gzip
import json
import os
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import io
import json
from urllib.parse import unquote
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import calendar
import io
import json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import calendar
import io
import json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import base64 # noqa: E402
import json # noqa: E402
import logging # noqa: E402
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import base64 # noqa: E402
import json # noqa: E402
import logging # noqa: E402
Expand Down
10 changes: 10 additions & 0 deletions scripts/migrate-all-tenants.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
SCRIPT="./migrate-tenant.sh"
TENANTS_DIR=$1

for tenant in "$TENANTS_DIR"/*; do
if [ -d "$tenant" ]; then
echo ">>> Migrating tenant: $(basename "$tenant")"
"$SCRIPT" --tf-dir "$tenant"
fi
done
Loading