Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access the same bucket from two workloads #5757

Open
SyntelK opened this issue Apr 5, 2024 · 1 comment
Open

Access the same bucket from two workloads #5757

SyntelK opened this issue Apr 5, 2024 · 1 comment
Labels
pending/question Further information is requested.

Comments

@SyntelK
Copy link

SyntelK commented Apr 5, 2024

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

@Lou1415926 Lou1415926 changed the title TITLE Access the same bucket from two workloads Apr 5, 2024
@Lou1415926 Lou1415926 added the pending/question Further information is requested. label Apr 5, 2024
@Lou1415926
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending/question Further information is requested.
Projects
None yet
Development

No branches or pull requests

2 participants