-
Notifications
You must be signed in to change notification settings - Fork 88
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
Support for Terraform #1193
Comments
Having PSRules support for terraform scripts hosted on a repository will be extremely useful to check for rules validation even before we create actual resources on Azure. |
Terraform being used widely for Azure as well, support for validating is very useful. |
I think we should focus on the Azure tooling first. There are still multiple problems with bicep and ARM syntax. |
Terraform really useful since often used in SAP on Azure implementations... |
Being able to test against Azure Policy would help eliminate a lot of Terraform headaches and errors. I bypass ARM entirely by using Terraform and avoid ARM wherever possible - TF is simply easier to use. We use azurerm exclusively. |
You are still using ARM REST APIs in the background, if you are using Terraform, just no ARM templates. If you don't like ARM template syntax, you can always use Bicep for simpler usage and much clearer syntax. |
This is tracking for adding support for Terraform HCL to PSRule originally discussed here microsoft/PSRule#907 by @jbla9028.
Is your feature request related to a problem? Please describe.
It appears that psrule can review a ARM or bicep template from the documentation. It seems like the only open to review terraform is to review the resources after the terraform code has applied the infrastructure. Can we get native terraform support?
Passing a target folder, along with variables, can psrule review a user's terraform code for compliance?
Describe the solution you'd like
Describe alternatives you've considered
There are other solutions that will do this but psRule's syntax seems very easy to use, it would be great to leverage it with terraform.
Additional context
Continue reading the FAQ for details on in-flight support for Terraform.
If this issue is important to you please upvote the issue.
We plan to investigate this issue to determine if this is something that should be integrated into PSRule for Azure.
Updated: 2023-08-26
Some questions to add to the research effort:
azurerm
orazapi
providers?The text was updated successfully, but these errors were encountered: