github.com/terramate-io/tf@v0.0.0-20230830114523-fce866b4dfcd/testing/equivalence-tests/tests/basic_json_string_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_simple_resource" "json" { 13 string = "{\"list-attribute\":[\"one\",\"four\",\"three\"],\"object-attribute\":{\"key_one\":\"value_one\",\"key_three\":\"value_two\", \"key_four\":\"value_three\"},\"string-attribute\":\"a new string\"}" 14 }