Cake.Issues.Terraform 4.9.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Cake.Issues.Terraform --version 4.9.0                
NuGet\Install-Package Cake.Issues.Terraform -Version 4.9.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Cake.Issues.Terraform" Version="4.9.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cake.Issues.Terraform --version 4.9.0                
#r "nuget: Cake.Issues.Terraform, 4.9.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Cake.Issues.Terraform&version=4.9.0                

Terraform support for the Cake.Issues addin for Cake Build Automation System

NOTE: This is the version of the addin compatible with Cake .NET Tool. For addin compatible with Cake Frosting see Cake.Frosting.Issues.Terraform.

The Terraform support for the Cake.Issues addin for Cake allows you to read issues logged by Terraform validate command.

Cake.Issues redefines issue management within the Cake build system by offering a comprehensive, universal, and extensible solution. The unique capabilities of the addins empower development teams to enforce coding standards, generate insightful reports, seamlessly incorporate various linting tools, and streamlining the integration with pull requests. With its modular architecture and extensive set of aliases, Cake.Issues provides a future-proof infrastructure for issue management in Cake builds, fostering a more efficient and adaptable development process.

For more information and extensive documentation see the Cake.Issues website. For general information about the Cake build automation system see the Cake website.

How to use

Integrating Cake.Issues into your Cake build is straightforward. With minimal setup, teams can enjoy the benefits of enhanced code quality management seamlessly integrated into their existing build pipeline.

After adding the addin the log file of a Terraform validate run can be parsed:

Task("Validate-Terraform").Does(() =>
{
    var repoRootPath = @"c:\repo";

    // Run Terraform.
    IEnumerable<string> redirectedStandardOutput;
    StartProcess(
        "terraform",
        new ProcessSettings
        {
            Arguments = "validate --json",
            WorkingDirectory = repoRootPath,
            RedirectStandardOutput = true,
        },
        out redirectedStandardOutput,
    );

    // Read issues.
    var issues =
        ReadIssues(
            TerraformIssuesFromContent(string.Join(Environment.NewLine, redirectedStandardOutput)),
            repoRootPath);

    Information("{0} issues are found.", issues.Count());
});

Support & Discussion

For questions and to discuss ideas & feature requests, use the GitHub discussions on the Cake GitHub repository, under the Extension Q&A category.

Contributing

Contributions are welcome. See Contribution Guidelines.

License

MIT License - Copyright © Cake Issues contributors

Binary distributions for some addins contain third-party code which is licensed under its own respective license. See LICENSE for details.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.0.0-beta0002 35 11/23/2024
5.0.0-beta0001 53 11/18/2024
4.12.0 173 11/5/2024
4.11.0 186 10/6/2024
4.10.1 256 8/20/2024
4.10.0 108 7/30/2024
4.9.0 94 7/25/2024
4.8.1 123 7/19/2024
4.8.0 99 7/19/2024
4.7.2 97 7/18/2024
4.7.1 103 7/17/2024
4.7.0 99 7/16/2024
4.6.0 186 6/24/2024
4.5.1 204 5/24/2024
4.5.0 106 5/23/2024
4.4.0 103 5/18/2024
4.3.1 173 4/25/2024
4.3.0 179 4/20/2024
4.2.1 143 4/16/2024
4.2.0 138 4/14/2024
4.0.0 685 12/23/2023
4.0.0-beta0001 144 12/16/2023
3.0.0 1,079 7/16/2023
3.0.0-beta0001 260 6/22/2023
2.0.0 1,529 12/9/2022
2.0.0-beta0001 359 7/28/2022
1.0.0 3,764 7/27/2021
1.0.0-beta0001 1,372 2/19/2021