From a42a71ad0f9db96a385795624ca28ce8bc87cab9 Mon Sep 17 00:00:00 2001 From: Venelin Date: Tue, 11 Jun 2024 11:02:07 +0100 Subject: [PATCH] enrol auth0 connection into PRC to fix panic --- provider/resources.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/provider/resources.go b/provider/resources.go index 69cfd342..dc141d22 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -47,7 +47,11 @@ var managedByPulumi = &tfbridge.DefaultInfo{Value: "Managed by Pulumi"} var metadata []byte func Provider() tfbridge.ProviderInfo { - p := shimv2.NewProvider(auth0Shim.NewProvider()) + p := shimv2.NewProvider(auth0Shim.NewProvider(), + shimv2.WithPlanResourceChange(func(tfResourceType string) bool { + return tfResourceType == "auth0_connection" + }) + ) prov := tfbridge.ProviderInfo{ P: p,