pulumi / pulumi-aws

An Amazon Web Services (AWS) Pulumi resource package, providing multi-language access to AWS
Apache License 2.0
466 stars 157 forks source link

RFC: Exclusive Relationship Management Resources Support #4772

Open t0yv0 opened 1 week ago

t0yv0 commented 1 week ago

Pulumi AWS provider should withhold input property deprecations introduced by the Terraform AWS provider until Pulumi-specific issues on the intended upgrade path are resolved.

The affected properties include (see 39376 for a full list):

The latest iteration of Terraform AWS provider design thinking is introducing exclusive relationship management resources. To illustrate on the aws.iam.Role resource:

Unfortunately when testing this upgrade scenario in the Pulumi provider we found that aws.iam.RolePoliciesExclusive does not detect role policy drift due to specifics of how Pulumi maps Terraform providers (https://github.com/pulumi/pulumi-aws/issues/4766).

Because of this issue, users trying to act on the deprecation notice in Pulumi will not be able to rely on aws.iam.RolePoliciesExclusive to ensure all inline policies are tracked in Pulumi. Other property deprecations are likely similarly affected.

The proposal going forward is as follows:

References