brash-gigabyte-81569
07/03/2024, 8:49 PMbrash-gigabyte-81569
07/03/2024, 8:50 PMminiature-twilight-47355
07/17/2024, 9:03 PMbrash-gigabyte-81569
07/17/2024, 9:36 PMbrash-gigabyte-81569
07/19/2024, 8:26 PMpanic: proto: file "pulumi/plugin.proto" has a name conflict over pulumirpc.PluginDependency
See <https://protobuf.dev/reference/go/faq#namespace-conflict>
think I am going to stick to trying out the providertest as I was close to getting that workingbrash-gigabyte-81569
07/22/2024, 8:11 PMminiature-twilight-47355
07/22/2024, 9:31 PMbrash-gigabyte-81569
07/22/2024, 9:49 PMrpc error: code = Unimplemented desc = Check is not implemented
.
package provider_test
import (
"testing"
"<http://github.com/pulumi/providertest|github.com/pulumi/providertest>"
pp "<http://github.com/pulumi/pulumi-go-provider|github.com/pulumi/pulumi-go-provider>"
pulumirpc "<http://github.com/pulumi/pulumi/sdk/v3/proto/go|github.com/pulumi/pulumi/sdk/v3/proto/go>"
"<http://github.com/pulumi/pulumi-foo/provider/pkg/provider|github.com/pulumi/pulumi-foo/provider/pkg/provider>"
)
func TestUpgradeLocalCommand(t *testing.T) {
t.Run("simple", func(t *testing.T) {
test(t)
})
}
func test(t *testing.T) {
t.Parallel()
test := providertest.NewProviderTest("testdata/simple",
providertest.WithProviderName("foo"),
providertest.WithResourceProviderServer(startProvider()),
providertest.WithDiffValidation(providertest.NoChanges()),
)
test.Run(t)
}
func startProvider() pulumirpc.ResourceProviderServer {
fooProvider := provider.NewProvider()
server, err := pp.RawServer("foo", "0.0.1", fooProvider)
if err != nil {
panic(err)
}
return server
}
Anyway, I will leave it alone for now.No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by