diff --git a/internal/framework5provider/ephemeral_lifecycle_resource.go b/internal/framework5provider/ephemeral_lifecycle_resource.go index 8e96ce0..3bc295e 100644 --- a/internal/framework5provider/ephemeral_lifecycle_resource.go +++ b/internal/framework5provider/ephemeral_lifecycle_resource.go @@ -11,10 +11,11 @@ import ( "github.com/hashicorp/terraform-plugin-framework/types" ) -var _ ephemeral.EphemeralResource = &EphemeralLifecycleResource{} -var _ ephemeral.EphemeralResourceWithConfigure = &EphemeralLifecycleResource{} -var _ ephemeral.EphemeralResourceWithRenew = &EphemeralLifecycleResource{} -var _ ephemeral.EphemeralResourceWithClose = &EphemeralLifecycleResource{} +var ( + _ ephemeral.EphemeralResourceWithConfigure = &EphemeralLifecycleResource{} + _ ephemeral.EphemeralResourceWithRenew = &EphemeralLifecycleResource{} + _ ephemeral.EphemeralResourceWithClose = &EphemeralLifecycleResource{} +) func NewEphemeralLifecycleResource() ephemeral.EphemeralResource { return &EphemeralLifecycleResource{} diff --git a/internal/framework5provider/schema_ephemeral_resource.go b/internal/framework5provider/schema_ephemeral_resource.go index e4c941b..8d9c4c7 100644 --- a/internal/framework5provider/schema_ephemeral_resource.go +++ b/internal/framework5provider/schema_ephemeral_resource.go @@ -9,8 +9,6 @@ import ( "github.com/hashicorp/terraform-plugin-framework/types" ) -var _ ephemeral.EphemeralResource = SchemaEphemeralResource{} - func NewSchemaEphemeralResource() ephemeral.EphemeralResource { return &SchemaEphemeralResource{} } diff --git a/internal/framework6provider/ephemeral_lifecycle_resource.go b/internal/framework6provider/ephemeral_lifecycle_resource.go index 8e96ce0..3bc295e 100644 --- a/internal/framework6provider/ephemeral_lifecycle_resource.go +++ b/internal/framework6provider/ephemeral_lifecycle_resource.go @@ -11,10 +11,11 @@ import ( "github.com/hashicorp/terraform-plugin-framework/types" ) -var _ ephemeral.EphemeralResource = &EphemeralLifecycleResource{} -var _ ephemeral.EphemeralResourceWithConfigure = &EphemeralLifecycleResource{} -var _ ephemeral.EphemeralResourceWithRenew = &EphemeralLifecycleResource{} -var _ ephemeral.EphemeralResourceWithClose = &EphemeralLifecycleResource{} +var ( + _ ephemeral.EphemeralResourceWithConfigure = &EphemeralLifecycleResource{} + _ ephemeral.EphemeralResourceWithRenew = &EphemeralLifecycleResource{} + _ ephemeral.EphemeralResourceWithClose = &EphemeralLifecycleResource{} +) func NewEphemeralLifecycleResource() ephemeral.EphemeralResource { return &EphemeralLifecycleResource{} diff --git a/internal/framework6provider/schema_ephemeral_resource.go b/internal/framework6provider/schema_ephemeral_resource.go index 91c1587..5c89a96 100644 --- a/internal/framework6provider/schema_ephemeral_resource.go +++ b/internal/framework6provider/schema_ephemeral_resource.go @@ -9,8 +9,6 @@ import ( "github.com/hashicorp/terraform-plugin-framework/types" ) -var _ ephemeral.EphemeralResource = SchemaEphemeralResource{} - func NewSchemaEphemeralResource() ephemeral.EphemeralResource { return &SchemaEphemeralResource{} }