mirror of
https://github.com/farcasclaudiu/terraform-course.git
synced 2026-06-22 07:01:56 +03:00
Update iam.tf
Changed app-ec2-role "roles" into "role", because roles is deprecated
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ EOF
|
||||
}
|
||||
resource "aws_iam_instance_profile" "app-ec2-role" {
|
||||
name = "app-ec2-role"
|
||||
roles = ["${aws_iam_role.app-ec2-role.name}"]
|
||||
role = "${aws_iam_role.app-ec2-role.name}"
|
||||
}
|
||||
|
||||
# service
|
||||
|
||||
Reference in New Issue
Block a user