Skip to content

Commit d9d0169

Browse files
committed
feat: add AWS CLI feature to devcontainer and remove terraform feature
1 parent 9efbf1e commit d9d0169

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

templates-arm/terraform/.devcontainer/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
"dockerfile": "Dockerfile"
99
},
1010
"features": {
11+
"./local-features/aws-cli": "latest"
1112
// "ghcr.io/devcontainers/features/common-utils": {},
12-
"ghcr.io/devcontainers/features/terraform:1": {},
13+
// "ghcr.io/devcontainers/features/terraform:1": {},
1314
// "ghcr.io/devcontainers/features/aws-cli:1": {},
1415
// "ghcr.io/devcontainers/features/azure-cli:1": {},
1516
// "ghcr.io/dhoeric/features/google-cloud-cli:1": {}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"id": "aws-cli",
3+
"name": "AWS CLI",
4+
"install": {
5+
"app": "",
6+
"file": "install.sh"
7+
}
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env bash
2+
curl "https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip" -o "awscliv2.zip" \
3+
4+
unzip awscliv2.zip
5+
6+
./aws/install
7+
8+
rm -rf awscliv2.zip aws

0 commit comments

Comments
 (0)