From 8c6aae899922793a2cb0c291b8926356a8111bba Mon Sep 17 00:00:00 2001
From: tungbq <85242618+tungbq@users.noreply.github.com>
Date: Wed, 17 Apr 2024 15:28:41 +0000
Subject: [PATCH] core: update tool versions

---
 Dockerfile        | 10 +++++-----
 README.md         | 10 +++++-----
 toolkit_info.json | 10 +++++-----
 3 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 9d969c4..c8b9b1a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -34,11 +34,11 @@ RUN curl -k https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
 
 # Install Ansible
 # Docs: https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#installing-and-upgrading-ansible-with-pip
-ARG ANSIBLE_VERSION=2.16.5
+ARG ANSIBLE_VERSION=2.16.6
 RUN python3 -m pip install ansible-core==${ANSIBLE_VERSION}
 
 # Install Terraform
-ARG TERRAFORM_VERSION=1.7.5
+ARG TERRAFORM_VERSION=1.8.1
 RUN mkdir /tmp/terraform_env/ && \
     cd /tmp/terraform_env/ && \
     wget https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip && \
@@ -47,7 +47,7 @@ RUN mkdir /tmp/terraform_env/ && \
     rm -rf /tmp/terraform_env/
 
 # Install Kubectl
-ARG KUBECTL_VERSION=1.29.3
+ARG KUBECTL_VERSION=1.29.4
 RUN mkdir /tmp/kubectl_env/ && \
     cd /tmp/kubectl_env/ && \
     curl -LO "https://dl.k8s.io/release/v$KUBECTL_VERSION/bin/linux/amd64/kubectl" && \
@@ -56,7 +56,7 @@ RUN mkdir /tmp/kubectl_env/ && \
     rm -rf /tmp/kubectl_env/
 
 # Install Helm
-ARG HELM_VERSION=3.14.3
+ARG HELM_VERSION=3.14.4
 RUN mkdir /tmp/helm_env/ && \
     cd /tmp/helm_env/ && \
     wget https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz && \
@@ -65,7 +65,7 @@ RUN mkdir /tmp/helm_env/ && \
     rm -rf /tmp/helm_env/
 
 # Install AwsCLI
-ARG AWSCLI_VERSION=2.15.36
+ARG AWSCLI_VERSION=2.15.38
 RUN mkdir /tmp/awscli_env/ && \
     cd /tmp/awscli_env/ && \
     wget "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${AWSCLI_VERSION}.zip" && \
diff --git a/README.md b/README.md
index c4c8734..9459b9f 100644
--- a/README.md
+++ b/README.md
@@ -97,11 +97,11 @@ Built on `ubuntu:22.04` base image
 | Name      | Version                 | Release                                                                      | Usage                                              |
 | :-------- | :---------------------- | :--------------------------------------------------------------------------- | :------------------------------------------------- |
 | Python    | PYTHON_VERSION=3.11     | [Check](https://www.python.org/downloads/source/)                            | [python_usage](./docs/usage/python_usage.md)       |
-| Ansible   | ANSIBLE_VERSION=2.16.5  | [Check](https://api.github.com/repos/ansible/ansible/releases/latest)        | [ansible_usage](./docs/usage/ansible_usage.md)     |
-| Terraform | TERRAFORM_VERSION=1.7.5 | [Check](https://releases.hashicorp.com/terraform/)                           | [terraform_usage](./docs/usage/terraform_usage.md) |
-| Kubectl   | KUBECTL_VERSION=1.29.3  | [Check](https://dl.k8s.io/release/stable.txt)                                | [kubectl_usage](./docs/usage/kubectl_usage.md)     |
-| Helm      | HELM_VERSION=3.14.3     | [Check](https://github.com/helm/helm/releases)                               | [helm_usage](./docs/usage/helm_usage.md)           |
-| AwsCLI    | AWSCLI_VERSION=2.15.36  | [Check](https://raw.githubusercontent.com/aws/aws-cli/v2/CHANGELOG.rst)      | [awscli_usage](./docs/usage/awscli_usage.md)       |
+| Ansible   | ANSIBLE_VERSION=2.16.6  | [Check](https://api.github.com/repos/ansible/ansible/releases/latest)        | [ansible_usage](./docs/usage/ansible_usage.md)     |
+| Terraform | TERRAFORM_VERSION=1.8.1 | [Check](https://releases.hashicorp.com/terraform/)                           | [terraform_usage](./docs/usage/terraform_usage.md) |
+| Kubectl   | KUBECTL_VERSION=1.29.4  | [Check](https://dl.k8s.io/release/stable.txt)                                | [kubectl_usage](./docs/usage/kubectl_usage.md)     |
+| Helm      | HELM_VERSION=3.14.4     | [Check](https://github.com/helm/helm/releases)                               | [helm_usage](./docs/usage/helm_usage.md)           |
+| AwsCLI    | AWSCLI_VERSION=2.15.38  | [Check](https://raw.githubusercontent.com/aws/aws-cli/v2/CHANGELOG.rst)      | [awscli_usage](./docs/usage/awscli_usage.md)       |
 | AzureCLI  | AZURECLI_VERSION=2.59.0 | [Check](https://learn.microsoft.com/en-us/cli/azure/release-notes-azure-cli) | [azurecli_usage](./docs/usage/azurecli_usage.md)   |
 
 And more tools to be implemented...
diff --git a/toolkit_info.json b/toolkit_info.json
index 9671ba7..ff5c1b3 100644
--- a/toolkit_info.json
+++ b/toolkit_info.json
@@ -1,9 +1,9 @@
 {
   "python3": "3.11",
-  "ansible": "2.16.5",
-  "terraform": "1.7.5",
-  "kubectl": "1.29.3",
-  "helm": "3.14.3",
-  "awscli": "2.15.36",
+  "ansible": "2.16.6",
+  "terraform": "1.8.1",
+  "kubectl": "1.29.4",
+  "helm": "3.14.4",
+  "awscli": "2.15.38",
   "azurecli": "2.59.0"
 }
\ No newline at end of file
