`roles` deprecated in examples (#13769)

This commit is contained in:
Yamamoto 2017-04-20 02:20:02 +09:00 committed by Paul Stack
parent cfa31b57a3
commit 03b82191bf
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ EOF
resource "aws_iam_instance_profile" "app" {
name = "tf-ecs-instprofile"
roles = ["${aws_iam_role.app_instance.name}"]
role = "${aws_iam_role.app_instance.name}"
}
resource "aws_iam_role" "app_instance" {