2 Commits

Author SHA1 Message Date
luke-else 192a20c759 feat: Changed image for opentofu devcontainer 2026-06-06 17:24:31 +01:00
luke-else 4860e3f30a feat: Created devcontainer for OpenTOFU usage 2026-06-06 17:17:38 +01:00
+4 -14
View File
@@ -1,19 +1,14 @@
{ {
"name": "Python", "name": "TF",
"runArgs": [ "runArgs": [
"--network=host" "--network=host"
], ],
"image": "git.luke-else.co.uk/luke-else/python-dev:latest", "image": "git.luke-else.co.uk/luke-else/tf-dev:latest",
"remoteUser": "dev", "remoteUser": "dev",
"customizations": { "customizations": {
"vscode": { "vscode": {
"settings": { "settings": {
"editor.formatOnSave": true, "editor.formatOnSave": true,
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
},
"python.defaultInterpreterPath": "/usr/local/bin/python",
"python.analysis.typeCheckingMode": "basic",
"remote.autoForwardPorts": false, "remote.autoForwardPorts": false,
"terminal.integrated.profiles.linux": { "terminal.integrated.profiles.linux": {
"tmux-shell": { "tmux-shell": {
@@ -30,13 +25,8 @@
}, },
"extensions": [ "extensions": [
"ms-azuretools.vscode-docker", "ms-azuretools.vscode-docker",
"ms-python.python", "opentofu.vscode-opentofu"
"ms-python.vscode-pylance",
"ms-python.black-formatter",
"charliermarsh.ruff",
"mermaidchart.vscode-mermaid-chart"
] ]
} }
}, }
"postCreateCommand": "uv sync"
} }