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

infra: add terraform lock file #903

Merged
merged 1 commit into from
Oct 1, 2024
Merged

Conversation

davidweisse
Copy link
Contributor

No description provided.

@davidweisse davidweisse added the no changelog PRs not listed in the release notes label Oct 1, 2024
Copy link
Member

@katexochen katexochen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@davidweisse can you add this as additional job in workflows/static.yml in a follow up PR, so the lockfile automatically updates and commits the lockfile changes on renovate PR? Checkout the go-source job as example.

packages/scripts.nix Outdated Show resolved Hide resolved
runtimeInputs = with pkgs; [ terraform ];
text = ''
set -euo pipefail
find infra -type f -name "*.tf" -exec dirname {} \; | sort -u | while read -r dir; do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Compared to the script in constellation we are not filtering out submodules of the same module, but should be ok for now.

@davidweisse davidweisse force-pushed the dav/terraform-lock-file branch 2 times, most recently from 319250a to 1baef70 Compare October 1, 2024 11:39
@davidweisse davidweisse merged commit 6940cc6 into main Oct 1, 2024
19 checks passed
@davidweisse davidweisse deleted the dav/terraform-lock-file branch October 1, 2024 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog PRs not listed in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants