Skip to content

TaxBusby/terraform-summary-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform summary action

Github Action that generates a job summary from a Terraform plan output file.

The idea is to highlight the number of changes planned to be applied while giving the possibility to view the terraform plan output only.

Example

Job summary example

Usage

- name: Terraform Plan
  run: terraform plan | tee terraform_plan_output.txt

- name: Print job summary
  uses: sgametrio/terraform-summary-action@main
  with:
    log-file: terraform_plan_output.txt
    # Optional
    title: Custom header in the Job summary

Tests

Tested with Terraform:

  • v1.3.6

Planned features

  • Ingest output from terraform apply and return as a summary the short "Apply complete! Resources: X added, Y changed, Z destroyed.
  • Display summary of to-be changed/created/destroyed resources after plan.

About

Github Action that generates a job summary from a Terraform plan output file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%