This website requires JavaScript.
Explore
Help
Sign In
IntenseWebs
/
opentofu
Watch
3
Star
0
Fork
0
You've already forked opentofu
mirror of
https://github.com/opentofu/opentofu.git
synced
2025-02-25 18:45:20 -06:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
5ff2495ffa
opentofu
/
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-18 22:50:45 -06: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-07 19:20:46 -06:00
backend
"
http
"
{
}
command: convert to use backends
2017-01-18 22:50:45 -06: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-07 19:20:46 -06:00
ami
=
"
bar
"
command: convert to use backends
2017-01-18 22:50:45 -06:00
}
Reference in New Issue
Copy Permalink