Can PSRules be run against terraform templates for Azure resources #995
Answered
by
BernieWhite
vishalgoyal16444
asked this question in
Q&A
-
We have several repos created and hosted on our Azure DevOps. These repos have terraform scripts to deploy azure resources. Can we run PSRules against these repositories. Any links to documentation on how to do this would be very helpful. |
Beta Was this translation helpful? Give feedback.
Answered by
BernieWhite
Mar 2, 2022
Replies: 1 comment 1 reply
-
@vishalgoyal16444 In short, you can run PSRule against deployed Terraform resources but not against HCL infrastructure as code. It has been requested, but we are still in the process of investigating if we can support this because of the way Terraform modules are built. Have a look at this https://azure.github.io/PSRule.Rules.Azure/faq/#isterraformsupported for more details. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
vishalgoyal16444
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@vishalgoyal16444 In short, you can run PSRule against deployed Terraform resources but not against HCL infrastructure as code. It has been requested, but we are still in the process of investigating if we can support this because of the way Terraform modules are built.
Have a look at this https://azure.github.io/PSRule.Rules.Azure/faq/#isterraformsupported for more details.