github.com/iaas-resource-provision/iaas-rpc@v1.0.7-0.20211021023331-ed21f798c408/internal/command/testdata/show-json/drift/main.tf (about) 1 # In state with `ami = "foo"`, so this should be a regular update. The provider 2 # should not detect changes on refresh. 3 resource "test_instance" "no_refresh" { 4 ami = "bar" 5 } 6 7 # In state with `ami = "refresh-me"`, but the provider will return 8 # `"refreshed"` after the refresh phase. The plan should show the drift 9 # (`"refresh-me"` to `"refreshed"`) and plan the update (`"refreshed"` to 10 # `"baz"`). 11 resource "test_instance" "should_refresh" { 12 ami = "baz" 13 }