github.com/opentofu/opentofu@v1.7.1/internal/cloud/testdata/plan-import-config-gen/plan-redacted.json (about)

     1  {
     2    "format_version": "1.2",
     3    "terraform_version": "1.5.0",
     4    "planned_values": {
     5      "root_module": {
     6        "resources": [
     7          {
     8            "address": "terraform_data.foo",
     9            "mode": "managed",
    10            "type": "terraform_data",
    11            "name": "foo",
    12            "provider_name": "terraform.io/builtin/terraform",
    13            "schema_version": 0,
    14            "values": {
    15              "id": "bar",
    16              "input": null,
    17              "output": null,
    18              "triggers_replace": null
    19            },
    20            "sensitive_values": {}
    21          }
    22        ]
    23      }
    24    },
    25    "resource_changes": [
    26      {
    27        "address": "terraform_data.foo",
    28        "mode": "managed",
    29        "type": "terraform_data",
    30        "name": "foo",
    31        "provider_name": "terraform.io/builtin/terraform",
    32        "change": {
    33          "actions": [
    34            "no-op"
    35          ],
    36          "before": {
    37            "id": "bar",
    38            "input": null,
    39            "output": null,
    40            "triggers_replace": null
    41          },
    42          "after": {
    43            "id": "bar",
    44            "input": null,
    45            "output": null,
    46            "triggers_replace": null
    47          },
    48          "after_unknown": {},
    49          "before_sensitive": {},
    50          "after_sensitive": {},
    51          "importing": {
    52            "id": "bar"
    53          },
    54          "generated_config": "resource \"terraform_data\" \"foo\" {\n  input            = null\n  triggers_replace = null\n}"
    55        }
    56      }
    57    ],
    58    "prior_state": {
    59      "format_version": "1.0",
    60      "terraform_version": "1.6.0",
    61      "values": {
    62        "root_module": {
    63          "resources": [
    64            {
    65              "address": "terraform_data.foo",
    66              "mode": "managed",
    67              "type": "terraform_data",
    68              "name": "foo",
    69              "provider_name": "terraform.io/builtin/terraform",
    70              "schema_version": 0,
    71              "values": {
    72                "id": "bar",
    73                "input": null,
    74                "output": null,
    75                "triggers_replace": null
    76              },
    77              "sensitive_values": {}
    78            }
    79          ]
    80        }
    81      }
    82    },
    83    "configuration": {
    84      "provider_config": {
    85        "terraform": {
    86          "name": "terraform",
    87          "full_name": "terraform.io/builtin/terraform"
    88        }
    89      },
    90      "root_module": {}
    91    },
    92    "provider_schemas": {
    93      "terraform.io/builtin/terraform": {
    94        "resource_schemas": {
    95          "terraform_data": {
    96            "version": 0,
    97            "block": {
    98              "attributes": {
    99                "id": {
   100                  "type": "string",
   101                  "description_kind": "plain",
   102                  "computed": true
   103                },
   104                "input": {
   105                  "type": "dynamic",
   106                  "description_kind": "plain",
   107                  "optional": true
   108                },
   109                "output": {
   110                  "type": "dynamic",
   111                  "description_kind": "plain",
   112                  "computed": true
   113                },
   114                "triggers_replace": {
   115                  "type": "dynamic",
   116                  "description_kind": "plain",
   117                  "optional": true
   118                }
   119              },
   120              "description_kind": "plain"
   121            }
   122          }
   123        }
   124      }
   125    },
   126    "timestamp": "2023-05-30T03:34:55Z"
   127  }