From 62dd5f100cc2ffa22814da91eb8bf0bfbbc59dae Mon Sep 17 00:00:00 2001 From: Alexander Chernov Date: Tue, 19 Sep 2023 17:14:23 +0100 Subject: [PATCH] chore: added test covering https://github.com/alekc/terraform-provider-kubectl/pull/46 --- kubernetes/resource_kubectl_manifest_test.go | 34 +++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/kubernetes/resource_kubectl_manifest_test.go b/kubernetes/resource_kubectl_manifest_test.go index 03032218..297c9c29 100644 --- a/kubernetes/resource_kubectl_manifest_test.go +++ b/kubernetes/resource_kubectl_manifest_test.go @@ -89,8 +89,40 @@ YAML }) } -func TestAccKubectlUnknownNamespace(t *testing.T) { +func TestAccInconsistentPlanning(t *testing.T) { + //See https://github.com/alekc/terraform-provider-kubectl/pull/46 + config := ` +resource "kubectl_manifest" "secret" { + yaml_body = <