Skip to content

Support for Terraform #1193

@BernieWhite

Description

@BernieWhite

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:

  • What do your current CI pipelines look like now?
  • Do you generate a plan in your terraform pipelines for deployment?
  • Do you use the azurerm or azapi providers?

Metadata

Metadata

Assignees

Labels

.NETPull requests that update .net codeenhancementNew feature or requestfeature: terraformSupport for expansion with Terraform.hotA frequently raised issue
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions