github.com/iaas-resource-provision/iaas-rpc@v1.0.7-0.20211021023331-ed21f798c408/internal/command/testdata/show-json/sensitive-values/output.json (about)

     1  {
     2      "format_version": "0.2",
     3      "variables": {
     4          "test_var": {
     5              "value": "boop"
     6          }
     7      },
     8      "planned_values": {
     9          "outputs": {
    10              "test": {
    11                  "sensitive": true,
    12                  "value": "boop"
    13              }
    14          },
    15          "root_module": {
    16              "resources": [
    17                  {
    18                      "address": "test_instance.test",
    19                      "mode": "managed",
    20                      "type": "test_instance",
    21                      "name": "test",
    22                      "provider_name": "registry.terraform.io/hashicorp/test",
    23                      "schema_version": 0,
    24                      "values": {
    25                          "ami": "boop"
    26                      },
    27                      "sensitive_values": {
    28                          "ami": true
    29                      }
    30                  }
    31              ]
    32          }
    33      },
    34      "resource_changes": [
    35          {
    36              "address": "test_instance.test",
    37              "mode": "managed",
    38              "type": "test_instance",
    39              "provider_name": "registry.terraform.io/hashicorp/test",
    40              "name": "test",
    41              "change": {
    42                  "actions": [
    43                      "create"
    44                  ],
    45                  "before": null,
    46                  "after": {
    47                      "ami": "boop"
    48                  },
    49                  "after_unknown": {
    50                      "id": true
    51                  },
    52                  "after_sensitive": {
    53                    "ami": true
    54                  },
    55                  "before_sensitive": false
    56              }
    57          }
    58      ],
    59      "output_changes": {
    60          "test": {
    61              "actions": [
    62                  "create"
    63              ],
    64              "before": null,
    65              "after": "boop",
    66              "after_unknown": false,
    67              "before_sensitive": true,
    68              "after_sensitive": true
    69          }
    70      },
    71      "prior_state": {
    72          "format_version": "0.2",
    73          "values": {
    74              "outputs": {
    75                  "test": {
    76                      "sensitive": true,
    77                      "value": "boop"
    78                  }
    79              },
    80              "root_module": {}
    81          }
    82      },
    83      "configuration": {
    84          "root_module": {
    85              "outputs": {
    86                  "test": {
    87                      "expression": {
    88                          "references": [
    89                              "test_instance.test.ami",
    90                              "test_instance.test"
    91                          ]
    92                      },
    93                      "sensitive": true
    94                  }
    95              },
    96              "resources": [
    97                  {
    98                      "address": "test_instance.test",
    99                      "mode": "managed",
   100                      "type": "test_instance",
   101                      "name": "test",
   102                      "provider_config_key": "test",
   103                      "schema_version": 0,
   104                      "expressions": {
   105                          "ami": {
   106                              "references": [
   107                                  "var.test_var"
   108                              ]
   109                          }
   110                      }
   111                  }
   112              ],
   113              "variables": {
   114                  "test_var": {
   115                      "default": "boop",
   116                      "sensitive": true
   117                  }
   118              }
   119          }
   120      }
   121  }