{
    "version": 2,
    "outputCapture": "direct-nodejs",
    "$schema": "http://json-schema.org/schema",
    "cli": "nx",
    "title": "Terraform State executor",
    "description": "Runs terragrunt state commands",
    "type": "object",
    "properties": {
        "command": {
            "type": "string",
            "description": "The state command to run (list, show etc, run `terraform state help` for more info)",
            "alias": "cmd"
        },
        "address": {
            "type": "string",
            "description": "The address of the resource",
            "aliases": [
                "r",
                "p"
            ]
        },
        "environment": {
            "type": "string",
            "description": "The environment to deploy",
            "alias": "env"
        },
        "addIpToDefaultStorage": {
            "type": "boolean",
            "description": "Adds a firewall exception for the current ip to the environment keyvault",
            "default": true
        },
        "firewallRetryAttempts": {
            "type": "integer",
            "description": "Number of times to retry adding the firewall exception for the current ip to the environment keyvault",
            "default": 12
        },
        "firewallRetryDelay": {
            "type": "integer",
            "description": "Delay in seconds between firewall retry attempts",
            "default": 5
        },
        "json": {
            "type": "boolean",
            "description": "Outputs the state in json format",
            "default": false
        }
    },
    "required": [
        "environment",
        "command"
    ]
}