github.com/graywolf-at-work-2/terraform-vendor@v1.4.5/internal/command/testdata/show-json/provider-aliasing-conflict/output.json (about)

     1  {
     2    "format_version": "1.0",
     3    "terraform_version": "1.1.0-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"
    16            },
    17            "sensitive_values": {}
    18          }
    19        ],
    20        "child_modules": [
    21          {
    22            "resources": [
    23              {
    24                "address": "module.child.test_instance.test",
    25                "mode": "managed",
    26                "type": "test_instance",
    27                "name": "test",
    28                "provider_name": "registry.terraform.io/hashicorp2/test",
    29                "schema_version": 0,
    30                "values": {
    31                  "ami": "bar"
    32                },
    33                "sensitive_values": {}
    34              }
    35            ],
    36            "address": "module.child"
    37          }
    38        ]
    39      }
    40    },
    41    "resource_changes": [
    42      {
    43        "address": "test_instance.test",
    44        "mode": "managed",
    45        "type": "test_instance",
    46        "name": "test",
    47        "provider_name": "registry.terraform.io/hashicorp/test",
    48        "change": {
    49          "actions": [
    50            "create"
    51          ],
    52          "before": null,
    53          "after": {
    54            "ami": "foo"
    55          },
    56          "after_unknown": {
    57            "id": true
    58          },
    59          "before_sensitive": false,
    60          "after_sensitive": {}
    61        }
    62      },
    63      {
    64        "address": "module.child.test_instance.test",
    65        "module_address": "module.child",
    66        "mode": "managed",
    67        "type": "test_instance",
    68        "name": "test",
    69        "provider_name": "registry.terraform.io/hashicorp2/test",
    70        "change": {
    71          "actions": [
    72            "create"
    73          ],
    74          "before": null,
    75          "after": {
    76            "ami": "bar"
    77          },
    78          "after_unknown": {
    79            "id": true
    80          },
    81          "before_sensitive": false,
    82          "after_sensitive": {}
    83        }
    84      }
    85    ],
    86    "configuration": {
    87      "provider_config": {
    88        "test": {
    89          "name": "test",
    90          "full_name": "registry.terraform.io/hashicorp/test",
    91          "expressions": {
    92            "region": {
    93              "constant_value": "somewhere"
    94            }
    95          }
    96        },
    97        "module.child:test": {
    98          "module_address": "module.child",
    99          "name": "test",
   100          "full_name": "registry.terraform.io/hashicorp2/test"
   101        }
   102      },
   103      "root_module": {
   104        "resources": [
   105          {
   106            "address": "test_instance.test",
   107            "mode": "managed",
   108            "type": "test_instance",
   109            "name": "test",
   110            "provider_config_key": "test",
   111            "expressions": {
   112              "ami": {
   113                "constant_value": "foo"
   114              }
   115            },
   116            "schema_version": 0
   117          }
   118        ],
   119        "module_calls": {
   120          "child": {
   121            "source": "./child",
   122            "module": {
   123              "resources": [
   124                {
   125                  "address": "test_instance.test",
   126                  "mode": "managed",
   127                  "type": "test_instance",
   128                  "name": "test",
   129                  "provider_config_key": "module.child:test",
   130                  "expressions": {
   131                    "ami": {
   132                      "constant_value": "bar"
   133                    }
   134                  },
   135                  "schema_version": 0
   136                }
   137              ]
   138            }
   139          }
   140        }
   141      }
   142    }
   143  }