diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 01c3ef5..ab88141 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -17,5 +17,24 @@ RUN useradd -m -s /usr/bin/bash ${USER} \ # Install Poetry RUN pip install --no-cache-dir poetry + +# Install aws +RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" +RUN unzip awscliv2.zip +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 + + # Set the working directory WORKDIR /workspaces/survey-extractor \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 880cfb3..76f9ce8 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -7,6 +7,7 @@ "postStartCommand": "bash .devcontainer/post-install.sh", "mounts": [ "source=${localEnv:HOME},target=/workspaces/home,type=bind", + "source=${localEnv:HOME}/.aws,target=/home/vscode/.aws,type=bind" ], "customizations": { "vscode": { @@ -18,7 +19,8 @@ "ms-toolsai.jupyter", "mechatroner.rainbow-csv", "ms-toolsai.datawrangler", - "lindacong.vscode-book-reader" + "lindacong.vscode-book-reader", + "4ops.terraform" ] } } diff --git a/deployment/placeholder.txt b/deployment/placeholder.txt deleted file mode 100644 index e69de29..0000000