worried-terabyte-60325
04/24/2022, 7:50 AM{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowAssumeRole",
"Effect": "Allow",
"Principal": "<http://ec2.amazonaws.com|ec2.amazonaws.com>",
"Action": "sts:AssumeRole"
}
]
}
Which is different from AWS' doc
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": "<http://ec2.amazonaws.com|ec2.amazonaws.com>"
},
"Action": "sts:AssumeRole"
}
]
}
Different schema on Principal
field. And that will cause error like: Error creating IAM Role xxx-role-53da5df: MalformedPolicyDocument: Syntax error at position (6,41)
.No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by