Skip to content

Commit

Permalink
refactor(ecs/network): support tls provider 4.x, drop support for <3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mskrajnowski committed Dec 6, 2022
1 parent 0447013 commit 9e46c2c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ecs/network/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ Creates networking resources needed for a standard ECS cluster setup:
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.12, <2.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 2.40.0 |
| <a name="requirement_null"></a> [null](#requirement\_null) | >= 2.1.2 |
| <a name="requirement_tls"></a> [tls](#requirement\_tls) | >= 2.0.1 |
| <a name="requirement_tls"></a> [tls](#requirement\_tls) | >= 3.2.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 2.40.0 |
| <a name="provider_null"></a> [null](#provider\_null) | >= 2.1.2 |
| <a name="provider_tls"></a> [tls](#provider\_tls) | >= 2.0.1 |
| <a name="provider_tls"></a> [tls](#provider\_tls) | >= 3.2.0 |

## Modules

Expand Down
1 change: 0 additions & 1 deletion ecs/network/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ resource "tls_private_key" "lb_default" {
resource "tls_self_signed_cert" "lb_default" {
count = var.create ? 1 : 0

key_algorithm = "RSA"
private_key_pem = tls_private_key.lb_default[0].private_key_pem
validity_period_hours = 365 * 24

Expand Down
2 changes: 1 addition & 1 deletion ecs/network/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {

required_providers {
aws = ">= 2.40.0"
tls = ">= 2.0.1"
tls = ">= 3.2.0"
null = ">= 2.1.2"
}
}

0 comments on commit 9e46c2c

Please sign in to comment.