mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-02-16 07:01:11 -05:00
* main: disambiguate arg ordering test Make it extra clear what order of args we are asserting. * command: fix plan -refresh=false test The test for plan -refresh=false was not functioning, since ReadResource will not be called if the resource is not in prior state. Add a new fixture directory with state, and also test the converse, to prevent regression. * command: add test for refresh flag precedence A consumer relies on the fact that running terraform plan -refresh=false -refresh true gives the same result as terraform plan -refresh=true.
14 lines
253 B
HCL
14 lines
253 B
HCL
resource "test_instance" "foo" {
|
|
ami = "bar"
|
|
|
|
# This is here because at some point it caused a test failure
|
|
network_interface {
|
|
device_index = 0
|
|
description = "Main network interface"
|
|
}
|
|
}
|
|
|
|
data "test_data_source" "a" {
|
|
id = "zzzzz"
|
|
}
|