Closed apricote closed 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 69.40%. Comparing base (
deaa514
) to head (6ed4f80
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The current validation fails if a user tries to attach two networks that are created in the same Apply run to a server. In this case, the ResourceDiff has both IDs set to
0
, as that value is unknown at plan time. The current validation fails with error:We skip the validation in that case for now. The Terraform SDK v2 does not give us enough insights to figure out if both refer to the same resource or if they reference different network resources. We should revisit this validation after migrating to the Plugin Framework, as it gives us a lot more details about the proposed plan, and we might have enough info to give a definitive yay/nay to the user.
Closes #899