We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32c20a1 commit 3028e9fCopy full SHA for 3028e9f
internal/provider/domain_resource_destroy_test.go
@@ -14,6 +14,11 @@ func TestDomainDestroyFlagsFromDestroy(t *testing.T) {
14
15
destroyAttrTypes := map[string]attr.Type{
16
"graceful": types.BoolType,
17
+ "shutdown": types.ObjectType{
18
+ AttrTypes: map[string]attr.Type{
19
+ "timeout": types.Int64Type,
20
+ },
21
22
}
23
24
tests := []struct {
@@ -33,6 +38,9 @@ func TestDomainDestroyFlagsFromDestroy(t *testing.T) {
33
38
destroyAttrTypes,
34
39
map[string]attr.Value{
35
40
"graceful": types.BoolValue(true),
41
+ "shutdown": types.ObjectNull(map[string]attr.Type{
42
43
+ }),
36
44
},
37
45
)
46
if diags.HasError() {
0 commit comments