This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Issues.Terraform.
Summary
Gets an instance of a provider for reading output from
terraform validate -json from disk
for Terraform scripts in the repository root.
- Assembly
- Cake
.Issues .Terraform .dll - Namespace
- Cake
.Issues .Terraform - Containing Type
- Terraform
Issues Aliases
Syntax
public static IIssueProvider TerraformIssuesFromFilePath(this ICakeContext context, FilePath validateOutputFilePath)
Examples
Read warnings reported by terraform validate:
var issues =
ReadIssues(
TerraformIssuesFromFilePath(@"c:\build\validate.json"),
@"c:\repo");
Attributes
| Type | Description |
|---|---|
| Cake |
|
| Cake |
Parameters
| Name | Type | Description |
|---|---|---|
| context | ICakeContext | The context. |
| validateOutputFilePath | FilePath | Path to the output of the terraform validate command. |
Return Value
| Type | Description |
|---|---|
| IIssueProvider | Instance of a provider for warnings reported by terraform validate. |
