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
terraforming-0.11.0 lib/terraforming/template/tf/s3.erb
terraforming-0.10.0 lib/terraforming/template/tf/s3.erb
terraforming-0.9.1 lib/terraforming/template/tf/s3.erb
terraforming-0.9.0 lib/terraforming/template/tf/s3.erb
terraforming-0.8.0 lib/terraforming/template/tf/s3.erb
terraforming-0.7.0 lib/terraforming/template/tf/s3.erb
terraforming-0.6.2 lib/terraforming/template/tf/s3.erb
terraforming-0.6.1 lib/terraforming/template/tf/s3.erb
terraforming-0.6.0 lib/terraforming/template/tf/s3.erb
terraforming-0.5.0 lib/terraforming/template/tf/s3.erb
terraforming-0.4.0 lib/terraforming/template/tf/s3.erb
terraforming-0.3.2 lib/terraforming/template/tf/s3.erb
terraforming-0.3.1 lib/terraforming/template/tf/s3.erb
terraforming-0.3.0 lib/terraforming/template/tf/s3.erb
terraforming-0.2.0 lib/terraforming/template/tf/s3.erb
terraforming-0.1.6 lib/terraforming/template/tf/s3.erb
terraforming-0.1.5 lib/terraforming/template/tf/s3.erb