Skip to content

Commit

Permalink
Upgrade aws provider to 3.0 (#45)
Browse files Browse the repository at this point in the history
* Upgrade aws provider to 3.0

* Auto Format

* Update versions.tf

* Update main.tf

* Update versions.tf

* Auto Format

Co-authored-by: cloudpossebot <11232728+cloudpossebot@users.noreply.github.com>
  • Loading branch information
nitrocode and cloudpossebot authored Nov 17, 2021
1 parent e3385cc commit 7b5bfc1
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 40 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,16 +210,13 @@ Available targets:
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 2.0 |
| <a name="requirement_local"></a> [local](#requirement\_local) | >= 1.3 |
| <a name="requirement_null"></a> [null](#requirement\_null) | >= 2.0 |
| <a name="requirement_template"></a> [template](#requirement\_template) | >= 2.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.5.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 2.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.5.0 |

## Modules

Expand Down
7 changes: 2 additions & 5 deletions docs/terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,13 @@
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 2.0 |
| <a name="requirement_local"></a> [local](#requirement\_local) | >= 1.3 |
| <a name="requirement_null"></a> [null](#requirement\_null) | >= 2.0 |
| <a name="requirement_template"></a> [template](#requirement\_template) | >= 2.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.5.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 2.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.5.0 |

## Modules

Expand Down
8 changes: 4 additions & 4 deletions examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ provider "aws" {

module "vpc" {
source = "cloudposse/vpc/aws"
version = "0.17.0"
version = "0.25.0"

cidr_block = "172.16.0.0/16"

Expand All @@ -13,7 +13,7 @@ module "vpc" {

module "subnets" {
source = "cloudposse/dynamic-subnets/aws"
version = "0.30.0"
version = "0.39.4"

availability_zones = var.availability_zones
vpc_id = module.vpc.vpc_id
Expand All @@ -27,7 +27,7 @@ module "subnets" {

module "s3_log_storage" {
source = "cloudposse/s3-log-storage/aws"
version = "0.14.0"
version = "0.24.1"

attributes = ["logs"]
force_destroy = true
Expand All @@ -37,7 +37,7 @@ module "s3_log_storage" {

module "aws_key_pair" {
source = "cloudposse/key-pair/aws"
version = "0.14.0"
version = "0.18.2"
namespace = var.namespace
stage = var.stage
name = var.name
Expand Down
14 changes: 1 addition & 13 deletions examples/complete/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 2.0"
}
local = {
source = "hashicorp/local"
version = ">= 1.3"
}
template = {
source = "hashicorp/template"
version = ">= 2.0"
}
null = {
source = "hashicorp/null"
version = ">= 2.0"
version = ">= 3.0"
}
}
}
14 changes: 1 addition & 13 deletions versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 2.0"
}
local = {
source = "hashicorp/local"
version = ">= 1.3"
}
template = {
source = "hashicorp/template"
version = ">= 2.0"
}
null = {
source = "hashicorp/null"
version = ">= 2.0"
version = ">= 3.5.0"
}
}
}

0 comments on commit 7b5bfc1

Please sign in to comment.