Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

Commit

Permalink
Remove deprecation warnings for TF 0.12
Browse files Browse the repository at this point in the history
TODO: tag as 2.0
  • Loading branch information
lukvdborne authored Apr 16, 2020
1 parent 745bdf4 commit e357b2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
resource "aws_iam_role_policy_attachment" "ec2_role_ssm_policy_attachment" {
role = "${var.ec2_instance_role_name}"
role = var.ec2_instance_role_name
policy_arn = "arn:aws:iam::aws:policy/service-role/AmazonEC2RoleforSSM"
}

resource "aws_iam_role_policy" "ssm_bucket_policy" {
name = "${var.ssm_s3_policy_name}"
role = "${var.ec2_instance_role_name}"
name = var.ssm_s3_policy_name
role = var.ec2_instance_role_name

policy = <<EOF
{
Expand Down

0 comments on commit e357b2d

Please sign in to comment.