TerraformIssuesAliases.

TerraformIssues(ICakeContext, TerraformIssuesSettings) Method

Summary

Gets an instance of a provider for reading output from terraform validate -json using specified settings.

Syntax

public static IIssueProvider TerraformIssues(this ICakeContext context, TerraformIssuesSettings settings)

Examples

Read warnings reported by terraform validate:

 var settings =
         new TerraformIssuesSettings(@"c:\build\validate.json");

     var issues =
         ReadIssues(
             TerraformIssues(settings),
             @"c:\repo");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
settings TerraformIssuesSettings Settings for reading the issues.

Return Value

Type Description
IIssueProvider Instance of a provider for warnings reported by terraform validate.
GitHub