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

Update terraform CI to execute in its own job #398

Merged
merged 1 commit into from
Oct 11, 2024
Merged

Conversation

JamesSLogan
Copy link
Contributor

Fixes #319

This ended up being more painful than the related task in Caltrans' repo due to the terraform-docs automation. The terraform-docs action works for our use case, though it requires 1 invocation per file and also has a bug (see use of $OUTPUT_FILE here) that means it only fully works on 1 of our 3 files.

@JamesSLogan JamesSLogan self-assigned this Oct 10, 2024
@ian-r-rose
Copy link
Member

I'm also open to deleting the terraform-docs functionality, I haven't found it that useful. But if you figured it out, then that's great too!

@JamesSLogan
Copy link
Contributor Author

I guess I would leave that up to you all! It should work either way...I did test the scenarios where files do get changed.

@ian-r-rose ian-r-rose merged commit 11a1609 into main Oct 11, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't require terraform set up to run pre-commit checks
3 participants