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

Updating terraform and aws provider version #69

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Use this URL for the source of the module. See the usage examples below for more details.

```hcl
github.com/pbs/terraform-aws-s3-module?ref=4.0.13
github.com/pbs/terraform-aws-s3-module?ref=x.y.z
```

### Alternative Installation Methods
Expand All @@ -28,7 +28,7 @@ Integrate this module like so:

```hcl
module "s3" {
source = "github.com/pbs/terraform-aws-s3-module?ref=4.0.13"
source = "github.com/pbs/terraform-aws-s3-module?ref=x.y.z"

# Tagging Parameters
organization = var.organization
Expand Down Expand Up @@ -63,7 +63,7 @@ module "s3" {

If this repo is added as a subtree, then the version of the module should be close to the version shown here:

`4.0.13`
`x.y.z`

Note, however that subtrees can be altered as desired within repositories.

Expand All @@ -79,8 +79,8 @@ Below is automatically generated documentation on this Terraform module using [t

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.2 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.5.0 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.7.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.30.0 |

## Providers

Expand All @@ -92,7 +92,7 @@ Below is automatically generated documentation on this Terraform module using [t

| Name | Source | Version |
|------|--------|---------|
| <a name="module_s3_policy"></a> [s3\_policy](#module\_s3\_policy) | github.com/pbs/terraform-aws-s3-bucket-policy-module | 1.0.21 |
| <a name="module_s3_policy"></a> [s3\_policy](#module\_s3\_policy) | github.com/pbs/terraform-aws-s3-bucket-policy-module | update-tf-provider-versions |

## Resources

Expand Down
2 changes: 1 addition & 1 deletion security.tf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ resource "aws_iam_role_policy" "replication_policy" {
}

module "s3_policy" {
source = "github.com/pbs/terraform-aws-s3-bucket-policy-module?ref=1.0.21"
source = "github.com/pbs/terraform-aws-s3-bucket-policy-module?ref=update-tf-provider-versions"
count = var.create_bucket_policy ? 1 : 0

name = aws_s3_bucket.bucket.id
Expand Down
4 changes: 2 additions & 2 deletions terraform.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
terraform {
required_version = ">= 1.3.2"
required_version = ">= 1.7.0"
required_providers {
# tflint-ignore: terraform_unused_required_providers
aws = {
version = ">= 4.5.0"
version = ">= 5.30.0"
}
}
}
Loading