Explore how Jenkins versions have shaped modern CI/CD practices. This comprehensive guide traces the …
Step 01: Create a Role for the lambda to access AppConfig.
For this tutorial, I will assign everything to all resources, but in the real world, you will need to follow the least privileged concept.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "logs:CreateLogGroup",
"Resource": "arn:aws:logs:us-east-1:<account-id>:*"
},
{
"Effect": "Allow",
"Action": [
"logs:CreateLogStream",
"logs:PutLogEvents"
],
"Resource": [
"arn:aws:logs:us-east-1:<account-id>:log-group:/aws/lambda/test:*"
]
},
{
"Effect": "Allow",
"Action": "appconfig:*",
"Resource": "*"
}
]
}