|
4 | 4 | "dockerfile": "Dockerfile", |
5 | 5 | "args": { |
6 | 6 | "VARIANT": "ubuntu-22.04", |
7 | | - "TERRAFORM_VERSION": "1.5.7", |
8 | | - "TERRAFORM_DOCS_VERSION": "0.16.0", |
9 | | - "TFSEC_VERSION": "1.28.0", |
10 | | - "TERRASCAN_VERSION": "1.18.3", |
11 | | - "TFLINT_VERSION": "0.47.0", |
| 7 | + "TERRAFORM_VERSION": "1.12.1", |
| 8 | + "TERRAFORM_DOCS_VERSION": "0.20.0", |
| 9 | + "TFSEC_VERSION": "1.28.13", |
| 10 | + "TERRASCAN_VERSION": "1.19.9", |
| 11 | + "TFLINT_VERSION": "0.48.0", |
12 | 12 | "TFLINT_AWS_RULESET_VERSION": "0.23.1", |
13 | 13 | "TFLINT_AZURE_RULESET_VERSION": "0.23.0", |
14 | 14 | "TFLINT_GCP_RULESET_VERSION": "0.23.1", |
15 | | - "TERRAGRUNT_VERSION": "0.48.0", |
16 | | - "INFRACOST_VERSION": "0.10.28", |
17 | | - "CHECKOV_VERSION": "2.3.360" |
| 15 | + "TERRAGRUNT_VERSION": "0.50.1", |
| 16 | + "TERRATEST_VERSION": "0.49.0", |
| 17 | + "INFRACOST_VERSION": "0.10.41", |
| 18 | + "CHECKOV_VERSION": "3.2.439" |
18 | 19 | } |
19 | 20 | }, |
20 | 21 | "postStartCommand": "post-start", |
21 | 22 | "remoteUser": "vscode", |
22 | | - |
| 23 | + |
23 | 24 | // Configure tool-specific properties |
24 | 25 | "customizations": { |
25 | 26 | "vscode": { |
|
44 | 45 | "ms-python.python", |
45 | 46 | "ms-python.vscode-pylance" |
46 | 47 | ], |
47 | | - |
| 48 | + |
48 | 49 | // Set *default* container specific settings.json values on container create |
49 | 50 | "settings": { |
50 | 51 | "terminal.integrated.defaultProfile.linux": "bash", |
|
61 | 62 | "files.trimTrailingWhitespace": true, |
62 | 63 | "files.insertFinalNewline": true, |
63 | 64 | "files.trimFinalNewlines": true, |
64 | | - |
| 65 | + |
65 | 66 | // Terraform settings |
66 | 67 | "[terraform]": { |
67 | 68 | "editor.defaultFormatter": "hashicorp.terraform", |
|
78 | 79 | "args": [] |
79 | 80 | }, |
80 | 81 | "terraform.experimentalFeatures.validateOnSave": true, |
81 | | - |
| 82 | + |
82 | 83 | // YAML settings |
83 | 84 | "[yaml]": { |
84 | 85 | "editor.defaultFormatter": "redhat.vscode-yaml", |
85 | 86 | "editor.formatOnSave": true, |
86 | 87 | "editor.tabSize": 2 |
87 | 88 | }, |
88 | | - |
| 89 | + |
89 | 90 | // Markdown settings |
90 | 91 | "[markdown]": { |
91 | 92 | "editor.defaultFormatter": "yzhang.markdown-all-in-one", |
|
94 | 95 | } |
95 | 96 | } |
96 | 97 | }, |
97 | | - |
| 98 | + |
98 | 99 | // Mount host volumes for credentials and caching |
99 | 100 | "mounts": [ |
100 | 101 | "source=${localEnv:HOME}${localEnv:USERPROFILE}/.aws,target=/home/vscode/.aws,type=bind,consistency=cached", |
|
103 | 104 | "source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/home/vscode/.ssh,type=bind,consistency=cached", |
104 | 105 | "source=terraform-cache,target=/home/vscode/.terraform.d/plugin-cache,type=volume" |
105 | 106 | ], |
106 | | - |
| 107 | + |
107 | 108 | // Use 'forwardPorts' to make a list of ports inside the container available locally |
108 | 109 | // "forwardPorts": [], |
109 | | - |
| 110 | + |
110 | 111 | // Features to add to the dev container |
111 | 112 | "features": { |
112 | 113 | "ghcr.io/devcontainers/features/github-cli:1": {}, |
|
115 | 116 | "ppa": false |
116 | 117 | } |
117 | 118 | }, |
118 | | - |
| 119 | + |
119 | 120 | // Environment variables |
120 | 121 | "containerEnv": { |
121 | 122 | "TF_PLUGIN_CACHE_DIR": "/home/vscode/.terraform.d/plugin-cache" |
|
0 commit comments