pulumi / pulumi-cloud-import

Import infrastructure managed outside of Pulumi IaC into Pulumi Insights
Apache License 2.0
6 stars 2 forks source link

improve resource mapping #23

Closed aacotroneo closed 1 month ago

aacotroneo commented 1 month ago

use "https://raw.githubusercontent.com/pulumi/pulumi-aws-native/master/provider/cmd/pulumi-resource-aws-native/metadata.json" instead of /schema.json from which we have a reliable mapping from pulumi types into the required cloudformation types.

Also excluding more unsupported resources to avoid wasting network calls. For some we'll need to provide additional parameters, and others are not well supported in cloudcontrol api yet, so are not fixable on our end alone. We'll still see some errors because other types depend on the account configuration, permissions or even the region (some types only supported on some regions)

Despite the new suppressions we have an increase in coverage from 450 to 650 types (out of ~1000 valid ones)

Fixes #22