Skip to content

Commit a0160b3

Browse files
committed
Update devcontainer to use aws-cli feature
1 parent 8a85f5b commit a0160b3

2 files changed

Lines changed: 2 additions & 15 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,8 @@
2929
"version": "latest",
3030
"moby": true
3131
},
32-
// Used for AWS CLI (currently interferes with my gpg commits due to a bug)
33-
// https://github.com/microsoft/vscode-dev-containers/pull/1391
34-
// Comments will be removed once ^ has been merged
35-
// "aws-cli": {
36-
// "version": "lts",
37-
// },
32+
// Used for AWS CLI
33+
"aws-cli": "latest",
3834
// Testing out the proxy mechanism and for deploying via CDK
3935
"python": {
4036
"version": "lts",

.devcontainer/post_create.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
#!/usr/bin/env bash
22

3-
# Install x86 or ARM version of awscliv2 based on current machine architecture
4-
if [[ "$(uname -m)" == "x86_64" ]]; then
5-
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "/tmp/awscliv2.zip"
6-
else
7-
curl "https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip" -o "/tmp/awscliv2.zip"
8-
fi
9-
unzip /tmp/awscliv2.zip -d /tmp/awscliv2
10-
/tmp/awscliv2/aws/install && rm -rf /tmp/awscliv2*
11-
123
npm install -g aws-cdk
134
pip install pre-commit

0 commit comments

Comments
 (0)