Skip to content

Commit

Permalink
fix the outputs of equivalence tests that were executed with the wron…
Browse files Browse the repository at this point in the history
…g version (#32547)
  • Loading branch information
liamcervante committed Jan 20, 2023
1 parent 82b5cfa commit 9001bef
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
4 changes: 2 additions & 2 deletions testing/equivalence-tests/outputs/data_read/plan
Expand Up @@ -29,8 +29,8 @@ Terraform will perform the following actions:
# module.create.random_integer.random will be created
+ resource "random_integer" "random" {
+ id = (known after apply)
+ max = 9.999999e+06
+ min = 1e+06
+ max = 9999999
+ min = 1000000
+ result = (known after apply)
+ seed = "F78CB410-BA01-44E1-82E1-37D61F7CB158"
}
Expand Down
Expand Up @@ -10,6 +10,7 @@ last "terraform apply" which may have affected this plan:
~ resource "tfcoremock_simple_resource" "base" {
id = "f6f74ca6-e8ef-e51f-522c-433b9ed5038f"
~ string = "Hello, world!" -> "Hello, drift!"
# (1 unchanged attribute hidden)
}


Expand All @@ -28,6 +29,7 @@ Terraform will perform the following actions:
# tfcoremock_simple_resource.base will be updated in-place
~ resource "tfcoremock_simple_resource" "base" {
id = "f6f74ca6-e8ef-e51f-522c-433b9ed5038f"
~ number = 1 -> 0
~ string = "Hello, drift!" -> "Hello, change!"
}

Expand Down
Expand Up @@ -12,6 +12,9 @@
{
"address": "tfcoremock_simple_resource.base",
"expressions": {
"number": {
"constant_value": 0
},
"string": {
"constant_value": "Hello, change!"
}
Expand Down Expand Up @@ -58,7 +61,7 @@
"float": null,
"id": "f6f74ca6-e8ef-e51f-522c-433b9ed5038f",
"integer": null,
"number": null,
"number": 0,
"string": "Hello, change!"
}
},
Expand Down Expand Up @@ -100,7 +103,7 @@
"float": null,
"id": "f6f74ca6-e8ef-e51f-522c-433b9ed5038f",
"integer": null,
"number": null,
"number": 1,
"string": "Hello, drift!"
}
},
Expand Down Expand Up @@ -148,7 +151,7 @@
"float": null,
"id": "f6f74ca6-e8ef-e51f-522c-433b9ed5038f",
"integer": null,
"number": null,
"number": 0,
"string": "Hello, change!"
},
"after_sensitive": {},
Expand All @@ -158,7 +161,7 @@
"float": null,
"id": "f6f74ca6-e8ef-e51f-522c-433b9ed5038f",
"integer": null,
"number": null,
"number": 1,
"string": "Hello, drift!"
},
"before_sensitive": {}
Expand Down Expand Up @@ -212,7 +215,7 @@
"float": null,
"id": "f6f74ca6-e8ef-e51f-522c-433b9ed5038f",
"integer": null,
"number": null,
"number": 1,
"string": "Hello, drift!"
},
"after_sensitive": {},
Expand All @@ -222,7 +225,7 @@
"float": null,
"id": "f6f74ca6-e8ef-e51f-522c-433b9ed5038f",
"integer": null,
"number": null,
"number": 0,
"string": "Hello, world!"
},
"before_sensitive": {}
Expand Down
Expand Up @@ -16,7 +16,7 @@
"float": null,
"id": "f6f74ca6-e8ef-e51f-522c-433b9ed5038f",
"integer": null,
"number": null,
"number": 0,
"string": "Hello, change!"
}
},
Expand Down
Expand Up @@ -4,7 +4,7 @@
"string": "f6f74ca6-e8ef-e51f-522c-433b9ed5038f"
},
"number": {
"number": "0"
"number": "1"
},
"string": {
"string": "Hello, drift!"
Expand Down

0 comments on commit 9001bef

Please sign in to comment.