Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix the outputs of equivalence tests that were executed with the wrong version #32547

Merged
merged 1 commit into from
Jan 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions testing/equivalence-tests/outputs/data_read/plan
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"string": "f6f74ca6-e8ef-e51f-522c-433b9ed5038f"
},
"number": {
"number": "0"
"number": "1"
},
"string": {
"string": "Hello, drift!"
Expand Down