Both approaches work, but is there a best practice or recommendation for cases like this?
Specifically, in my example, is there any difference between declaring:
provide any benefits, such as better handling of dependencies or asynchronous values?
e
echoing-dinner-19531
02/28/2025, 11:17 AM
it would mean that the other parts of home_directory (i.e. name, path, entrypoint) could be defined with input values, but we don't generally nest input values
We generally don't nest input values, so if the leaf field has it you probably don't need the parent field to have it as well
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.