-
Hey there, so basically I'm trying to use boto3 with ssm module so I can obtain credentials in runtime from AWS Parameter Store. My python/django backend is being deployed with AWS App Runner service (at least i'm still trying to deploy it for the first time). I've spent around 40hrs battling with this and I can't get past this error:
Here is my code from settings.py:
These are just few secrets, got about 20 of them
I got all middleware and apps installed required for this. If you need anything else provided, please tell me, my brain is swollen at this moment, i've spent way too much time on trying to solve this :) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi @st3fus - thank you for reaching out and I'm really sorry to hear that you're running into this error. Let me first try to understand your workflow. I understand that you're using boto3 with SSM client method That's likely due to incorrect I hope one of those suggestions fixes the issue for you. If the issue persists, please share full debug logs as it would give me more insights into it. You can get boto3 logs by adding Hope it helps, |
Beta Was this translation helpful? Give feedback.
-
Sorry, I totally forgot to reply. I solved it, in my case it wasn't incorrect env value, it was incorrect env name... I had aws_access_key set as env name instead of aws_access_key_id |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
Sorry, I totally forgot to reply. I solved it, in my case it wasn't incorrect env value, it was incorrect env name...
I had aws_access_key set as env name instead of aws_access_key_id