aboutsummaryrefslogtreecommitdiff
path: root/src/terraform/devcontainer-feature.json
blob: 51fb9a27ae5135df51c417e326c5ec68966f579f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
    "id": "terraform",
    "version": "1.3.5",
    "name": "Terraform, tflint, and TFGrunt",
    "documentationURL": "https://github.com/devcontainers/features/tree/main/src/terraform",
    "description": "Installs the Terraform CLI and optionally TFLint and Terragrunt. Auto-detects latest version and installs needed dependencies.",
    "options": {
        "version": {
            "type": "string",
            "proposals": [
                "latest",
                "none",
                "1.1",
                "1.0",
                "0.15"
            ],
            "default": "latest",
            "description": "Terraform version"
        },
        "tflint": {
            "type": "string",
            "proposals": [
                "latest",
                "0.47.0",
                "0.46.1"
            ],
            "default": "latest",
            "description": "Tflint version (https://github.com/terraform-linters/tflint/releases)"
        },
        "terragrunt": {
            "type": "string",
            "proposals": [
                "latest"
            ],
            "default": "latest",
            "description": "Terragrunt version"
        },
        "installSentinel": {
            "type": "boolean",
            "default": false,
            "description": "Install sentinel, a language and framework for policy built to be embedded in existing software to enable fine-grained, logic-based policy decisions"
        },
        "installTFsec": {
            "type": "boolean",
            "default": false,
            "description": "Install tfsec, a tool to spot potential misconfigurations for your terraform code"
        },
        "installTerraformDocs": {
            "type": "boolean",
            "default": false,
            "description": "Install terraform-docs, a utility to generate documentation from Terraform modules"
        },
        "httpProxy": {
            "type": "string",
            "default": "",
            "description": "Connect to a keyserver using a proxy by configuring this option"
        }
    },
    "customizations": {
        "vscode": {
            "extensions": [
                "HashiCorp.terraform",
                "ms-azuretools.vscode-azureterraform"
            ],
            "settings": {
                "terraform.languageServer.enable": true,
                "terraform.languageServer.args": [
                    "serve"
                ],
                "azureTerraform.terminal": "integrated"
            }
        }
    },
    "installsAfter": [
        "ghcr.io/devcontainers/features/common-utils"
    ]
}