Skip to content

Commit

Permalink
Upgrade AWS provider to 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
qbart committed Mar 11, 2022
1 parent 15d2013 commit f8f43d0
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions examples/basic-ecs-setup/versions.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
terraform {
required_version = ">= 0.14.5"
required_version = "~> 1.0"

required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 3.0"
version = "~> 4.0"
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions modules/ecs-background-job/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Define background job:
```tf
module "ecs_background_job" {
source = "Selleo/backend/aws//modules/ecs-background-job"
version = "0.3.0"
version = "0.6.0"
name = "shoryuken"
ecs_cluster_id = module.ecs_cluster.ecs_cluster_id
Expand Down Expand Up @@ -58,14 +58,14 @@ Module defines a policy for instance role for logging.

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.14.5 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~> 3.0 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | ~> 1.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~> 4.0 |

## Providers

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

## Modules

Expand Down
4 changes: 2 additions & 2 deletions modules/ecs-background-job/versions.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
terraform {
required_version = ">= 0.14.5"
required_version = "~> 1.0"

required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 3.0"
version = "~> 4.0"
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions modules/ecs-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Define cluster:
```tf
module "ecs_cluster" {
source = "Selleo/backend/aws//modules/ecs-cluster"
version = "0.5.0"
version = "0.6.0"
name_prefix = "my-cluster"
region = "eu-central-1"
Expand Down Expand Up @@ -74,14 +74,14 @@ Module defines permissions for EC2 instance that allows managing application lif

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.14.5 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~> 3.0 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | ~> 1.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~> 4.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | ~> 3.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | ~> 4.0 |
| <a name="provider_cloudinit"></a> [cloudinit](#provider\_cloudinit) | n/a |
| <a name="provider_random"></a> [random](#provider\_random) | n/a |

Expand Down
4 changes: 2 additions & 2 deletions modules/ecs-cluster/versions.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
terraform {
required_version = ">= 0.14.5"
required_version = "~> 1.0"

required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 3.0"
version = "~> 4.0"
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions modules/ecs-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Define service:
```tf
module "ecs_service" {
source = "Selleo/backend/aws//modules/ecs-service"
version = "0.3.0"
version = "0.6.0"
name = "rails-api"
vpc_id = module.vpc.vpc_id
Expand Down Expand Up @@ -63,14 +63,14 @@ Additionally it creates a policy for instance role for logging.

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.14.5 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~> 3.0 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | ~> 1.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~> 4.0 |

## Providers

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

## Modules

Expand Down
4 changes: 2 additions & 2 deletions modules/ecs-service/versions.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
terraform {
required_version = ">= 0.14.5"
required_version = "~> 1.0"

required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 3.0"
version = "~> 4.0"
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions modules/load-balancer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Define application load balancer:
```tf
module "load_balancer" {
source = "Selleo/backend/aws//modules/load-balancer"
version = "0.3.0"
version = "0.6.0"
name = "ecs-lb"
vpc_id = module.vpc.vpc_id # "vpc-1234"
Expand All @@ -24,14 +24,14 @@ For more details and options see source files.

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.14.5 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~> 3.0 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | ~> 1.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~> 4.0 |

## Providers

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

## Modules

Expand Down
4 changes: 2 additions & 2 deletions modules/load-balancer/versions.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
terraform {
required_version = ">= 0.14.5"
required_version = "~> 1.0"

required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 3.0"
version = "~> 4.0"
}
}
}
Expand Down

0 comments on commit f8f43d0

Please sign in to comment.