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

     1  tfcoremock_complex_resource.complex: Refreshing state... [id=64564E36-BFCB-458B-9405-EBBF6A3CAC7A]
     2  
     3  Terraform used the selected providers to generate the following execution
     4  plan. Resource actions are indicated with the following symbols:
     5    ~ update in-place
     6  
     7  Terraform will perform the following actions:
     8  
     9    # tfcoremock_complex_resource.complex will be updated in-place
    10    ~ resource "tfcoremock_complex_resource" "complex" {
    11        ~ float   = 987654321 -> 123456789
    12          id      = "64564E36-BFCB-458B-9405-EBBF6A3CAC7A"
    13        ~ integer = 987654321 -> 123456789
    14        ~ list    = [
    15            ~ {
    16                ~ string = <<-EOT
    17                      this is my second entry in the list
    18                      I am a bit more interesting
    19                      and contain multiple lines
    20                    + but I've been edited
    21                  EOT
    22              },
    23            ~ {
    24                ~ list   = [
    25                    ~ {
    26                        ~ number = 2 -> 3
    27                      },
    28                    + {
    29                        + number = 4
    30                      },
    31                      # (2 unchanged elements hidden)
    32                  ]
    33                  # (1 unchanged attribute hidden)
    34              },
    35            ~ {
    36                ~ set    = [
    37                    - {
    38                        - number = 1 -> null
    39                      },
    40                    + {
    41                        + number = 2
    42                      },
    43                      # (1 unchanged element hidden)
    44                  ]
    45                ~ string = "this is my fourth entry, and I actually have a nested set" -> "this is my fourth entry, and I actually have a nested set and I edited my test"
    46              },
    47              # (1 unchanged element hidden)
    48          ]
    49        ~ map     = {
    50            ~ "key_four" = {
    51                ~ set    = [
    52                    + {
    53                        + number = 3
    54                      },
    55                    + {
    56                        + number = 4
    57                      },
    58                      # (2 unchanged elements hidden)
    59                  ]
    60                  # (1 unchanged attribute hidden)
    61              },
    62            ~ "key_three" = {
    63                ~ list   = [
    64                    ~ {
    65                        ~ number = 1 -> 3
    66                      },
    67                    ~ {
    68                        ~ number = 2 -> 1
    69                      },
    70                    + {
    71                        + number = 2
    72                      },
    73                      # (1 unchanged element hidden)
    74                  ]
    75                  # (1 unchanged attribute hidden)
    76              },
    77              # (2 unchanged elements hidden)
    78          }
    79        ~ number  = 123456789 -> 987654321
    80        ~ object  = {
    81            - bool   = false -> null
    82            ~ object = {
    83                - number = 1 -> null
    84                  # (2 unchanged attributes hidden)
    85              }
    86              # (2 unchanged attributes hidden)
    87          }
    88          # (3 unchanged attributes hidden)
    89  
    90        - list_block {
    91            - set    = [
    92                - {
    93                    - number = 0 -> null
    94                  },
    95                - {
    96                    - number = 1 -> null
    97                  },
    98              ] -> null
    99            - string = jsonencode(
   100                  {
   101                    - index = 2
   102                  }
   103              ) -> null
   104          }
   105  
   106        - set_block {
   107            - string = jsonencode(
   108                  {
   109                    - index = 0
   110                  }
   111              ) -> null
   112          }
   113        + set_block {
   114            + string = jsonencode(
   115                  {
   116                    + index = 3
   117                  }
   118              )
   119          }
   120  
   121          # (4 unchanged blocks hidden)
   122      }
   123  
   124  Plan: 0 to add, 1 to change, 0 to destroy.
   125  
   126  ─────────────────────────────────────────────────────────────────────────────
   127  
   128  Saved the plan to: equivalence_test_plan
   129  
   130  To perform exactly these actions, run the following command to apply:
   131      terraform apply "equivalence_test_plan"