Skip to content
This repository has been archived by the owner on May 8, 2021. It is now read-only.

Commit

Permalink
Merge pull request #2 from simplyadrian/master
Browse files Browse the repository at this point in the history
commenting out module that is causing a count issue.
  • Loading branch information
simplyadrian authored Mar 6, 2019
2 parents b83c663 + 7b98eab commit 21fb33b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,17 @@ resource "aws_s3_bucket" "default" {
tags = "${module.default_label.tags}"
}

module "s3_user" {
source = "git::https://github.com/cloudposse/terraform-aws-iam-s3-user.git?ref=tags/0.3.1"
namespace = "${var.namespace}"
stage = "${var.stage}"
name = "${var.name}"
attributes = "${var.attributes}"
tags = "${var.tags}"
enabled = "${var.enabled == "true" && var.user_enabled == "true" ? "true" : "false"}"
s3_actions = ["${var.allowed_bucket_actions}"]
s3_resources = ["${join("", aws_s3_bucket.default.*.arn)}/*", "${join("", aws_s3_bucket.default.*.arn)}"]
}
#module "s3_user" {
# source = "git::https://github.com/cloudposse/terraform-aws-iam-s3-user.git?ref=tags/0.3.1"
# namespace = "${var.namespace}"
# stage = "${var.stage}"
# name = "${var.name}"
# attributes = "${var.attributes}"
# tags = "${var.tags}"
# enabled = "${var.enabled == "true" && var.user_enabled == "true" ? "true" : "false"}"
# s3_actions = ["${var.allowed_bucket_actions}"]
# s3_resources = ["${join("", aws_s3_bucket.default.*.arn)}/*", "${join("", aws_s3_bucket.default.*.arn)}"]
#}

data "aws_iam_policy_document" "bucket_policy" {
count = "${var.enabled == "true" && var.allow_encrypted_uploads_only == "true" ? 1 : 0}"
Expand Down

0 comments on commit 21fb33b

Please # to comment.