Skip to content

Update terraform CI to execute in its own job - #398

Merged
ian-r-rose merged 1 commit into
mainfrom
tf_as_workflow
Oct 11, 2024
Merged

Update terraform CI to execute in its own job#398
ian-r-rose merged 1 commit into
mainfrom
tf_as_workflow

Conversation

@JamesSLogan

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
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