Skip to content

Commit dc8ba3f

Browse files
committed
Merge branch 'develop'
2 parents 406581f + 5a84913 commit dc8ba3f

File tree

9 files changed

+14
-11
lines changed

9 files changed

+14
-11
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ data "aws_region" "current" {}
1616

1717
module "vpc" {
1818
source = "terraform-aws-modules/vpc/aws"
19-
version = "3.1.0"
19+
version = "5.5.3"
2020

2121
name = "imputation-example-vpc"
2222
cidr = "10.120.0.0/16"

modules/imputation-iam/main.tf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ resource "aws_iam_role" "emr" {
5050

5151
resource "aws_iam_role_policy_attachment" "emr" {
5252
role = aws_iam_role.emr.name
53-
policy_arn = "arn:aws:iam::aws:policy/service-role/AmazonElasticMapReduceRole"
53+
policy_arn = "arn:aws:iam::aws:policy/service-role/AmazonEMRServicePolicy_v2"
5454
}
5555

5656
resource "aws_iam_role" "ec2" {
@@ -61,7 +61,8 @@ resource "aws_iam_role" "ec2" {
6161
}
6262

6363
resource "aws_iam_role_policy_attachment" "ec2" {
64-
role = aws_iam_role.ec2.name
64+
role = aws_iam_role.ec2.name
65+
# NOTE: Deprecated, but with no replacement policy; we'd need to develop our own
6566
policy_arn = "arn:aws:iam::aws:policy/service-role/AmazonElasticMapReduceforEC2Role"
6667
}
6768

modules/imputation-iam/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ terraform {
77
required_providers {
88
aws = {
99
source = "hashicorp/aws"
10-
version = "~> 3.0"
10+
version = "~> 5.0"
1111
}
1212
}
1313

modules/imputation-lb/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ variable "port" {
6969

7070
variable "ssl_policy" {
7171
description = "The name of the SSL Policy for the listener"
72-
default = "ELBSecurityPolicy-2016-08"
72+
default = "ELBSecurityPolicy-TLS13-1-2-2021-06"
7373
type = string
7474
}
7575

modules/imputation-lb/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ terraform {
77
required_providers {
88
aws = {
99
source = "hashicorp/aws"
10-
version = "~> 3.0"
10+
version = "~> 5.0"
1111
}
1212
}
1313

modules/imputation-security-group-rules/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ terraform {
77
required_providers {
88
aws = {
99
source = "hashicorp/aws"
10-
version = "~> 3.0"
10+
version = "~> 5.0"
1111
}
1212
}
1313

modules/imputation-server/variables.tf

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,10 @@ variable "ec2_iam_role_tags" {
154154

155155
variable "emr_cluster_tags" {
156156
description = "Tags to be applied to the EMR cluster"
157-
default = {}
158-
type = map(string)
157+
default = {
158+
"for-use-with-amazon-emr-managed-policies" : true
159+
}
160+
type = map(string)
159161
}
160162

161163
variable "emr_iam_role_tags" {

modules/imputation-server/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ terraform {
77
required_providers {
88
aws = {
99
source = "hashicorp/aws"
10-
version = "~> 3.0"
10+
version = "~> 5.0"
1111
}
1212
}
1313

versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
aws = {
44
source = "hashicorp/aws"
5-
version = "~> 3.0"
5+
version = "~> 5.0"
66
}
77
}
88

0 commit comments

Comments
 (0)