skip to Main Content

Amazon web services – How to resolve why attempting to publish an SNS message from a Lambda function that is connected to a VPC hangs

I have a very simply Lambda function: import boto3 def lambda_handler(event, context): snsTopicArn="arn:aws:sns:us-west-2:REDACTED:keiths-test-topic" snsClient = boto3.client('sns') message="This is a test" print("before snsClient.publish") response = snsClient.publish(TopicArn=snsTopicArn, Message=message, Subject="This is a test") print(response) return(response) When I run it, it hangs at the…

VIEW QUESTION

Amazon web services – How do I solve cyclic dependency error between RDS and Secrets Manager stacks in AWS CDK v2?

I understand that sometimes order makes or breaks CloudFormation templates, but this one shouldn't be a problem, or at least it's not obvious to me why I'm getting this error: Error: 'DataPipelinePrototypeSecretStack' depends on 'DataPipelinePrototypeDatabaseStack' (DataPipelinePrototypeSecretStack -> DataPipelinePrototypeDatabaseStack/PrototypeDb1/Resource.Ref). Adding this…

VIEW QUESTION
Back To Top
Search