github.com/terramate-io/tf@v0.0.0-20230830114523-fce866b4dfcd/testing/equivalence-tests/tests/nested_objects_update/main.tf (about)

     1  terraform {
     2    required_providers {
     3      tfcoremock = {
     4        source = "hashicorp/tfcoremock"
     5        version = "0.1.1"
     6      }
     7    }
     8  }
     9  
    10  provider "tfcoremock" {}
    11  
    12  resource "tfcoremock_nested_object" "nested_object" {
    13    id = "B2491EF0-9361-40FD-B25A-0332A1A5E052"
    14  
    15    parent_object = {
    16      first_nested_object = {
    17        attribute_one = "09AE7244-7BFB-476B-912C-D1AB4E7E9622",
    18        attribute_two = "FB350D92-4AAE-48C6-A408-BFFAFAD46B04"
    19      }
    20      second_nested_object = {
    21        attribute_one = "63712BFE-78F8-42D3-A074-A78249E5E25E",
    22        attribute_two = "5425587C-49EF-4C1E-A906-1DC923A12725"
    23      }
    24    }
    25  }