Created
July 30, 2024 20:24
-
-
Save socketbox/f079c37e0219673706e3a8e54b4c4915 to your computer and use it in GitHub Desktop.
tf_fmt_issue
This file contains 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
2024-07-30T16:23:34.410-0400 [INFO] Terraform version: 1.9.3 | |
2024-07-30T16:23:34.410-0400 [DEBUG] using github.com/hashicorp/go-tfe v1.51.0 | |
2024-07-30T16:23:34.410-0400 [DEBUG] using github.com/hashicorp/hcl/v2 v2.20.0 | |
2024-07-30T16:23:34.410-0400 [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1 | |
2024-07-30T16:23:34.410-0400 [DEBUG] using github.com/zclconf/go-cty v1.14.4 | |
2024-07-30T16:23:34.410-0400 [INFO] Go runtime version: go1.22.5 | |
2024-07-30T16:23:34.410-0400 [INFO] CLI args: []string{"/home/chb/.asdf/installs/terraform/1.9.3/bin/terraform", "fmt", "next_cloudfront.tf"} | |
2024-07-30T16:23:34.410-0400 [TRACE] Stdout is a terminal of width 159 | |
2024-07-30T16:23:34.410-0400 [TRACE] Stderr is a terminal of width 159 | |
2024-07-30T16:23:34.410-0400 [TRACE] Stdin is a terminal | |
2024-07-30T16:23:34.410-0400 [DEBUG] Attempting to open CLI config file: /home/chb/.terraformrc | |
2024-07-30T16:23:34.410-0400 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2024-07-30T16:23:34.410-0400 [DEBUG] checking for credentials in "/home/chb/.terraform.d/plugins" | |
2024-07-30T16:23:34.410-0400 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins | |
2024-07-30T16:23:34.410-0400 [DEBUG] will search for provider plugins in /home/chb/.terraform.d/plugins | |
2024-07-30T16:23:34.411-0400 [TRACE] getproviders.SearchLocalDirectory: found hashicorp.com/edu/hashicups v0.3.1 for x86_64 at /home/chb/.terraform.d/plugins/h | |
ashicorp.com/edu/hashicups/0.3.1/x86_64 | |
2024-07-30T16:23:34.411-0400 [DEBUG] ignoring non-existing provider search directory /home/chb/.local/share/terraform/plugins | |
2024-07-30T16:23:34.411-0400 [DEBUG] ignoring non-existing provider search directory /usr/share/cinnamon/terraform/plugins | |
2024-07-30T16:23:34.411-0400 [DEBUG] ignoring non-existing provider search directory /usr/share/gnome/terraform/plugins | |
2024-07-30T16:23:34.411-0400 [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins | |
2024-07-30T16:23:34.411-0400 [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins | |
2024-07-30T16:23:34.411-0400 [INFO] CLI command args: []string{"fmt", "next_cloudfront.tf"} | |
2024-07-30T16:23:34.411-0400 [TRACE] terraform fmt: Formatting next_cloudfront.tf | |
╷ | |
│ Error: Missing newline after block definition | |
│ | |
│ on next_cloudfront.tf line 68, in resource "aws_cloudfront_distribution" "next_app_cdn": | |
│ 65: lambda_function_association { | |
│ 66: event_type = "viewer-response" | |
│ 67: lambda_arn = "${aws_lambda_function.next_localization_response.arn}:${aws_lambda_function.next_localization_response.version}" | |
│ 68: }} | |
│ | |
│ A block definition must end with a newline. | |
╵ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment