aboutsummaryrefslogblamecommitdiff
path: root/src/terraform/devcontainer-feature.json
blob: bd6f1cc7a8476a2482cdb3c2e896ec40451167ed (plain) (tree)
1
2
3
4
5
6
7
8
9

                      
                       
                                             
                                                                                            
                                                                                                                                                    


                             

                          
                       



                      




                                              


                          




                                           


                          

                                               
          




                                                                                                                                                                                 








                                                                                                               

         






                                                     



                                                        


                                                       



                                                     
 
{
    "id": "terraform",
    "version": "1.2.0",
    "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"
            ],
            "default": "latest",
            "description": "Tflint version"
        },
        "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"
        }
    },
    "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"
    ]
}