From 298d745fb56f7ff9f79c0c216da6df0dbeed489d Mon Sep 17 00:00:00 2001 From: Andrew Nester Date: Fri, 13 Dec 2024 15:38:08 +0100 Subject: [PATCH] use TF provider 1.61.0 --- bundle/deploy/terraform/tfdyn/convert_app.go | 5 ----- bundle/deploy/terraform/tfdyn/convert_app_test.go | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/bundle/deploy/terraform/tfdyn/convert_app.go b/bundle/deploy/terraform/tfdyn/convert_app.go index f4849cab7..a07d81726 100644 --- a/bundle/deploy/terraform/tfdyn/convert_app.go +++ b/bundle/deploy/terraform/tfdyn/convert_app.go @@ -29,11 +29,6 @@ func (appConverter) Convert(ctx context.Context, key string, vin dyn.Value, out return err } - // Modify top-level keys. - vout, err = renameKeys(vout, map[string]string{ - "resources": "resource", - }) - if err != nil { return err } diff --git a/bundle/deploy/terraform/tfdyn/convert_app_test.go b/bundle/deploy/terraform/tfdyn/convert_app_test.go index 558961059..5f309d1c1 100644 --- a/bundle/deploy/terraform/tfdyn/convert_app_test.go +++ b/bundle/deploy/terraform/tfdyn/convert_app_test.go @@ -63,7 +63,7 @@ func TestConvertApp(t *testing.T) { assert.Equal(t, map[string]any{ "description": "app description", "name": "app_id", - "resource": []any{ + "resources": []any{ map[string]any{ "name": "job1", "job": map[string]any{