Skip to content
Advertisement

Tag: amazon-web-services

python manage.py collectstatic not working: TypeError: sequence item 0: expected str instance, NoneType found

I have been following this video on Youtube: https://www.youtube.com/watch?v=inQyZ7zFMHM1 My project so far is working fine with static files and all the files load and work properly. So, now I have to deploy the website on Heroku and for that, I uploaded the database on Amazon AWS using this video. After bucket creation, I did the configurations as mentioned in

Event Pattern rule “anything-but” using CDK

I am trying to add the following Event Pattern to specific rule on Event Bridge I tryed to use this python code but the “source” does not accept a json, only string array: So I decided to try using dumps: but does not work as expected, with result: Is there any way to add “anything-but” rule in source, or this

How do we minimize lag in aws-secretsmanager-caching-python when secrets get rotated?

We are using AWS Secrets Manager to store public/private keys to encrypt decrypt messages between services and want to rotate secrets. aws-secretsmanager-caching-python looks perfect for caching our secrets, but it has a refresh interval with a default of one hour. What happens for the 1-60 minutes that an old secret is cached and will no longer decrypt messages? We can

How to specify timeout on aws opensearch library for python

I am using https://opensearch.org/docs/latest/clients/python/ to interact with an opensearch instance but I need somehow to to extend the lifetime of the request easily. I searched the docs and I couldn’t find a timeout parameter. Is there a way to specify a timeout? Answer You can pass timeout=60 (or whatever) to the OpenSearch object when you create it. This gets passed

AWS ElasticBeanstalk LoadBalancer Config Not Linking my aplication to my domain

I created an aplication but Its is not linked to my domain exp: “site.com”, “www.site.com”, when I access it I get: I need to make my ElasticBeanstalk application connect to my domain (jamelaumn.com) im the owner here’s my application loadbalancer prints: currently I have no rules on EB LB My EC2 LoadBalancer:: Answer Based on the comments and your updates.

AWS Aurora: bulk upsert of records using pre-formed SQL Statements

Is there a way of doing a batch insert/update of records into AWS Aurora using “pre-formed” Postgresql statements, using Python? My scenario: I have an AWS lambda that receives data changes (insert/modify/remove) from DynamoDB via Kinesis, which then needs to apply them to an instance of Postgres in AWS Aurora. All I’ve managed to find doing an Internet search is

Advertisement