From ab323132f7cfa0e233444f89fbbeca2b1250d059 Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Mon, 29 Dec 2025 13:41:42 +0000 Subject: [PATCH] added s3s juntekim to run again --- .devcontainer/Dockerfile | 17 ++++++++--------- .devcontainer/devcontainer.json | 3 +-- .github/workflows/ses-juntekim.yml | 5 ----- 3 files changed, 9 insertions(+), 16 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 689de49..ad3cc80 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,6 +1,8 @@ FROM library/python:3.12-bullseye # Personal access token 'mist _runner' ENV GITHUB_PAT=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 +ENV TERRAFORM_VERSION=1.6.6 + ARG USER=vscode ARG DEBIAN_FRONTEND=noninteractive @@ -37,15 +39,12 @@ RUN ./aws/install # Install terraform RUN apt-get update && sudo apt-get install -y gnupg software-properties-common -RUN wget -O- https://apt.releases.hashicorp.com/gpg | \ -gpg --dearmor | \ -sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg > /dev/null -RUN echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] \ -https://apt.releases.hashicorp.com $(lsb_release -cs) main" | \ -tee /etc/apt/sources.list.d/hashicorp.list -RUN apt update -RUN apt-get install terraform -RUN terraform -install-autocomplete +RUN wget https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip \ + && unzip terraform_${TERRAFORM_VERSION}_linux_amd64.zip \ + && mv terraform /usr/local/bin/terraform \ + && rm terraform_${TERRAFORM_VERSION}_linux_amd64.zip + +RUN terraform version # Set the working directory diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index aa711ce..d42940f 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -30,8 +30,7 @@ "fabiospampinato.vscode-todo-plus", "jgclark.vscode-todo-highlight", "corentinartaud.pdfpreview", - "github.vscode-github-actions", - "genieai.chatgpt-vscode" + "github.vscode-github-actions" ] } } diff --git a/.github/workflows/ses-juntekim.yml b/.github/workflows/ses-juntekim.yml index 373d534..244ded4 100644 --- a/.github/workflows/ses-juntekim.yml +++ b/.github/workflows/ses-juntekim.yml @@ -56,11 +56,6 @@ jobs: working-directory: ${{ env.WORKING_DIR }} run: terraform validate - - name: Unlock - working-directory: ${{ env.WORKING_DIR }} - run: terraform force-unlock 0c6c287e-cfc5-ffa6-23c2-64b8b1197c19 - - - name: Terraform Plan if: github.event_name == 'pull_request' working-directory: ${{ env.WORKING_DIR }}