I have created an API in AWS Gateway which uses AWS Lambda. The Lambda uses a python script. I can use the API gateway to invoke the Lambda which can power on or off RDS clusters. In my AWS account I have 4 RDS clusters. If all 4 are powered off I can use the API to power them all
Tag: amazon-rds
Terraform: Validation error … Member must satisfy regular expression pattern: arn:aws:iam::
I’m trying to stream rds through kinesis data stream but it is giving me this error: botocore.exceptions.ClientError: An error occurred (ValidationException) when calling the PutRecord operation: 1 validation error detected: Value ‘arn:aws:kinesis:us-west-2:xxxxxxxxxx:stream/rds-temp-leads-stream’ at ‘streamName’ failed to satisfy constraint: Member must satisfy regular expression pattern: [a-zA-Z0-9_.-]+ What can I do to fix this? Answer remove ‘arn:aws:kinesis:us-west-2:xxxxxxxxxx:stream/rds-temp-leads-stream’ this from stream name. Just