pulumi / pulumi-aws-iam

A Pulumi Multi Language Component for working with AWS IAM resources.
Apache License 2.0
6 stars 5 forks source link

Invalid `id` parameter in `aws-iam:index:Account` resource #18

Open pawelprazak opened 10 months ago

pawelprazak commented 10 months ago

What happened?

Schema contains forbidden resource parameter id:

pulumi --logtostderr package get-schema aws-iam
error: error binding resource aws-iam:index:Account: failed to bind properties for aws-iam:index:Account: property name "id" is reserved

Example

pulumi --logtostderr package get-schema aws-iam
error: error binding resource aws-iam:index:Account: failed to bind properties for aws-iam:index:Account: property name "id" is reserved

Output of pulumi about

pulumi about
CLI
Version      3.95.0
Go Version   go1.21.4
Go Compiler  gc

Host
OS       darwin
Version  14.1
Arch     arm64

Backend
Name           pulumi.com
URL            https://app.pulumi.com/pprazak
User           pprazak
Organizations  pprazak, besom
Token type     personal

Additional context

This is the change that introduced the strict schema validation: https://github.com/pulumi/pulumi/pull/14637

Related issue: https://github.com/pulumi/pulumi-kubernetes/issues/2683

Contributing

Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).