Skip to content

Commit 879a097

Browse files
authored
Merge pull request #47 from segmentio/iam-module-changed
iam module changed
2 parents 1ce2e2f + 08c17d2 commit 879a097

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ To simplify the set up process of not requiring an update to the IAM role for ea
211211

212212
# Supported Terraform Versions
213213

214-
Terraform 0.11 or higher is supported.
214+
Terraform 0.12 or higher is supported.
215215

216216
In order to support more versions of Terraform, the AWS Provider needs to held at v2,
217217
as v3 has breaking changes we don't currently support. Our example `main.tf` has the

modules/iam/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Requirements
22

3-
No requirements.
3+
Works for version >= 0.12
44

55
## Providers
66

modules/iam/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,8 @@ EOF
285285
}
286286

287287
resource "aws_iam_instance_profile" "segment_emr_instance_profile" {
288-
name = "SegmentEMRInstanceProfile${var.suffix}"
289-
roles = ["${aws_iam_role.segment_emr_instance_profile_role.name}"]
288+
name = "SegmentEMRInstanceProfile${var.suffix}"
289+
role = "${aws_iam_role.segment_emr_instance_profile_role.name}"
290290
}
291291

292292
resource "aws_iam_role_policy" "segment_emr_instance_profile_policy" {

0 commit comments

Comments
 (0)