docs icon indicating copy to clipboard operation
docs copied to clipboard

Add YAML code examples to Outputs and JSON content

Open toriancrane opened this issue 1 year ago • 2 comments
trafficstars

This one is maybe a lower priority on this list of content enhancements, but I think still worthwhile.

I ran into an issue with trying to create an IAM Role for a Lambda function with an inline policy in YAML and had to switch to creating a RolePolicyAttachment resource instead. I think I wanted to specify the lambda function resource ARN in the policy and received the Outputs error as a result.

toriancrane avatar Jan 11 '24 17:01 toriancrane

Happy to take this on, but wondering what page (or pages) this refers to. Is it this one? https://www.pulumi.com/docs/clouds/aws/guides/lambda/

cnunciato avatar Mar 01 '24 20:03 cnunciato

Happy to take this on, but wondering what page (or pages) this refers to. Is it this one? https://www.pulumi.com/docs/clouds/aws/guides/lambda/

Hey @cnunciato this was specifically in reference to the Inputs/Outputs JSON content if I remember correctly. There are no YAML examples on the page. I haven't gotten to this part to know why it was left out.

toriancrane avatar Mar 05 '24 16:03 toriancrane

Referenced page no longer exists. Closing.

jkodroff avatar Jun 02 '25 13:06 jkodroff