github.com/graywolf-at-work-2/terraform-vendor@v1.4.5/internal/command/testdata/show-json/module-depends-on/output.json (about)

     1  {
     2      "format_version": "1.0",
     3      "terraform_version": "0.13.1-dev",
     4      "planned_values": {
     5          "root_module": {
     6              "resources": [
     7                  {
     8                      "address": "test_instance.test",
     9                      "mode": "managed",
    10                      "type": "test_instance",
    11                      "name": "test",
    12                      "provider_name": "registry.terraform.io/hashicorp/test",
    13                      "schema_version": 0,
    14                      "values": {
    15                          "ami": "foo-bar"
    16                      },
    17                      "sensitive_values": {}
    18                  }
    19              ]
    20          }
    21      },
    22      "resource_changes": [
    23          {
    24              "address": "test_instance.test",
    25              "mode": "managed",
    26              "type": "test_instance",
    27              "name": "test",
    28              "provider_name": "registry.terraform.io/hashicorp/test",
    29              "change": {
    30                  "actions": [
    31                      "create"
    32                  ],
    33                  "before": null,
    34                  "after": {
    35                      "ami": "foo-bar"
    36                  },
    37                  "after_unknown": {
    38                      "id": true
    39                  },
    40                  "after_sensitive": {},
    41                  "before_sensitive": false
    42              }
    43          }
    44      ],
    45      "configuration": {
    46          "provider_config": {
    47              "test": {
    48                  "name": "test",
    49                  "full_name": "registry.terraform.io/hashicorp/test"
    50              }
    51          },
    52          "root_module": {
    53              "resources": [
    54                  {
    55                      "address": "test_instance.test",
    56                      "mode": "managed",
    57                      "type": "test_instance",
    58                      "name": "test",
    59                      "provider_config_key": "test",
    60                      "expressions": {
    61                          "ami": {
    62                              "constant_value": "foo-bar"
    63                          }
    64                      },
    65                      "schema_version": 0
    66                  }
    67              ],
    68              "module_calls": {
    69                  "foo": {
    70                      "depends_on": [
    71                          "test_instance.test"
    72                      ],
    73                      "source": "./foo",
    74                      "module": {
    75                          "variables": {
    76                              "test_var": {
    77                                  "default": "foo-var"
    78                              }
    79                          }
    80                      }
    81                  }
    82              }
    83          }
    84      }
    85  }