skip to Main Content

Python boto3 how to parse role_arn from AWS_CONFIG_FILE?

I have an AWS config file that my boto3 session has access to, via the AWS_CONFIG_FILE environment variable. The config file looks like this: (multi-account environment) [profile profile1] credential_source Environment region=us-east-whatever role_arn=arn:aws:iam:<ACCOUNT NUMBER 1>:role/all-profiles-same-role-name [profile profile2] credential_source Environment region=us-east-whatever role_arn=arn:aws:iam:<ACCOUNT…

VIEW QUESTION

Number of deleted messages is twice as many as received messages

I created SQS service with terraform resource "aws_sqs_queue" "ses_queue" { name = "ses_queue" message_retention_seconds = 86400 receive_wait_time_seconds = 1 visibility_timeout_seconds = 15 } resource "aws_lambda_event_source_mapping" "send_email_message" { event_source_arn = aws_sqs_queue.ses_queue.arn function_name = aws_lambda_function.send_email_message.function_name batch_size = 5 } I am sending…

VIEW QUESTION
Back To Top
Search