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
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 TerraformIssuesFromContent(this ICakeContext context, string validateOutput)
Examples
Read warnings reported by terraform validate
:
var issues =
ReadIssues(
TerraformIssuesFromContent(validateOutput)),
@"c:\repo");
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
validateOutput | string | Content of the terraform validate command. |
Return Value
Type | Description |
---|---|
IIssueProvider | Instance of a provider for warnings reported by terraform validate . |