Open dirien opened 1 month ago
Thank you for filing this issue. We'll take a look at fixing this as soon as we can.
Had a brief look here, linking some references from the upstream provider:
The resource is using PF and the schema for the property giving the error is here: https://github.com/port-labs/terraform-provider-port-labs/blob/main/port/blueprint/schema.go#L43
It's a SingleNestedProperty, so we might be doing something wrong with the MaxItemsOne flattening, if that applies here.
I've tried to repro this in https://github.com/pulumi/pulumi-terraform-bridge/pull/2396 but have been unable to so far.
@dirien can you please include the GRPC logs of the issue? You can get these with PULUMI_DEBUG_GRPC="grpc.json"
prefixed to your import command, like so:
PULUMI_DEBUG_GRPC="grpc.json" pulumi import port:index/blueprint:Blueprint teamBlueprint _team
These should contain the information on what is returned from the provider when importing, as it seems like that does not pass Check
What happened?
I'm trying to import an existing Port Blueprint into my Pulumi project using the pulumi import command. However, I'm encountering errors during the import process. Specifically, when running the following command:
I'm getting the following error:
My Terraform configuration for this Blueprint is:
Example
-
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).