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

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