copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

Access the same bucket from two workloads

Open SyntelK opened this issue 1 year ago • 1 comments

I am creating s3 bucket in teamcity pipeline using copilot below command copilot storage init -n abcbatchreceipt -t S3 -w ba1 -l workload copilot storage init -n abcbatchreceipt -t S3 -w ba2 -l workload

this create 2 different buckets , i want to use my ba1 and ba2 (both are jobs) should use same bucket , as these 2 jobs are reading and writing to the same bucket . i gave bucket name as abcbatchreceipt , and it is creating by below names.

abc-app-preproduction-dgi-a-abcbatchreceiptbucket-divcpjs1dlbm abc-app-preproduction-dgo-a-abcbatchreceiptbucket-8wxr7mrkfyct

how can i achieve the same as i tried removing -w , but it give some workload error . -w multiple time in single command is also not working

SyntelK avatar Apr 05 '24 04:04 SyntelK

Hi @SyntelK! Sorry, I am not sure I fully understand 😞

Can you confirm whether you are looking to:

  1. Create just one S3 bucket, instead of two.
  2. Access that one bucket from two jobs.

Am I missing something from your requirements?

Lou1415926 avatar Apr 05 '24 23:04 Lou1415926

This issue is stale because it has been open 60 days with no response activity. Remove the stale label, add a comment, or this will be closed in 14 days.

github-actions[bot] avatar Jun 05 '24 00:06 github-actions[bot]

This issue is closed due to inactivity. Feel free to reopen the issue if you have any further questions!

github-actions[bot] avatar Jun 19 '24 00:06 github-actions[bot]