Skip to content

Commit

Permalink
Remove debug messsage
Browse files Browse the repository at this point in the history
  • Loading branch information
gainings committed Apr 27, 2024
1 parent 78cec51 commit d8f4ac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/model/resource/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package resource

import (
"fmt"

"github.com/gainings/tfirmg/internal/model/resourceid"
)

Expand Down Expand Up @@ -51,7 +52,6 @@ func (rf ResourceCreator) Create(typeName, resourceName, indexKey string, module
func (rf ResourceCreator) newAddress(typeName, resourceName, indexKey string, moduleName *string) Address {
if moduleName != nil {
if indexKey != "" {
fmt.Println("yay")
return Address(fmt.Sprintf("%s.%s.%s[%s]", *moduleName, typeName, resourceName, indexKey))
}
return Address(fmt.Sprintf("%s.%s.%s", *moduleName, typeName, resourceName))
Expand Down

0 comments on commit d8f4ac6

Please sign in to comment.