I have created three security groups in the same VPC
- For lambda-SG gave an inbound rule for RDS-SG, RDS-Proxy, RDS-Lamda with port 5432
- For RDS-SG gave 3 rules same above,
- For RDS-Proxy also gave the same rules
when I went to the cloud watch of RDS-Proxy I got an Exception that is given blow.
Credentials couldn't be retrieved. The IAM role provided with the ARN "arn:aws:iam::--------:role/service-role/abc" couldn't be assumed. Make sure that this IAM role is set up correctly for this use.
I also mentioned the role policy for secret, rds,kms. I can not solve this error is there anyONe who can help me out that'll be much appreciated