unable to access sqs queue from ecs task
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- aws
- Ambito
- authorization, cloud
Direzione di ricerca
Inizia dalla configurazione del ruolo ECS a cui fa riferimento l’issue ed esegui il comando aws sqs receive-message all’interno del container. Verifica quale ruolo utilizza il task e confronta le relative autorizzazioni con quelle della coda indicata; il lavoro è completato quando viene identificata la causa del rifiuto e l’esempio viene documentato o corretto in modo che il task possa ricevere messaggi.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I'm trying to understand how this worked. When I run it i'm able to create the SQS task and launch the task but when the ECS task tries to read from the queue it gets the following error, which I have reproduced by logging into the shell script container (after preventing it from exiting):
root@f9910bdcd9d6:/# aws sqs receive-message --queue-url=https://queue.amazonaws.com/831754492748/ecs-test-plepeskaQueue --region=us-east-1
An error occurred (AccessDenied) when calling the ReceiveMessage operation: Access to the resource https://queue.amazonaws.com/ is denied.
And this makes sense b/c although I can see that the ecsInstanceRole has a policy that gives it access to the S3 bucket I can't see where it is given access to the SQS queue.
Has something changed since this worked? Or, is there another reason why access to the queue is denied?
- Lingua principale
- POV-Ray SDL
- Stelle
- 293
- Fork
- 46
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di aws-samples/lambda-ecs-worker-pattern
-
fab setup command fails Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 30/100
aws-samples/lambda-ecs-worker-pattern#9 · 3 commenti ·
Tutte le issue di aws-samples/lambda-ecs-worker-pattern
Issue simili
-
blocklist removal
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
MetaMask/eth-phishing-detect#296544 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Azure/azure-functions-docker#1257 ·
-
area:proxy bug security severity:low track:open-source
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
bug server
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
bytedance/UI-TARS-desktop#2009 · 1 commento ·