github.com/terramate-io/tf@v0.0.0-20230830114523-fce866b4dfcd/testing/equivalence-tests/tests/replace_within_list/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_list" "list" {
    13    id = "F40F2AB4-100C-4AE8-BFD0-BF332A158415"
    14  
    15    list = [
    16      {
    17        id = "3BFC1A84-023F-44FA-A8EE-EFD88E18B8F7"
    18      },
    19      {
    20        id = "07F887E2-FDFF-4B2E-9BFB-B6AA4A05EDB9"
    21      },
    22      {
    23        id = "4B7178A8-AB9D-4FF4-8B3D-48B754DE537B"
    24      },
    25    ]
    26  }