diff --git a/internal/configs/config_test.go b/internal/configs/config_test.go index 06d22fd3f6..4491aa2b8b 100644 --- a/internal/configs/config_test.go +++ b/internal/configs/config_test.go @@ -35,7 +35,6 @@ func TestConfigProviderTypes(t *testing.T) { } got = cfg.ProviderTypes() - want := []addrs.Provider{ addrs.NewDefaultProvider("aws"), addrs.NewDefaultProvider("external"), diff --git a/internal/terraform/hook.go b/internal/terraform/hook.go index 72b44b7afb..1217372f5b 100644 --- a/internal/terraform/hook.go +++ b/internal/terraform/hook.go @@ -40,9 +40,7 @@ type HookActionIdentity struct { // If run as part of a plan / apply we also have the values below // (if CLI triggered they are not applicable) - - TriggeringResourceAddr addrs.AbsResourceInstance - + TriggeringResourceAddr addrs.AbsResourceInstance ActionTriggerBlockIndex int ActionsListIndex int } diff --git a/internal/terraform/node_action_apply.go b/internal/terraform/node_action_apply.go index 7eaa060bba..3d8c36fb6e 100644 --- a/internal/terraform/node_action_apply.go +++ b/internal/terraform/node_action_apply.go @@ -147,7 +147,6 @@ func (n *nodeActionApply) References() []*addrs.Reference { // We reference each action instance that we are going to execute. for _, invocation := range n.ActionInvocations { - // TODO: Think about how to get a source range refs = append(refs, &addrs.Reference{ Subject: invocation.Addr.Action, })