Skip to content

Commit

Permalink
Merge pull request #80 from ministryofjustice/bump-example-version
Browse files Browse the repository at this point in the history
Bump version used in template and by CLI to latest release
  • Loading branch information
jakemulley authored Oct 31, 2023
2 parents 6dd216c + 0dd720a commit dfbf148
Showing 1 changed file with 5 additions and 35 deletions.
40 changes: 5 additions & 35 deletions examples/s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
*
*/
module "s3_bucket" {
source = "github.com/ministryofjustice/cloud-platform-terraform-s3-bucket?ref=5.1.0"

source = "github.com/ministryofjustice/cloud-platform-terraform-s3-bucket?ref=4.8.2"
team_name = var.team_name
business-unit = var.business_unit
business_unit = var.business_unit
application = var.application
is-production = var.is_production
environment-name = var.environment
infrastructure-support = var.infrastructure_support
is_production = var.is_production
environment_name = var.environment
infrastructure_support = var.infrastructure_support
namespace = var.namespace

/*
Expand Down Expand Up @@ -143,36 +143,6 @@ module "s3_bucket" {
}
EOF
*/

/*
* Override the default policy for the generated machine user of this bucket.
*
user_policy = <<EOF
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "",
"Effect": "Allow",
"Action": [
"s3:GetBucketLocation"
],
"Resource": "$${bucket_arn}"
},
{
"Sid": "",
"Effect": "Allow",
"Action": [
"s3:GetObject"
],
"Resource": "$${bucket_arn}/*"
}
]
}
EOF
*/
}

Expand Down

0 comments on commit dfbf148

Please sign in to comment.