https://pulumi.com logo
#general
Title
# general
a

alert-glass-49407

09/30/2021, 8:32 PM
Howdy, I was hoping for a quick double check on this before I filed an issue with the docs site on github, it looks like this AWS resource has an issue where the property description of a child resource is bubbling up to the parent's attribute? <https://www.pulumi.com/docs/reference/pkg/aws/cloudtrail/trail/#properties> The description for
name
on
Trail
resource properties looks like it erroneously has the description for
TrailAdvancedEventSelector
's
name
l

little-cartoon-10569

09/30/2021, 8:36 PM
Yep. The equivalent Terraform docs have this:
name - (Required) Name of the trail.
a

alert-glass-49407

09/30/2021, 8:38 PM
awesome, thanks, glad I havent' lost my mind 🙂
l

little-cartoon-10569

09/30/2021, 8:39 PM
I've found the generated _index.md, but I have no idea what generates it. Don't know if the issue would go in pulumi/docs or pulumi/aws.
Looks like there might be a similar problem in the new aws-native package. In that case, trailName is empty....
Looks like this is the tool that generates docs from Terraform docs, so the issue would go in pulumi/pulumi: https://github.com/pulumi/pulumi/tree/master/pkg/codegen
(But that's a guess)
a

alert-glass-49407

09/30/2021, 8:45 PM
yeah it seems like a pretty intuitive dict-merge-for-loop-oops but I also had some trouble finding the docs 🙂
I'll file on pulumi/pulumi later today (US, west coast) if you don't get to it first
thanks for all the help!
👍 1