43 lines
1.4 KiB
JSON
43 lines
1.4 KiB
JSON
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
|
|
{
|
|
"name": "terraform-dev-environment",
|
|
"image": "mcr.microsoft.com/devcontainers/base:jammy",
|
|
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/aws-cli:1": {},
|
|
"ghcr.io/devcontainers/features/terraform:1": {},
|
|
"ghcr.io/dhoeric/features/terraform-docs:1": {},
|
|
"ghcr.io/dhoeric/features/tfsec:1": {},
|
|
"ghcr.io/devcontainers/features/git:1": {}
|
|
},
|
|
|
|
"postCreateCommand": "terraform version && tfsec --version && terraform-docs --version",
|
|
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"hashicorp.terraform",
|
|
"tfsec.tfsec",
|
|
"oderwat.indent-rainbow",
|
|
"catppuccin.catppuccin-vsc",
|
|
"catppuccin.catppuccin-vsc-icons",
|
|
"continue.continue"
|
|
],
|
|
"settings": {
|
|
"editor.formatOnSave": true,
|
|
"editor.trimTrailingWhitespace": true,
|
|
"files.trimTrailingWhitespace": true,
|
|
"files.insertFinalNewline": true,
|
|
"terraform.experimentalFeatures.validateOnSave": true,
|
|
"terraform.languageServer": {
|
|
"enabled": true,
|
|
"args": []
|
|
}
|
|
}
|
|
}
|
|
},
|
|
|
|
"remoteUser": "vscode"
|
|
}
|