github.com/terramate-io/tf@v0.0.0-20230830114523-fce866b4dfcd/testing/equivalence-tests/outputs/fully_populated_complex/state (about)

     1  # tfcoremock_complex_resource.complex:
     2  resource "tfcoremock_complex_resource" "complex" {
     3      bool    = true
     4      float   = 987654321
     5      id      = "64564E36-BFCB-458B-9405-EBBF6A3CAC7A"
     6      integer = 987654321
     7      list    = [
     8          {
     9              string = "this is my first entry in the list, and doesn't contain anything interesting"
    10          },
    11          {
    12              string = <<-EOT
    13                  this is my second entry in the list
    14                  I am a bit more interesting
    15                  and contain multiple lines
    16              EOT
    17          },
    18          {
    19              list   = [
    20                  {
    21                      number = 0
    22                  },
    23                  {
    24                      number = 1
    25                  },
    26                  {
    27                      number = 2
    28                  },
    29              ]
    30              string = "this is my third entry, and I actually have a nested list"
    31          },
    32          {
    33              set    = [
    34                  {
    35                      number = 0
    36                  },
    37                  {
    38                      number = 1
    39                  },
    40              ]
    41              string = "this is my fourth entry, and I actually have a nested set"
    42          },
    43      ]
    44      map     = {
    45          "key_four" = {
    46              set    = [
    47                  {
    48                      number = 0
    49                  },
    50                  {
    51                      number = 1
    52                  },
    53              ]
    54              string = "this is my fourth entry, and I actually have a nested set"
    55          },
    56          "key_one" = {
    57              string = "this is my first entry in the map, and doesn't contain anything interesting"
    58          },
    59          "key_three" = {
    60              list   = [
    61                  {
    62                      number = 0
    63                  },
    64                  {
    65                      number = 1
    66                  },
    67                  {
    68                      number = 2
    69                  },
    70              ]
    71              string = "this is my third entry, and I actually have a nested list"
    72          },
    73          "key_two" = {
    74              string = <<-EOT
    75                  this is my second entry in the map
    76                  I am a bit more interesting
    77                  and contain multiple lines
    78              EOT
    79          },
    80      }
    81      number  = 123456789
    82      object  = {
    83          bool   = false
    84          number = 0
    85          object = {
    86              bool   = true
    87              number = 1
    88              string = "i am a nested nested object"
    89          }
    90          string = "i am a nested object"
    91      }
    92      set     = [
    93          {
    94              list   = [
    95                  {
    96                      number = 0
    97                  },
    98                  {
    99                      number = 1
   100                  },
   101                  {
   102                      number = 2
   103                  },
   104              ]
   105              string = "this is my third entry, and I actually have a nested list"
   106          },
   107          {
   108              set    = [
   109                  {
   110                      number = 0
   111                  },
   112                  {
   113                      number = 1
   114                  },
   115              ]
   116              string = "this is my fourth entry, and I actually have a nested set"
   117          },
   118          {
   119              string = "this is my first entry in the set, and doesn't contain anything interesting"
   120          },
   121          {
   122              string = <<-EOT
   123                  this is my second entry in the set
   124                  I am a bit more interesting
   125                  and contain multiple lines
   126              EOT
   127          },
   128      ]
   129      string  = "a not very long or complex string"
   130  
   131      list_block {
   132          string = jsonencode(
   133              {
   134                  index = 0
   135              }
   136          )
   137      }
   138      list_block {
   139          list   = [
   140              {
   141                  number = 0
   142              },
   143              {
   144                  number = 1
   145              },
   146              {
   147                  number = 2
   148              },
   149          ]
   150          string = jsonencode(
   151              {
   152                  index = 1
   153              }
   154          )
   155      }
   156      list_block {
   157          set    = [
   158              {
   159                  number = 0
   160              },
   161              {
   162                  number = 1
   163              },
   164          ]
   165          string = jsonencode(
   166              {
   167                  index = 2
   168              }
   169          )
   170      }
   171  
   172      set_block {
   173          list   = [
   174              {
   175                  number = 0
   176              },
   177              {
   178                  number = 1
   179              },
   180              {
   181                  number = 2
   182              },
   183          ]
   184          string = jsonencode(
   185              {
   186                  index = 1
   187              }
   188          )
   189      }
   190      set_block {
   191          set    = [
   192              {
   193                  number = 0
   194              },
   195              {
   196                  number = 1
   197              },
   198          ]
   199          string = jsonencode(
   200              {
   201                  index = 2
   202              }
   203          )
   204      }
   205      set_block {
   206          string = jsonencode(
   207              {
   208                  index = 0
   209              }
   210          )
   211      }
   212  }