From 628b50f900b22be59c4a5cca8ecd3d69d727c7f8 Mon Sep 17 00:00:00 2001 From: Daniel Schroeder Date: Fri, 16 Aug 2019 16:38:38 +0200 Subject: [PATCH] configs/configupgrade: typo fix (#22469) --- .../testdata/valid/redundant-list/want/redundant-list.tf | 2 +- configs/configupgrade/upgrade_body.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 fd974b98d9..6edecb3792 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 39f71f3d61..2eddfa0773 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" +