diff --git a/pkg/configs/parser_config.go b/pkg/configs/parser_config.go index 0998739..12233a1 100644 --- a/pkg/configs/parser_config.go +++ b/pkg/configs/parser_config.go @@ -119,5 +119,8 @@ var configFileSchema = &hcl.BodySchema{ { Type: "import", }, + { + Type: "removed", + }, }, } diff --git a/pkg/tfvar/testdata/normal/main.tf b/pkg/tfvar/testdata/normal/main.tf index e88de6b..00ffb6b 100644 --- a/pkg/tfvar/testdata/normal/main.tf +++ b/pkg/tfvar/testdata/normal/main.tf @@ -17,3 +17,11 @@ import { id = "i-123545" to = aws_instance.b } + +removed { + from = aws_instance.c + lifecycle { + destroy = false + } +} +