Questions tagged [boto3]

Boto 3 - The Amazon Web Services (AWS) SDK for Python

Filter by
Sorted by
Tagged with
-1
votes
0answers
46 views

I'm Getting an error_message:“Key error” when invoking a lambda using boto3.client.invoke

I'm getting a Key error when invoking a lambda that is actually an API handler lambda. I invoke that specific route using the following sinitax: invoke_payload = { 'path': '/3d/terrain/{...
1
vote
1answer
115 views

Ansible Join two variables

I have two variable definition files as follows vars.yml aws_common_tags: Project: "{{ project_name }}" Application: "{{ application_name }}" Region: "{{ aws_region }}" Ansible: "Yes"...
0
votes
0answers
23 views

Boto3: get a region's local time

We're closing in on the point were we have a server in every AWS region. We would like to know the local time for a specific region to better monitor peak usage via command line. I'm fairly certain ...
2
votes
1answer
89 views

Boto3: How can I set Security Group Ids to default?

I am trying to set security group ids while creating an EC2 instance. If I have a specific security group Id list, I can do this: boto3.resource(resource, region_name=self.region) ec2 = self.resource ...
0
votes
1answer
131 views

AWS describe-network-interfaces behavior when filtered by list of security groups & list of interface Ids

I am slightly confused with the way the following would function: profile_session = boto3.session.Session(aws_access_key_id=accessKey,aws_secret_access_key=acc essSecret,region_name=awsRegion) ...
0
votes
1answer
53 views

How to set the vpc of a db instance when I create one via boto3's 'rds.create_db_instance'?

When I create a mysql db via AWS console, I can control to which VPC the db instance lands. However when i tried to use boto3 rds.create_db_instance to create a mysql db, the option is not available. ...
1
vote
1answer
713 views

The option group is associated with a different VPC than the request

I am using boto3 to restore a db snapshot to a new db instance, which is not created yet. rds.restore_db_instance_from_db_snapshot( DBInstanceIdentifier=temp_db_name, ...