That looks like a docs bug, actually. The POST call just creates the empty environment, and then you update the content with the PATCH call as you found. Thanks for catching that!
b
brash-gigabyte-81569
04/03/2024, 7:32 PM
No prob. Was about to say that was the likely case as I was looking at the test cases on the ESC I noted it didn’t send content
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.