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