We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When handling Terraform blocks in Go files, when a line contains more than one Go format verb, the --fmtcompat flag does not replace any of the flags.
--fmtcompat
provider "aws" { ignore_tags { keys = [%[1]q, %[2]q] } skip_credentials_validation = true skip_get_ec2_platforms = true skip_metadata_api_check = true skip_requesting_account_id = true }
ignore_tags { keys = ["@@_@@ TFMT:%[1]q:TFMT @@_@@", "@@_@@ TFMT:%[2]q:TFMT @@_@@"] }
ignore_tags { keys = [%[1]q, %[2]q] }
resource "aws_accessanalyzer_analyzer" "test" { analyzer_name = %[1]q tags = { %[2]q = %[3]q } }
tags = { "@@_@@ TFMT:%[2]q:TFMT @@_@@" = "@@_@@ TFMT:%[3]q:TFMT @@_@@" }
tags = { %[2]q = "@@_@@ TFMT:%[3]q:TFMT @@_@@" }
Needed for hashicorp/terraform-provider-aws#14722
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
When handling Terraform blocks in Go files, when a line contains more than one Go format verb, the
--fmtcompat
flag does not replace any of the flags.Example 1
Expected
Got
Example 2
Expected
Got
Needed for hashicorp/terraform-provider-aws#14722
The text was updated successfully, but these errors were encountered: