
- IP制限している
- SecretManagerはterraform plan時にエラーがでるので特例で許可
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "*",
"Resource": "*",
"Condition": {
"IpAddress": {
"aws:SourceIp": [
"xxx.xxx.xxx.xxx"
]
}
}
},
{
"Effect": "Allow",
"Action": "secretsmanager:*",
"Resource": "*"
}
]
}







