You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
falco will crush if falco get the fastly service without VCL in the terraform planned output. I have the project which have the multiple fastly services managed in the single terraform state. These fastly services include the service which does not have VCL.
I tried to introduce falco linter/tester into this project, but when I run terraform show -json planned.out | falco terraform command, falco will crush with the below error output.
falco's linter/tester/simulator expect all fastly service to have VCL (ref: https://github.com/ysugimoto/falco/blob/main/resolver/terraform.go#L29), so falco will crush when falco encounter the fastly service which does not have VCL. I think falco should filter the fastly services which does not have VCL in advance.
Describe the problem
falco will crush if falco get the fastly service without VCL in the terraform planned output. I have the project which have the multiple fastly services managed in the single terraform state. These fastly services include the service which does not have VCL.
I tried to introduce falco linter/tester into this project, but when I run
terraform show -json planned.out | falco terraform
command, falco will crush with the below error output.falco's linter/tester/simulator expect all fastly service to have VCL (ref: https://github.com/ysugimoto/falco/blob/main/resolver/terraform.go#L29), so falco will crush when falco encounter the fastly service which does not have VCL. I think falco should filter the fastly services which does not have VCL in advance.
VCL code that cause the problem
This is not related to VCL, but I made simple repro; https://github.com/Shinyaigeek/falco-with-multiple-services
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: