Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ To simplify the set up process of not requiring an update to the IAM role for ea

# Supported Terraform Versions

Terraform 0.11 or higher is supported.
Terraform 0.12 or higher is supported.

In order to support more versions of Terraform, the AWS Provider needs to held at v2,
as v3 has breaking changes we don't currently support. Our example `main.tf` has the
Expand Down
2 changes: 1 addition & 1 deletion modules/iam/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Requirements

No requirements.
Works for version >= 0.12

## Providers

Expand Down
4 changes: 2 additions & 2 deletions modules/iam/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@ EOF
}

resource "aws_iam_instance_profile" "segment_emr_instance_profile" {
name = "SegmentEMRInstanceProfile${var.suffix}"
roles = ["${aws_iam_role.segment_emr_instance_profile_role.name}"]
name = "SegmentEMRInstanceProfile${var.suffix}"
role = "${aws_iam_role.segment_emr_instance_profile_role.name}"
}

resource "aws_iam_role_policy" "segment_emr_instance_profile_policy" {
Expand Down