sparse-intern-71089
03/31/2022, 5:51 AMbored-oyster-3147
04/01/2022, 4:15 PMbored-oyster-3147
04/01/2022, 4:16 PMbored-oyster-3147
04/01/2022, 4:24 PMbored-oyster-3147
04/01/2022, 4:29 PMgetBucket
function will query AWS and get the current state of a bucket that may or may not already exist in your stack.
While this Bucket.Get
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-27707
04/03/2022, 6:36 PMmain
function
2. curry them into the inline program
3. run your update