Commit c4605781 authored by Beckybrannan's avatar Beckybrannan

Cleaning up syntax for tf version > 0.11

parent 41694162
...@@ -35,7 +35,7 @@ resource "aws_iam_role" "role" { ...@@ -35,7 +35,7 @@ resource "aws_iam_role" "role" {
resource "aws_iam_policy" "steamhaus_apn" { resource "aws_iam_policy" "steamhaus_apn" {
name = "SteamhausAPN" name = "SteamhausAPN"
description = "Steamhaus APN policy" description = "Steamhaus APN policy"
policy = "${file("${path.module}/steamhaus_apn_policy.json")}" policy = file("${path.module}/steamhaus_apn_policy.json")
count = var.steamhaus_apn count = var.steamhaus_apn
lifecycle { create_before_destroy = true } lifecycle { create_before_destroy = true }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment