diff --git a/configs/configupgrade/testdata/valid/redundant-list/want/redundant-list.tf b/configs/configupgrade/testdata/valid/redundant-list/want/redundant-list.tf index fd974b98d..6edecb379 100644 --- a/configs/configupgrade/testdata/valid/redundant-list/want/redundant-list.tf +++ b/configs/configupgrade/testdata/valid/redundant-list/want/redundant-list.tf @@ -17,7 +17,7 @@ resource "test_instance" "bad2" { resource "test_instance" "bad3" { # TF-UPGRADE-TODO: In Terraform v0.10 and earlier, it was sometimes necessary to # force an interpolation expression to be interpreted as a list by wrapping it - # in an extra set of list brackets. That form was supported for compatibilty in + # in an extra set of list brackets. That form was supported for compatibility in # v0.11, but is no longer supported in Terraform v0.12. # # If the expression in the following list itself returns a list, remove the diff --git a/configs/configupgrade/upgrade_body.go b/configs/configupgrade/upgrade_body.go index 39f71f3d6..2eddfa077 100644 --- a/configs/configupgrade/upgrade_body.go +++ b/configs/configupgrade/upgrade_body.go @@ -236,7 +236,7 @@ func attributeRule(filename string, wantTy cty.Type, an *analysis, exprRule func buf.WriteString( "# TF-UPGRADE-TODO: In Terraform v0.10 and earlier, it was sometimes necessary to\n" + "# force an interpolation expression to be interpreted as a list by wrapping it\n" + - "# in an extra set of list brackets. That form was supported for compatibilty in\n" + + "# in an extra set of list brackets. That form was supported for compatibility in\n" + "# v0.11, but is no longer supported in Terraform v0.12.\n" + "#\n" + "# If the expression in the following list itself returns a list, remove the\n" +