acceptable-insurance-5169211/17/2021, 10:06 AM
original_src_path = /path/to/origObj
new_src_path = /path/to/newObjWhen I execute pulumi up and select details, I see 3 actions are about to be done:
--aws😒3/objectCopy:ObjectCopy: (delete-replaced)When I execute them, they happen in order, i.e. create, replace, delete. Thing is, the delete is deleting the newly created file (which has the same path), so I'm left with an empty bucket. To emphasize - create-replacement creates the object, but it's subsequently deleted. Question is, what am I doing wrong? Edit: apparently adding the following reverses the order of operation and works around the problem. seems like a bug to me though.