diff --git a/modules/imputation-iam/main.tf b/modules/imputation-iam/main.tf index 41b4a4a..dde819c 100644 --- a/modules/imputation-iam/main.tf +++ b/modules/imputation-iam/main.tf @@ -61,7 +61,7 @@ resource "aws_iam_role" "ec2" { } resource "aws_iam_role_policy_attachment" "ec2" { - role = aws_iam_role.ec2.name + role = aws_iam_role.ec2.name # NOTE: Deprecated, but with no replacement policy; we'd need to develop our own policy_arn = "arn:aws:iam::aws:policy/service-role/AmazonElasticMapReduceforEC2Role" } diff --git a/modules/imputation-server/variables.tf b/modules/imputation-server/variables.tf index 119a20a..c30ae18 100644 --- a/modules/imputation-server/variables.tf +++ b/modules/imputation-server/variables.tf @@ -154,10 +154,10 @@ variable "ec2_iam_role_tags" { variable "emr_cluster_tags" { description = "Tags to be applied to the EMR cluster" - default = { - "for-use-with-amazon-emr-managed-policies": true + default = { + "for-use-with-amazon-emr-managed-policies" : true } - type = map(string) + type = map(string) } variable "emr_iam_role_tags" {