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: python script is returning wrong org name #83

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
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def find_terragrunt_hcl_files(root_dir=projects_dir)->list:
return hcl_files


def find_orgs_from_filenames(hcl_files, index_of_key=5)->dict:
def find_orgs_from_filenames(hcl_files, index_of_key=-3)->dict:
""" Find all orgs given a set of terragrunt.hcl file paths

Args:
Expand Down
2 changes: 1 addition & 1 deletion organizations/.github/workflows/on-pull-and-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ jobs:
- name: GCP Auth
id: auth
uses: google-github-actions/auth@v2

with:
workload_identity_provider: "${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}"
service_account: "${{ secrets.GCP_SERVICE_ACCOUNT }}"
cleanup_credentials: false

- name: Check Terraform Format
id: fmt
Expand Down
Loading