Open mtparet opened 5 months ago
It is by design. We went with a different architecture for our provider because having all code in a single package was not sustainable from a code ownership point of view. Also this code was not at all covered by any backward compatibility outside of using it with terraform/opentofu. I'm not sure to understand why pulumi is using this import that was not covered by backward compatibility. Have you tried using the CDK from terraform? Is the pulumi plugin communicating with the terraform provider using the official gRPC interface of the provider? We do not maintain the pulumi plugin at all.
My understanding, it is used from pulumi to generate the scaleway provider.
We already use Pulumi for several others Providers and would like to configure Scaleway using Pulumi too.
We were able to resolve it on the side of the Pulumi provider. We had to set up a Go "shim" in a way to access the Terraform Provider
struct which now lives in a Go internal
package.
If you compare https://pkg.go.dev/github.com/scaleway/terraform-provider-scaleway/v2@v2.38.3 and https://pkg.go.dev/github.com/scaleway/terraform-provider-scaleway/v2@v2.39.0, you will see scaleway directory is missing.
It seems this PR https://github.com/scaleway/terraform-provider-scaleway/pull/2448/files has caused this issue.
It preventing us using Pulumi because we need latest version to use VPC new routing feature. https://github.com/pulumiverse/pulumi-scaleway/pull/293