-
Notifications
You must be signed in to change notification settings - Fork 2
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
Pull in Upstream Changes #16
Conversation
Autoupdate pre-commit hooks. Add mypy.
…ignore Add .mypy_cache to .gitignore
This should resolve the issue seen when the Python version changes before there is an update to .pre-commit-config.yml which results in pre-commit pointing to a non-existent Python installation.
Incorporate the Python version into keys for pip and pre-commit caches.
…cks to environment variables declared before the job block.
Change Cache Paths to Environment Variables
…ame as long as they are not nested in the same heading group.
Add markdownlint Configuration Option for MD024
terraform_validate_no_variables was changed to terraform_validate in the following commit: antonbabenko/pre-commit-terraform@35e0356. Ran pre-commit autoupdate.
Update pre-commit Hooks and Fix Broken Hook ID
…provements/upstream_updates
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic!
Add Terraform initialization to the GitHub Actions workflow.
…validate hook to work with our directory tree.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🍪
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice work, @mcdonnnj! I am following antonbabenko/pre-commit-terraform#100.
I made one suggestion, which you can take or leave.
main.tf
Outdated
@@ -7,6 +7,11 @@ | |||
# The AWS account ID being used | |||
data "aws_caller_identity" "current" {} | |||
|
|||
# Default provider information. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest moving this provider block above the aws_caller_identity
, or to a separate file called providers.tf
. No big deal if you disagree.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forgot to mention that I fixed this in 0176807 by moving it to providers.tf
. Thanks for the feedback!
…nto the providers.tf per excellent feedback.
…iminate changing directories.
… runs. +Add directive to find and initialize Terraform directories. -Removed directive that searched for Terraform directories.
… has been merged.
`pre-commit-terraform` hook since the PR I submitted, antonbabenko/pre-commit-terraform#100, was approved. This will fix issues with `skeleton-tf-module` related to multiple directories with Terraform code.
…hen the failure is with setup rather than hooks running.
…lding. Adjust description for pre-commit hook setup to better convey what is being done.
…commit-terraform_hook Update pre-commit Hooks to Include Bugfix
…provements/upstream_updates
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's still all good from me. 👍 Thanks for helping us get our Terraform house in order.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still looks good to me! Approved!
🗣 Description
This PR pulls in the changes in cisagov/skeleton-generic#40 (and a bit more from before).
💭 Motivation and Context
Keep it up to date!
🧪 Testing
pre-commit
runs without issue.📷 Screenshots (if appropriate)
🚥 Types of Changes
✅ Checklist