pulumi / pulumi-aws-native

AWS Native Provider for Pulumi
Apache License 2.0
95 stars 17 forks source link

Allow marking resources as not supported #1820

Open flostadler opened 1 week ago

flostadler commented 1 week ago

Hello!

Issue details

In some cases (like https://github.com/pulumi/pulumi-aws-native/issues/1819), CloudFormation incorrectly labels a resource as supported (visibility = PUBLIC, provisioning-type = FULLY_MUTABLE) even though they are not. In such cases we essentially include a broken resource in the provider.

We should add the ability to mark certain resources as not supported and overwrite CloudFormations results with that here: https://github.com/pulumi/pulumi-aws-native/blob/5a71999416bd91a83c9cdacbc4255e53b2822ec3/provider/cmd/pulumi-gen-aws-native/main.go#L246-L250

Affected area/feature