You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
Stoo was pointing out today that a lot of our auto-converted examples are not idiomatic as they populate autonamted properties such as bucket/name etc:
importpulumiimportpulumi_awsasawsexample=aws.s3.BucketV2("example",
bucket="my-tf-test-bucket",
tags={
"Name": "My bucket",
"Environment": "Dev",
})
This is at odds with what we recommend to users as for most purposes bucket can be omitted and picked automatically. It is not clear that it is right for the converter to always drop these properties, but for the purposes of generating AWS examples this could actually be a better default to just elide these properties and generate this instead:
importpulumiimportpulumi_awsasawsexample=aws.s3.BucketV2("example",
tags={
"Name": "My bucket",
"Environment": "Dev",
})
Affected area/feature
The text was updated successfully, but these errors were encountered:
Hello!
Issue details
Stoo was pointing out today that a lot of our auto-converted examples are not idiomatic as they populate autonamted properties such as bucket/name etc:
https://www.pulumi.com/registry/packages/aws/api-docs/s3/bucketv2/#private-bucket-with-tags
This is at odds with what we recommend to users as for most purposes
bucket
can be omitted and picked automatically. It is not clear that it is right for the converter to always drop these properties, but for the purposes of generating AWS examples this could actually be a better default to just elide these properties and generate this instead:Affected area/feature
The text was updated successfully, but these errors were encountered: