You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform/testing/equivalence-tests/tests/basic_json_string_update/main.tf

15 lines
413 B

terraform {
required_providers {
tfcoremock = {
source = "hashicorp/tfcoremock"
version = "0.1.1"
}
}
}
provider "tfcoremock" {}
resource "tfcoremock_simple_resource" "json" {
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\"}"
}