Skip to content

Commit 4ef707e

Browse files
committed
feat: terraform arm
1 parent 60a92b1 commit 4ef707e

File tree

4 files changed

+38
-2
lines changed

4 files changed

+38
-2
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FROM mcr.microsoft.com/devcontainers/base:jammy
2+
3+
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
3+
{
4+
"name": "Ubuntu",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"build": {
7+
// Path is relative to the devcontainer.json file.
8+
"dockerfile": "Dockerfile"
9+
},
10+
"features": {
11+
"ghcr.io/devcontainers/features/common-utils": {},
12+
"ghcr.io/devcontainers/features/terraform:1": {},
13+
"ghcr.io/devcontainers/features/aws-cli:1": {},
14+
"ghcr.io/devcontainers/features/azure-cli:1": {},
15+
"ghcr.io/dhoeric/features/google-cloud-cli:1": {}
16+
// "./local-features/ubuntu-dev": "latest"
17+
},
18+
"runArgs": ["--device=/dev/net/tun"]
19+
20+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
21+
// "forwardPorts": [],
22+
23+
// Use 'postCreateCommand' to run commands after the container is created.
24+
// "postCreateCommand": "uname -a",
25+
26+
// Configure tool-specific properties.
27+
// "customizations": {},
28+
29+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
30+
// "remoteUser": "root"
31+
}

templates-arm/terraform/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
build:
2+
devcontainer build --workspace-folder .

templates/terraform/.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"ghcr.io/devcontainers/features/common-utils": {},
1212
"ghcr.io/devcontainers/features/terraform:1": {},
1313
"ghcr.io/devcontainers/features/aws-cli:1": {},
14-
"ghcr.io/devcontainers/features/azure-cli:1":{},
15-
"ghcr.io/dhoeric/features/google-cloud-cli:1":{},
14+
"ghcr.io/devcontainers/features/azure-cli:1": {},
15+
"ghcr.io/dhoeric/features/google-cloud-cli:1": {}
1616
// "./local-features/ubuntu-dev": "latest"
1717
},
1818
"runArgs": ["--device=/dev/net/tun"]

0 commit comments

Comments
 (0)