How to prevent sync bucket files from local cloud storage to server
59 views
Skip to first unread message
Emmanuel Miramon
unread,
Mar 7, 2019, 2:55:42 PM3/7/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
Hi I have my google cloud sdk installed and I use the maven plugin, and I followed this guide to save files to the local environment, but when I ran mvn appengine:deploy all the files that I prove in my local environment it's started to upload to the server, I would like to know how a can prevent this issue, regards.
diogoa...@google.com
unread,
Apr 4, 2019, 10:14:23 PM4/4/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
Hello.
Cloud Storage buckets can be accessed from almost anywhere, so when you run the application locally you can already upload files to the Cloud Storage buckets within the Cloud Platform by using the Cloud Storage API or when you hard code the bucket address (gs://[bucket_name]).
However, I am not sure if you meant Cloud Storage bucket. If you meant that you do not want to deploy to App Engine all the files within the application code base (or sync bucket), you might try using the Maven “<excludes>” tag to ignore certain files in the deploy process.
Emmanuel Miramon
unread,
Apr 8, 2019, 2:45:36 PM4/8/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
Yes, I mean the local files created on my Cloud Storage bucket are sync to the cloud, how I can prevent the sync?
yka...@google.com
unread,
Apr 9, 2019, 10:50:10 AM4/9/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
Hello,
Files uploaded to Cloud Storage will be always be written to your bucket on the cloud regardless if done locally or deployed. There is no local environment for Cloud Storage.
You can follow this guide to delete objects if needed.