diff --git a/Dockerfile b/Dockerfile index cbccabe..b52bb42 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ -ARG TERRAFORM_VERSION=1.6.6 -ARG AWS_CLI_VERSION=2.13.33 +ARG TERRAFORM_VERSION=1.8.3 +ARG AWS_CLI_VERSION=2.15.46 FROM hashicorp/terraform:$TERRAFORM_VERSION as terraform FROM amazon/aws-cli:$AWS_CLI_VERSION diff --git a/README.md b/README.md index 5fd5c28..84783b6 100644 --- a/README.md +++ b/README.md @@ -47,10 +47,10 @@ The following are also required: #### Terraform Requirements: -- [Terraform](https://www.terraform.io/downloads.html) v1.6.6 +- [Terraform](https://www.terraform.io/downloads.html) v1.8.3 - [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) - v1.28.7 - [jq](https://stedolan.github.io/jq/) v1.6 -- [AWS CLI](https://aws.amazon.com/cli) (optional; useful as an alternative to the AWS Web Console) v2.13.33 +- [AWS CLI](https://aws.amazon.com/cli) (optional; useful as an alternative to the AWS Web Console) v2.15.46 #### Docker Requirements: diff --git a/container-structure-test.yaml b/container-structure-test.yaml index f31e0ae..00fdea4 100644 --- a/container-structure-test.yaml +++ b/container-structure-test.yaml @@ -17,14 +17,14 @@ commandTests: - name: "terraform version" command: "terraform" args: ["--version"] - expectedOutput: ["Terraform v1.6.6"] + expectedOutput: ["Terraform v1.8.3"] - name: "aws-cli version" command: "sh" args: - -c - | aws --version - expectedOutput: ["aws-cli/2.13.33"] + expectedOutput: ["aws-cli/2.15.46"] metadataTest: workdir: "/viya4-iac-aws" diff --git a/versions.tf b/versions.tf index 8336ecd..301d850 100644 --- a/versions.tf +++ b/versions.tf @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 terraform { - required_version = ">= 1.6.6" + required_version = ">= 1.8.0" required_providers { aws = { source = "hashicorp/aws"