Skip to content

Commit a2c34a9

Browse files
committed
Upgrade Terraform AWS provider to version 5
1 parent 30143c7 commit a2c34a9

File tree

20 files changed

+5761
-5183
lines changed

20 files changed

+5761
-5183
lines changed

level-0/advanced/terraform/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = "~> 4.0"
7+
version = "~> 5.0"
88
}
99
random = {
1010
source = "hashicorp/random"

level-1/advanced/terraform/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = "~> 4.0"
7+
version = "~> 5.0"
88
}
99
random = {
1010
source = "hashicorp/random"

level-2/advanced/terraform/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = "~> 4.0"
7+
version = "~> 5.0"
88
}
99
random = {
1010
source = "hashicorp/random"

level-2/function/package-lock.json

Lines changed: 672 additions & 601 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

level-3/advanced/terraform/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = "~> 4.0"
7+
version = "~> 5.0"
88
}
99
random = {
1010
source = "hashicorp/random"

level-3/function/index.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ export const handler = async (event, context) => {
1414
const timeoutPromise = new Promise((_, reject) =>
1515
setTimeout(
1616
() => reject(new Error("Timeout")),
17-
context.getRemainingTimeInMillis() - TIMEOUT_GRACE_PERIOD_IN_MILLIS
18-
)
17+
context.getRemainingTimeInMillis() - TIMEOUT_GRACE_PERIOD_IN_MILLIS,
18+
),
1919
);
2020

2121
let jokeID = event.jokeID;
@@ -35,7 +35,7 @@ export const handler = async (event, context) => {
3535
try {
3636
const response = await Promise.race([timeoutPromise, responsePromise]);
3737
console.log(
38-
`Remaining time after db query is ${context.getRemainingTimeInMillis()}ms.`
38+
`Remaining time after db query is ${context.getRemainingTimeInMillis()}ms.`,
3939
);
4040

4141
return response.Item;

level-3/function/package-lock.json

Lines changed: 672 additions & 601 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

level-4/advanced/terraform/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = "~> 4.0"
7+
version = "~> 5.0"
88
}
99
random = {
1010
source = "hashicorp/random"

level-4/function/package-lock.json

Lines changed: 672 additions & 601 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

level-5/advanced/terraform/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = "~> 4.0"
7+
version = "~> 5.0"
88
}
99
random = {
1010
source = "hashicorp/random"

0 commit comments

Comments
 (0)