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

     1  {
     2      "format_version": "1.0",
     3      "variables": {
     4          "test_var": {
     5              "value": "bar"
     6          }
     7      },
     8      "planned_values": {
     9          "outputs": {
    10              "test": {
    11                  "sensitive": true,
    12                  "type": "string",
    13                  "value": "bar"
    14              }
    15          },
    16          "root_module": {
    17              "resources": [
    18                  {
    19                      "address": "test_instance.test[0]",
    20                      "index": 0,
    21                      "mode": "managed",
    22                      "type": "test_instance",
    23                      "name": "test",
    24                      "provider_name": "registry.terraform.io/hashicorp/test",
    25                      "schema_version": 0,
    26                      "values": {
    27                          "ami": "bar",
    28                          "password": "secret"
    29                      },
    30                      "sensitive_values": {
    31                          "ami": true
    32                      }
    33                  },
    34                  {
    35                      "address": "test_instance.test[1]",
    36                      "index": 1,
    37                      "mode": "managed",
    38                      "type": "test_instance",
    39                      "name": "test",
    40                      "provider_name": "registry.terraform.io/hashicorp/test",
    41                      "schema_version": 0,
    42                      "values": {
    43                          "ami": "bar",
    44                          "password": "secret"
    45                      },
    46                      "sensitive_values": {
    47                          "ami": true
    48                      }
    49                  },
    50                  {
    51                      "address": "test_instance.test[2]",
    52                      "index": 2,
    53                      "mode": "managed",
    54                      "type": "test_instance",
    55                      "name": "test",
    56                      "provider_name": "registry.terraform.io/hashicorp/test",
    57                      "schema_version": 0,
    58                      "values": {
    59                          "ami": "bar",
    60                          "password": "secret"
    61                      },
    62                      "sensitive_values": {
    63                          "ami": true
    64                      }
    65                  }
    66              ]
    67          }
    68      },
    69      "prior_state": {
    70          "format_version": "1.0",
    71          "values": {
    72              "outputs": {
    73                  "test": {
    74                      "sensitive": true,
    75                      "type": "string",
    76                      "value": "bar"
    77                  }
    78              },
    79              "root_module": {}
    80          }
    81      },
    82      "resource_changes": [
    83          {
    84              "address": "test_instance.test[0]",
    85              "index": 0,
    86              "mode": "managed",
    87              "type": "test_instance",
    88              "provider_name": "registry.terraform.io/hashicorp/test",
    89              "name": "test",
    90              "change": {
    91                  "actions": [
    92                      "create"
    93                  ],
    94                  "before": null,
    95                  "after_unknown": {
    96                      "id": true
    97                  },
    98                  "after": {
    99                      "ami": "bar",
   100                      "password": "secret"
   101                  },
   102                  "after_sensitive": {"ami": true, "password": true},
   103                  "before_sensitive": false
   104              }
   105          },
   106          {
   107              "address": "test_instance.test[1]",
   108              "index": 1,
   109              "mode": "managed",
   110              "type": "test_instance",
   111              "provider_name": "registry.terraform.io/hashicorp/test",
   112              "name": "test",
   113              "change": {
   114                  "actions": [
   115                      "create"
   116                  ],
   117                  "before": null,
   118                  "after_unknown": {
   119                      "id": true
   120                  },
   121                  "after": {
   122                      "ami": "bar",
   123                      "password": "secret"
   124                  },
   125                  "after_sensitive": {"ami": true, "password": true},
   126                  "before_sensitive": false
   127              }
   128          },
   129          {
   130              "address": "test_instance.test[2]",
   131              "index": 2,
   132              "mode": "managed",
   133              "type": "test_instance",
   134              "provider_name": "registry.terraform.io/hashicorp/test",
   135              "name": "test",
   136              "change": {
   137                  "actions": [
   138                      "create"
   139                  ],
   140                  "before": null,
   141                  "after_unknown": {
   142                      "id": true
   143                  },
   144                  "after": {
   145                      "ami": "bar",
   146                      "password": "secret"
   147                  },
   148                  "after_sensitive": {"ami": true, "password": true},
   149                  "before_sensitive": false
   150              }
   151          }
   152      ],
   153      "output_changes": {
   154          "test": {
   155              "actions": [
   156                  "create"
   157              ],
   158              "before": null,
   159              "after": "bar",
   160              "after_unknown": false,
   161              "before_sensitive": true,
   162              "after_sensitive": true
   163          }
   164      },
   165      "configuration": {
   166          "provider_config": {
   167              "test": {
   168                  "name": "test",
   169                  "full_name": "registry.terraform.io/hashicorp/test",
   170                  "expressions": {
   171                      "region": {
   172                          "constant_value": "somewhere"
   173                      }
   174                  }
   175              }
   176          },
   177          "root_module": {
   178              "outputs": {
   179                  "test": {
   180                      "expression": {
   181                          "references": [
   182                              "var.test_var"
   183                          ]
   184                      },
   185                      "sensitive": true
   186                  }
   187              },
   188              "resources": [
   189                  {
   190                      "address": "test_instance.test",
   191                      "mode": "managed",
   192                      "type": "test_instance",
   193                      "name": "test",
   194                      "provider_config_key": "test",
   195                      "schema_version": 0,
   196                      "expressions": {
   197                          "ami": {
   198                              "references": [
   199                                  "var.test_var"
   200                              ]
   201                          },
   202                          "password": {"constant_value": "secret"}
   203                      },
   204                      "count_expression": {
   205                          "constant_value": 3
   206                      }
   207                  }
   208              ],
   209              "variables": {
   210                  "test_var": {
   211                      "default": "bar",
   212                      "sensitive": true
   213                  }
   214              }
   215          }
   216      }
   217  }