Hi guys,please I am getting this error when i ran Terraform plan.can anyone help look at my policy to see where i am making mistake.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObject",
"s3:ListBucket",
"s3:GetObjectVersion"
],
"Resource":[
"arn:aws:s3:::lambda-sam-sandbox/*",
"arn:aws:s3:::lambda-sam-sandbox"
]
},
{
"Effect": "Allow",
"Action": [
"kms:Decrypt"
],
"Resource":"arn:aws:kms:us-east-1:1234567980:key/18d052ff-6705-43aa-b"
}
]
}