Skip to content

Commit 1a9eda2

Browse files
committed
Cleanup
1 parent 0688a44 commit 1a9eda2

File tree

4 files changed

+0
-40
lines changed

4 files changed

+0
-40
lines changed

internal/terraform/eval_context_builtin.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,6 @@ func (ctx *BuiltinEvalContext) ClientCapabilities() providers.ClientCapabilities
624624

625625
func (ctx *BuiltinEvalContext) ReferencableDeprecationMessage(m addrs.Module, x addrs.Referenceable) (string, bool) {
626626
// TODO: We want to make this available in node_resource_validation, therefore we want to talk about config objects, the referencable should somehow contain the config object, how do we get it out?
627-
fmt.Printf("\n\t XXX T --> %#v \n", x)
628627
if mcio, ok := x.(addrs.ModuleCallInstanceOutput); ok {
629628
cov := addrs.ConfigOutputValue{
630629
Module: m.Child(mcio.Call.Call.Name),
@@ -633,8 +632,6 @@ func (ctx *BuiltinEvalContext) ReferencableDeprecationMessage(m addrs.Module, x
633632
},
634633
}
635634

636-
fmt.Printf("\n\t ctx.DeprecatedReferencables --> %#v \n", ctx.DeprecatedReferencables)
637-
fmt.Printf("\n\t cov.String() --> %#v \n", cov.String())
638635
msg, ok := ctx.DeprecatedReferencables[cov.String()]
639636
return msg, ok
640637
} else if mc, ok := x.(addrs.ModuleCall); ok {
@@ -645,7 +642,6 @@ func (ctx *BuiltinEvalContext) ReferencableDeprecationMessage(m addrs.Module, x
645642
},
646643
}
647644

648-
fmt.Printf("\n\t cov.String() --> %#v \n", cov.String())
649645
msg, ok := ctx.DeprecatedReferencables[cov.String()]
650646
return msg, ok
651647
}
@@ -654,7 +650,5 @@ func (ctx *BuiltinEvalContext) ReferencableDeprecationMessage(m addrs.Module, x
654650
}
655651

656652
func (ctx *BuiltinEvalContext) MarkReferencableAsDeprecated(x addrs.ConfigOutputValue, msg string) {
657-
fmt.Printf("\n\t marking x --> %q \n", x.String())
658-
fmt.Printf("\n\t msg --> %#v \n", msg)
659653
ctx.DeprecatedReferencables[x.String()] = msg
660654
}

internal/terraform/graph_builder_apply.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,6 @@ func (b *ApplyGraphBuilder) Steps() []GraphTransformer {
193193
&ReferenceTransformer{},
194194
&AttachDependenciesTransformer{},
195195

196-
&OutputReferencesTransformer{},
197-
198196
// Nested data blocks should be loaded after every other resource has
199197
// done its thing.
200198
&checkStartTransformer{Config: b.Config, Operation: b.Operation},

internal/terraform/graph_builder_plan.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,6 @@ func (b *PlanGraphBuilder) Steps() []GraphTransformer {
241241

242242
&ReferenceTransformer{},
243243

244-
&OutputReferencesTransformer{},
245-
246244
&AttachDependenciesTransformer{},
247245

248246
// Make sure data sources are aware of any depends_on from the

internal/terraform/transform_output_references.go

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)