Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported argument; An argument named "replace_triggered_by" is not expected here. #1589

Open
ansivul opened this issue Jul 24, 2023 · 0 comments

Comments

@ansivul
Copy link

ansivul commented Jul 24, 2023

  • terrascan version: v1.18.1
  • Operating System: Linux

Description

When I run the command: terrascan scan -t azure -i terraform --show-passed

Every time I have got this:

Scan Errors -

	IaC Type            :	terraform
	Directory           :	/home/vsts/work/1/s/src/
	Error Message       :	diagnostic errors while loading terraform config dir '/home/vsts/work/1/s/src/'. error from terraform:
/home/vsts/work/1/s/src/functionapps.tf:173,5-25: Unsupported argument; An argument named "replace_triggered_by" is not expected here.
/home/vsts/work/1/s/src/functionapps.tf:191,5-25: Unsupported argument; An argument named "replace_triggered_by" is not expected here.
/home/vsts/work/1/s/src/webjob.tf:312,5-25: Unsupported argument; An argument named "replace_triggered_by" is not expected here.
	
-----------------------------------------------------------------------

Scan Summary -

	File/Folder         :	/home/vsts/work/1/s/src
	IaC Type            :	terraform
	Scanned At          :	2023-06-29 12:52:39.194075328 +0000 UTC
	Policies Validated  :	11
	Violated Policies   :	0
	Low                 :	0
	Medium              :	0
	High                :	0

Can you please help me fix this issue?

jacobwoffenden added a commit to ministryofjustice/analytical-platform that referenced this issue Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant