Skip to content

Commit

Permalink
Merge pull request #9 from mineiros-io/mariux/update-3.x-aws-provider
Browse files Browse the repository at this point in the history
Update 3.x aws provider
  • Loading branch information
mariux authored Aug 3, 2020
2 parents 5d5e515 + f20ba8d commit 8a2a81e
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 10 deletions.
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.1.0] - 2020-08-03
### Changed
- Add support for terraform aws provider 3.x
- Update test to test against 3.0 aws provider
- Update test dependencies to use 3.x capable module versions

## [0.0.1] - 2020-06-27
### Added
- Implement support for `aws_cognito_user_pool` resource
Expand All @@ -15,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add unit tests for basic use cases

<!-- markdown-link-check-disable -->
[Unreleased]: https://github.com/mineiros-io/terraform-aws-cognito-user-pool/compare/v1.0.0...HEAD
[0.0.1]: https://github.com/mineiros-io/terraform-aws-cognito-user-pool/releases/tag/v0.0.1
[Unreleased]: https://github.com/mineiros-io/terraform-aws-cognito-user-pool/compare/v0.1.0...HEAD
[0.1.0]: https://github.com/mineiros-io/terraform-aws-cognito-user-pool/compare/v0.0.1...v0.1.0
<!-- markdown-link-check-enable -->
[0.0.1]: https://github.com/mineiros-io/terraform-aws-cognito-user-pool/releases/tag/v0.0.1
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Most basic usage just setting required arguments:
```hcl
module "terraform-aws-cognito-user-pool" {
source = "mineiros-io/cognito-user-pool/aws"
version = "0.0.2"
version = "~> 0.1.0"
name = "application-userpool"
}
Expand Down
3 changes: 2 additions & 1 deletion examples/complete/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ shows how to deploy a Cognito User Pool with custom settings.

```hcl
module "cognito_user_pool" {
source = "[email protected]:mineiros-io/terraform-cognito-user-pool.git?ref=v0.0.1"
source = "mineiros-io/cognito-user-pool/aws"
version = "~> 0.1.0"
name = "complete-example-userpool"
Expand Down
5 changes: 3 additions & 2 deletions examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# ------------------------------------------------------------------------------

provider "aws" {
version = "~> 2.54"
version = "~> 3.0"
region = "us-east-1"
}

Expand All @@ -17,7 +17,8 @@ provider "aws" {
# ------------------------------------------------------------------------------

module "cognito_user_pool" {
source = "[email protected]:mineiros-io/terraform-cognito-user-pool.git?ref=v0.0.1"
source = "mineiros-io/cognito-user-pool/aws"
version = "~> 0.1.0"

name = "complete-example-userpool"

Expand Down
5 changes: 3 additions & 2 deletions examples/user-pool-with-default-settings/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# ------------------------------------------------------------------------------

provider "aws" {
version = "~> 2.54"
version = "~> 3.0"
region = "us-east-1"
}

Expand All @@ -18,7 +18,8 @@ provider "aws" {
# ------------------------------------------------------------------------------

module "cognito_user_pool" {
source = "[email protected]:mineiros-io/terraform-cognito-user-pool.git?ref=v0.0.1"
source = "mineiros-io/cognito-user-pool/aws"
version = "~> 0.1.0"

name = "example-userpool"
}
2 changes: 1 addition & 1 deletion test/user-pool/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# ---------------------------------------------------------------------------------------------------------------------

provider "aws" {
version = "~> 2.45"
version = "~> 3.0"
region = var.aws_region
}

Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ terraform {
required_version = "~> 0.12.20"

required_providers {
aws = "~> 2.54"
aws = ">= 2.54, < 4.0"
}
}

0 comments on commit 8a2a81e

Please sign in to comment.