Sha256: c5e654472439c859e7a930ff64c2ebe72c0910c5561d4b3c791a122373be2911

Contents?: true

Size: 302 Bytes

Versions: 37

Compression:

Stored size: 302 Bytes

Contents

<% buckets.each do |bucket| -%>
resource "aws_s3_bucket" "<%= module_name_of(bucket) %>" {
    bucket = "<%= bucket.name %>"
    acl    = "private"
<%- unless (policy = bucket_policy_of(bucket)).nil? -%>
    policy = <<POLICY
<%= prettify_policy(policy.policy.read) %>
POLICY
<%- end -%>
}

<% end -%>

Version data entries

37 entries across 37 versions & 3 rubygems

Version Path
practice_terraforming-0.1.11 lib/practice_terraforming/template/tf/s3.erb
practice_terraforming-0.1.10 lib/practice_terraforming/template/tf/s3.erb
practice_terraforming-0.1.9 lib/practice_terraforming/template/tf/s3.erb
practice_terraforming-0.1.8 lib/practice_terraforming/template/tf/s3.erb
practice_terraforming-0.1.7 lib/practice_terraforming/template/tf/s3.erb
practice_terraforming-0.1.6 lib/practice_terraforming/template/tf/s3.erb
practice_terraforming-0.1.5 lib/practice_terraforming/template/tf/s3.erb
practice_terraforming-0.1.4 lib/practice_terraforming/template/tf/s3.erb
practice_terraforming-0.1.3 lib/practice_terraforming/template/tf/s3.erb
terraforming-0.18.0 lib/terraforming/template/tf/s3.erb
terraforming-0.17.0 lib/terraforming/template/tf/s3.erb
terraforming-0.16.0 lib/terraforming/template/tf/s3.erb
terraforming-0.15.0 lib/terraforming/template/tf/s3.erb
aws-insight-0.14.1 lib/terraforming/template/tf/s3.erb
aws-insight-0.14.0 lib/terraforming/template/tf/s3.erb
terraforming-0.14.0 lib/terraforming/template/tf/s3.erb
terraforming-0.13.2 lib/terraforming/template/tf/s3.erb
terraforming-0.13.1 lib/terraforming/template/tf/s3.erb
terraforming-0.13.0 lib/terraforming/template/tf/s3.erb
terraforming-0.12.0 lib/terraforming/template/tf/s3.erb