Created
July 27, 2022 20:00
-
-
Save ryanvgates/9fd6590c653a35c90aed68e9eaeb3ee7 to your computer and use it in GitHub Desktop.
Terraform Linting in CI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
..[ryan@server] - [~/my-project] - [Wed May 11, 02:42] | |
..[$] <( (git)-[main]-)> terraform fmt -check -diff | |
tf_code.tf | |
--- old/tf_code.tf | |
+++ new/tf_code.tf | |
@@ -5,5 +5,5 @@ | |
resource "aws_s3_bucket" "tf_course" { | |
bucket = "tf-course-20220511" | |
acl = "private"acl = "private" | |
} | |
\ No newline at end of file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment