cool-easter-32542
10/05/2023, 10:21 AMgo_binary that needs the output from another go_binary module to be included. The module binary is zipped up and uploaded into aws lambda by the main go binary.
I've tried:
main/BUILD
go_binary(
name="main",
)
go_mod()
go_package(
name="pulumi",
dependencies=['path/to/module:lambda']
)
module/BUILD
go_binary(
name="lambda",
)
go_mod()
go_package(
name="module_lambda",
)
I've also tried the following targets instead of `lambda`:
• module_lambda
• module.go:lambda
with no luck. I debugged by outputting all the files in the executable path, but also by using keep-sandboxes" and inspecting the directory afterwards. It only contains the main` binary :(
What am I doing wrong?
PS: I have successfully used something like this with python and that seemed to work
pantsbuild/pants