Commit 5b8756f5 authored by Chris Merrett's avatar Chris Merrett

Change roles to role due to deprecation

parent 7c67785e
...@@ -8,7 +8,7 @@ resource "aws_iam_role" "cloudwatch" { ...@@ -8,7 +8,7 @@ resource "aws_iam_role" "cloudwatch" {
resource "aws_iam_instance_profile" "cloudwatch" { resource "aws_iam_instance_profile" "cloudwatch" {
name = "cloudwatch" name = "cloudwatch"
roles = ["${aws_iam_role.cloudwatch.name}"] role = "${aws_iam_role.cloudwatch.name}"
lifecycle { lifecycle {
create_before_destroy = true create_before_destroy = true
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment