Closed Makeshift closed 2 months ago
This looks like https://github.com/hashicorp/terraform-provider-aws/issues/38830 and should go away once we upgrade upstream to v5.63.0. I'm sorry you are hitting this issue.
This issue has been addressed in PR #4378 and shipped in release v6.50.0.
FWIW I found that even after upgrading my AWS plugin, I was still hitting the error. I did some terrible nonsense in order to delete the affected resources from my state and reimport them with the new provider, and that seemed to fix it. (Can say more about what exactly I did if anyone else has the same problem.)
I found that once I was 6.54.2 although all the errors showed during pulumi up --refresh
it would let me continue, and once the update was complete it was all resolved.
Describe what happened
Refreshing a
SecurityGroupEgressRule
resource causes incompatible type errors in theterraform-plugin-framework
.Sample program
Full reproduction repo here. Note that in
Pulumi.yaml
,options.refresh
is set totrue
.Steps to reproduce:
pulumi refresh
Log output
Snippet of log:
Full debug log can be found here
Affected Resource(s)
The only resource I've noticed it affecting is
aws:vpc:SecurityGroupEgressRule
, though ingress rules and others may also be affected.Output of
pulumi about
Additional context
This can be worked around by using
--continue-on-error
or disabling refresh during preview/deployment, though it obviously isn't ideal.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).