Cake.Issues.Terraform

The Terraform support for the Cake.Issues addin for Cake allows you to read issues logged by terraform validate. This addin provides the aliases for reading terraform validate output and providing them to the Cake.Issues addin. It also requires the core Cake.Issues addin. There are also additional addins for generating reports or posting issues to pull requests. See the Project Site for an overview of the whole ecosystem of addins for working with issues in Cake scripts.

#addin nuget:?package=Cake.Issues.Terraform&version=1.0.0

<package id="Cake.Issues.Terraform" version="1.0.0" />

dotnet add package Cake.Issues.Terraform --version 1.0.0

<PackageReference Include="Cake.Issues.Terraform" Version="1.0.0" />

Aliases

Contains functionality related to reading output from terraform validate -json.

Issue Providers

TerraformIssues(TerraformIssuesSettings) Gets an instance of a provider for reading output from terraform validate -json using specified settings.
TerraformIssuesFromContent(string) Gets an instance of a provider for reading output from terraform validate -json for Terraform scripts in the repository root.
TerraformIssuesFromContent(string, DirectoryPath) Gets an instance of a provider for reading output from terraform validate -json.
TerraformIssuesFromFilePath(FilePath) Gets an instance of a provider for reading output from terraform validate -json from disk for Terraform scripts in the repository root.
TerraformIssuesFromFilePath(FilePath, DirectoryPath) Gets an instance of a provider for reading output from terraform validate -json from disk.
TerraformIssuesProviderTypeName Gets the name of the Terraform issue provider. This name can be used to identify issues based on the ProviderType property.