proud-pizza-8058903/31/2022, 5:51 AM
bored-oyster-314704/01/2022, 4:15 PM
function will query AWS and get the current state of a bucket that may or may not already exist in your stack.
function here will instead not query AWS at all, and will retrieve the state of an existing Bucket resource that already exists in your stack directly from your pulumi state.
So it depends what you want to do. Btw none of this functionality is specific to automation API, this is just pulumi program functionality.
lemon-agent-2770704/03/2022, 6:36 PM
2. curry them into the inline program
3. run your update