https://pulumi.com logo
#general
Title
# general
m

melodic-doctor-70522

08/17/2023, 2:17 AM
hello guys, a question, is it possible to send folders stored on the internet with the
pulumi_synced_folder
package, it is to add files to my blob from my static website in azure, for example download the folder in the same
AzureBlobFolder
resource
s

steep-sunset-89396

08/17/2023, 8:54 AM
According to the repository, yes it's possible to send a folder to your azure blob storage https://github.com/pulumi/pulumi-synced-folder Check out the
examples/
folder.
m

melodic-doctor-70522

08/17/2023, 6:13 PM
But a folder stored outside my local??, that is, a folder stored in an aws s3 bucket
s

steep-sunset-89396

08/21/2023, 7:53 AM
Are you saying you want to sync s3 to s3 ? or S3 to Azure ?
m

melodic-doctor-70522

08/25/2023, 11:43 PM
s3 to azure
, copy all s3 data to the container
$web
of the
static website
, in my storage account, i have the docs, but i dont know how obtain the
url of the s3 like the azure docs
sorry for answering late
s

steep-sunset-89396

08/27/2023, 12:34 AM
As far as I can tell, I don't think this is possible using this provider. If you need to perform such task, I would recommend loading the Azure and AWS SDKs into your app, and leveraging
pulumi.all()
to execute your custom code when the 2 "buckets" have been created. I also opened a feature request to see what our engineering team has to offer in this space. https://github.com/pulumi/pulumi-synced-folder/issues/51
3 Views