Closed aravindkandalam closed 12 months ago
if you can point me to the arm template sample that causes this thanks
@JamesWoolfenden Can I provide this template in a secure manner?
happy to use any method you choose
On Wed, 20 Sept 2023 at 14:39, Aravind Kandalam @.***> wrote:
@JamesWoolfenden https://github.com/JamesWoolfenden Can I provide this template in a secure manner?
— Reply to this email directly, view it on GitHub https://github.com/JamesWoolfenden/sato/issues/7#issuecomment-1727755120, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALDV4DAKMIHDK6HG6PVP4LX3LWZ3ANCNFSM6AAAAAA4UE7RSU . You are receiving this because you were mentioned.Message ID: @.***>
fixed in v0.1.15
Describe the bug Tried to convert an ARM Template and received the following stack trace.
panic: interface conversion: interface {} is map[string]interface {}, not string goroutine 1 [running]: sato/src/arm.preprocess(0x10506d8e0?) /home/runner/work/sato/sato/src/arm/parse.go:570 +0x500 sato/src/arm.Parse({0x16b59b7b9?, 0x104f8db20?}, {0x16b59b7ca, 0x21}) /home/runner/work/sato/sato/src/arm/parse.go:79 +0x970 main.main.func3(0x14000178420) /home/runner/work/sato/sato/main.go:66 +0x34 github.com/urfave/cli/v2.(*Command).Run(0x14000178420, 0x14000130640, {0x1400015c320, 0x5, 0x5}) /home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.25.3/command.go:274 +0x78c github.com/urfave/cli/v2.(*Command).Run(0x14000178840, 0x14000130500, {0x1400012e120, 0x6, 0x6}) /home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.25.3/command.go:267 +0x9ac github.com/urfave/cli/v2.(*App).RunContext(0x140001cc000, {0x105463ab8?, 0x1400011c588}, {0x1400012e120, 0x6, 0x6}) /home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.25.3/app.go:332 +0x604 github.com/urfave/cli/v2.(*App).Run(...) /home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.25.3/app.go:309 main.main() /home/runner/work/sato/sato/main.go:116 +0xe38
To Reproduce Steps to reproduce the behavior:
wget https://github.com/JamesWoolfenden/sato/releases/download/v0.1.1/sato_0.1.1_darwin_arm64.tar.gz tar xzf sato_0.1.1_darwin_arm64.tar.gz ./sato bisect -f template.json -d /Users/xx/AK/GIT/tf1
Expected behavior Converting the ARM Template into TF.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):