Skip to content

Commit

Permalink
LPAL-732 - upgrade to v4 of AWS provider (#937)
Browse files Browse the repository at this point in the history
* upgrade to v4 of AWS provider
 - some code consistency clean up

* update lock files and missed v4 conversion
  • Loading branch information
williamfalconeruk authored May 19, 2022
1 parent a7e55c8 commit e81de20
Show file tree
Hide file tree
Showing 11 changed files with 131 additions and 128 deletions.
57 changes: 29 additions & 28 deletions terraform/account/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions terraform/account/terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ terraform {
role_arn = "arn:aws:iam::311462405659:role/opg-lpa-ci"
dynamodb_table = "remote_lock"
}
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.0"
}
pagerduty = {
source = "PagerDuty/pagerduty"
version = "~> 2.0"
}
}
required_version = ">= 1.1.2"
}

provider "aws" {
Expand Down
13 changes: 0 additions & 13 deletions terraform/account/versions.tf

This file was deleted.

29 changes: 15 additions & 14 deletions terraform/account_ingress/.terraform.lock.hcl
100755 → 100644

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion terraform/account_ingress/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 3.0"
version = "~> 4.0"
}
}
required_version = ">= 1.1.2"
Expand Down
29 changes: 15 additions & 14 deletions terraform/email/.terraform.lock.hcl
100755 → 100644

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion terraform/email/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 3.0"
version = "~> 4.0"
}
}
required_version = ">= 1.1.2"
Expand Down
55 changes: 28 additions & 27 deletions terraform/environment/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion terraform/environment/terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 3.0"
version = "~> 4.0"
}
local = {
source = "hashicorp/local"
Expand Down
57 changes: 29 additions & 28 deletions terraform/region/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion terraform/region/terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 3.0"
version = "~> 4.0"
}
pagerduty = {
source = "PagerDuty/pagerduty"
Expand Down

0 comments on commit e81de20

Please sign in to comment.