This website requires JavaScript.
Explore
Help
Sign In
ResiLien
/
terraform
Watch
2
Star
0
Fork
You've already forked terraform
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
fe6ce539fa
terraform
/
internal
/
command
/
testdata
/
plan-out-backend
/
main.tf
9 lines
87 B
Terraform
Raw
Normal View
History
Unescape
Escape
command: convert to use backends
2017-01-19 05:50:45 +01:00
terraform
{
command: Fix testBackendState The hashing function for cached backend configuration is different now, so our hard-coded hash of the HTTP backend address wasn't working anymore. Here we update the hash so that tests using this test backend will work again. Rather than leaving it hard-coded, we'll instead compute it the same way as "terraform init" would. In practice only one test is actually using this function right now, so we also update the test fixture for that test (TestPlan_outBackend) to match the new expectations, though as of this commit it's still failing with an unrelated error.
2018-11-08 02:20:46 +01:00
backend
"
http
"
{
}
command: convert to use backends
2017-01-19 05:50:45 +01:00
}
resource
"
test_instance
"
"
foo
"
{
command: Fix testBackendState The hashing function for cached backend configuration is different now, so our hard-coded hash of the HTTP backend address wasn't working anymore. Here we update the hash so that tests using this test backend will work again. Rather than leaving it hard-coded, we'll instead compute it the same way as "terraform init" would. In practice only one test is actually using this function right now, so we also update the test fixture for that test (TestPlan_outBackend) to match the new expectations, though as of this commit it's still failing with an unrelated error.
2018-11-08 02:20:46 +01:00
ami
=
"
bar
"
command: convert to use backends
2017-01-19 05:50:45 +01:00
}