Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates Provider versions #10

Merged
merged 11 commits into from
Sep 4, 2020
2 changes: 1 addition & 1 deletion .github/workflows/code-quality-terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:

env:
TERRAFORM_VERSION: 0.12.20
TERRAFORM_VERSION: 0.13.2
TERRAFORM_ACTIONS_COMMENT: true

jobs:
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 1.1.4 (2020-06-11)
# 1.1.4 (2020-06-11)

* Updates documentation and examples (#9) ([9d3dfd7](https://github.com/operatehappy/terraform-aws-s3-bucket/commit/9d3dfd7)), closes [#9](https://github.com/operatehappy/terraform-aws-s3-bucket/issues/9)

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

## Requirements

This module requires Terraform version `0.12.20` or newer.
This module requires Terraform version `0.13.0` or newer.

## Dependencies

Expand All @@ -32,9 +32,9 @@ This module depends on a correctly configured [AWS Provider](https://www.terrafo
Add the module to your Terraform resources like so:

```hcl
module "simple-example" {
module "simple_example" {
source = "operatehappy/s3-bucket/aws"
version = "1.1.4"
version = "1.2.0"

name = "oh-demo-simple-example"

Expand Down
4 changes: 2 additions & 2 deletions examples/complex/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ A _complex_ configuration of the `terraform-aws-s3-bucket` Module could look lik

```hcl
// create S3 Bucket to be used as logging target
module "complex-example-target" {
module "complex_example_target" {
source = "operatehappy/s3-bucket/aws"
version = "1.1.4"
name = "oh-demos-complex-example-target"
Expand All @@ -32,7 +32,7 @@ module "complex-example-target" {
}]
}

module "complex-example" {
module "complex_example" {
source = "operatehappy/s3-bucket/aws"
version = "1.1.4"

Expand Down
4 changes: 2 additions & 2 deletions examples/complex/main.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module "complex-example-target" {
module "complex_example_target" {
source = "operatehappy/s3-bucket/aws"
version = "1.1.4"
name = "oh-demos-complex-example-target"
Expand All @@ -10,7 +10,7 @@ module "complex-example-target" {
}]
}

module "complex-example" {
module "complex_example" {
source = "operatehappy/s3-bucket/aws"
version = "1.1.4"

Expand Down
4 changes: 2 additions & 2 deletions examples/logging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ A _logging_ configuration of the `terraform-aws-s3-bucket` Module could look lik

```hcl
// create S3 Bucket to be used as logging target
module "logging-example-target" {
module "logging_example_target" {
source = "operatehappy/s3-bucket/aws"
version = "1.1.4"
name = "oh-demos-logging-example-target"
acl = "log-delivery-write"
}

module "logging-example" {
module "logging_example" {
source = "operatehappy/s3-bucket/aws"
version = "1.1.4"

Expand Down
4 changes: 2 additions & 2 deletions examples/logging/main.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
module "logging-example-target" {
module "logging_example_target" {
source = "operatehappy/s3-bucket/aws"
version = "1.1.4"
name = "oh-demos-logging-example-target"
acl = "log-delivery-write"
}

module "logging-example" {
module "logging_example" {
source = "operatehappy/s3-bucket/aws"
version = "1.1.4"

Expand Down
2 changes: 1 addition & 1 deletion examples/object-lock-configuration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ For a list of installation instructions, see the [Readme document](https://regis
An _object-lock_ configuration of the `terraform-aws-s3-bucket` Module could look like this:

```hcl
module "object-lock-configuration-example" {
module "object_lock_configuration_example" {
source = "operatehappy/s3-bucket/aws"
version = "1.1.4"

Expand Down
2 changes: 1 addition & 1 deletion examples/object-lock-configuration/main.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module "object-lock-configuration-example" {
module "object_lock_configuration_example" {
source = "operatehappy/s3-bucket/aws"
version = "1.1.4"

Expand Down
2 changes: 1 addition & 1 deletion examples/server-side-encryption/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ For a list of installation instructions, see the [Readme document](https://regis
A _server-side-encryption_ configuration of the `terraform-aws-s3-bucket` Module could look like this:

```hcl
module "server-side-encryption-example" {
module "server_side_encryption_example" {
source = "operatehappy/s3-bucket/aws"
version = "1.1.4"

Expand Down
2 changes: 1 addition & 1 deletion examples/server-side-encryption/main.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module "server-side-encryption-example" {
module "server_side_encryption_example" {
source = "operatehappy/s3-bucket/aws"
version = "1.1.4"

Expand Down
2 changes: 1 addition & 1 deletion examples/simple/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ For a list of installation instructions, see the [Readme document](https://regis
A _simple_ configuration of the `terraform-aws-s3-bucket` Module could look like this:

```hcl
module "simple-example" {
module "simple_example" {
source = "operatehappy/s3-bucket/aws"
version = "1.1.4"

Expand Down
2 changes: 1 addition & 1 deletion examples/simple/main.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module "simple-example" {
module "simple_example" {
source = "operatehappy/s3-bucket/aws"
version = "1.1.4"

Expand Down
2 changes: 1 addition & 1 deletion examples/versioning/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ For a list of installation instructions, see the [Readme document](https://regis
A _versioning_ configuration of the `terraform-aws-s3-bucket` Module could look like this:

```hcl
module "versioning-example" {
module "versioning_example" {
source = "operatehappy/s3-bucket/aws"
version = "1.1.4"

Expand Down
2 changes: 1 addition & 1 deletion examples/versioning/main.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module "versioning-example" {
module "versioning_example" {
source = "operatehappy/s3-bucket/aws"
version = "1.1.4"

Expand Down
2 changes: 1 addition & 1 deletion examples/website/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ For a list of installation instructions, see the [Readme document](https://regis
A _website_ configuration of the `terraform-aws-s3-bucket` Module could look like this:

```hcl
module "website-example" {
module "website_example" {
source = "operatehappy/s3-bucket/aws"
version = "1.1.4"

Expand Down
6 changes: 3 additions & 3 deletions examples/website/main.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module "website-example" {
module "website_example" {
source = "operatehappy/s3-bucket/aws"
version = "1.1.4"

name = "oh-demos-website-example"

website = [{
website = {
index_document = "index.html"
error_document = "error.html"
routing_rules = <<EOF
Expand All @@ -18,7 +18,7 @@ module "website-example" {
}]
EOF
redirect_all_requests_to = null
}]
}

cors_rule = {
allowed_headers = ["*"]
Expand Down
6 changes: 3 additions & 3 deletions terraform.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
terraform {
required_version = ">= 0.12.20"
required_version = ">= 0.13.0"

required_providers {
aws = "> 2.10.0"
template = "> 1.0.0"
aws = ">= 3.4.0"
template = "> 2.0.0"
}
}