mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
* Add golden JSON test for Terraform plan * Add data source to golden JSON plan * Move output comparison code into shared helper function * Add note for maintainer to contact TFC when UI changes UI changes may potentially impact the behavior of structured run output on TFC. * Add test_data_source to other mock providers
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"
|
|
}
|