diff --git a/website/source/docs/providers/aws/r/iam_instance_profile.html.markdown b/website/source/docs/providers/aws/r/iam_instance_profile.html.markdown index 05ec3022f..c87fcdfbc 100644 --- a/website/source/docs/providers/aws/r/iam_instance_profile.html.markdown +++ b/website/source/docs/providers/aws/r/iam_instance_profile.html.markdown @@ -27,7 +27,9 @@ resource "aws_iam_role" "role" { "Statement": [ { "Action": "sts:AssumeRole", - "Principal": {"AWS": "*"}, + "Principal": { + "Service": "ec2.amazonaws.com" + }, "Effect": "Allow", "Sid": "" }