Skip to content

Commit c97a176

Browse files
committed
add string vsn
1 parent 935539e commit c97a176

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/addrs/resource.go

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ func (r Resource) String() string {
2929
return fmt.Sprintf("data.%s.%s", r.Type, r.Name)
3030
case EphemeralResourceMode:
3131
return fmt.Sprintf("ephemeral.%s.%s", r.Type, r.Name)
32+
case ListResourceMode:
33+
return fmt.Sprintf("list.%s.%s", r.Type, r.Name)
3234
default:
3335
// Should never happen, but we'll return a string here rather than
3436
// crashing just in case it does.

0 commit comments

Comments
 (0)