Skip to content

Commit 3812d8d

Browse files
authored
Set remote-state.outputs to null (#33)
1 parent 7361110 commit 3812d8d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/remote-state/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ locals {
3838
}
3939

4040
remote_state_backend_key = var.bypass ? "bypass" : local.backend_type
41-
outputs = try(length(local.remote_state_backend_key), 0) > 0 ? local.remote_states[local.remote_state_backend_key][0].outputs : {}
41+
outputs = try(length(local.remote_state_backend_key), 0) > 0 ? local.remote_states[local.remote_state_backend_key][0].outputs : null
4242
}

0 commit comments

Comments
 (0)