Skip to content

Commit a5e1957

Browse files
committed
Upgrade AWS Terraform provider to version 6
1 parent 9247b9f commit a5e1957

10 files changed

Lines changed: 11 additions & 11 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ At the start of the course, take care of the following tasks:
1010

1111
### Ensure Node.js and npm are installed
1212

13-
Ensure that you have Node.js runtime version 18.x or newer installed on your machine. If you need to install it, follow [the instructions on the Node.js site](https://nodejs.org/). Furthermore, you will also need the `npm` CLI. After the Node.js installation, type `npm` in a shell, to check that it is available.
13+
Ensure that you have Node.js runtime version 22.x or newer installed on your machine. If you need to install it, follow [the instructions on the Node.js site](https://nodejs.org/). Furthermore, you will also need the `npm` CLI. After the Node.js installation, type `npm` in a shell, to check that it is available.
1414

1515
In case you cannot or do not want to install Node.js and npm, you can also run the commands via a container. For example, using Docker:
1616

@@ -38,7 +38,7 @@ Work through the following steps:
3838
1. Choose **Europe (Frankfurt) eu-central-1** as the region in the top-right corner. All resources you create should be created in that region.
3939
1. Click on `Create function`
4040
1. Choose `my-function-AWSUSER` as the function name, replacing `AWSUSER` with your user name
41-
1. Choose `Node.js 18.x` as the runtime
41+
1. Choose `Node.js 22.x` as the runtime
4242
1. Open the section `Change default execution role` and note that the UI automatically creates an execution role behind the scenes, granting the function certain privileges
4343
1. Click `Create function`
4444
1. Copy the code from [level-0/function/index.mjs](https://github.com/bespinian/serverless-workshop/blob/main/level-0/function/index.mjs) and paste it into the code editor field

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 = "~> 5.0"
7+
version = "~> 6.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 = "~> 5.0"
7+
version = "~> 6.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 = "~> 5.0"
7+
version = "~> 6.0"
88
}
99
random = {
1010
source = "hashicorp/random"

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 = "~> 5.0"
7+
version = "~> 6.0"
88
}
99
random = {
1010
source = "hashicorp/random"

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 = "~> 5.0"
7+
version = "~> 6.0"
88
}
99
random = {
1010
source = "hashicorp/random"

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 = "~> 5.0"
7+
version = "~> 6.0"
88
}
99
random = {
1010
source = "hashicorp/random"

level-6/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 = "~> 5.0"
7+
version = "~> 6.0"
88
}
99
random = {
1010
source = "hashicorp/random"

level-8/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 = "~> 5.0"
7+
version = "~> 6.0"
88
}
99
random = {
1010
source = "hashicorp/random"

level-9/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 = "~> 5.0"
7+
version = "~> 6.0"
88
}
99
random = {
1010
source = "hashicorp/random"

0 commit comments

Comments
 (0)