mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 01:41:48 -06:00
82b5cfad7e
* add test cases * run equivalence tests * delete old outputs * drift_relevant_attributes should ignore the number attribute * also add a test for data reads * test destroy only
24 lines
454 B
HCL
24 lines
454 B
HCL
terraform {
|
|
required_providers {
|
|
tfcoremock = {
|
|
source = "hashicorp/tfcoremock"
|
|
version = "0.1.1"
|
|
}
|
|
}
|
|
}
|
|
|
|
provider "tfcoremock" {}
|
|
|
|
resource "tfcoremock_simple_resource" "base_after" {
|
|
string = "Hello, change!"
|
|
}
|
|
|
|
resource "tfcoremock_simple_resource" "dependent" {
|
|
string = tfcoremock_simple_resource.base_after.string
|
|
}
|
|
|
|
moved {
|
|
from = tfcoremock_simple_resource.base_before
|
|
to = tfcoremock_simple_resource.base_after
|
|
}
|