pulumi / pulumi-azure-native

Azure Native Provider
Apache License 2.0
125 stars 34 forks source link

Do not squeeze API versions of resources when the path differs #2813

Open thomas11 opened 12 months ago

thomas11 commented 12 months ago

This issue is prompted by #2785 where the fix involved manually restoring resources. This manual edit will be overwritten during the next major version generation. Therefore, we need a permanent way to preserve these resources. There are two basic options:

  1. Add the capability to preserve certain resources to the version curation.
  2. Automatically detect that the resources should be preserved, in this case by seeing that the path in the version in question is different from the path in the default version.

Option (2) is preferable because it's automatic.

cleverguy25 commented 2 months ago

Added to epic https://github.com/pulumi/home/issues/3552