boltops-tools / terraspace

Terraspace: The Terraform Framework
https://terraspace.cloud
Apache License 2.0
678 stars 46 forks source link

Add `terraspace bundle outdated` #250

Open CumpsD opened 2 years ago

CumpsD commented 2 years ago

Summary

Allow an easy way to check if Terrafile modules are outdated.

Motivation

Right now terraspace bundle has the following options:

Usage:
  terraspace bundle

Options:
  [--verbose], [--no-verbose]
  [--noop], [--no-noop]

Description:

Bundle with Terrafile.

## Example

    terraspace bundle

## More commands

    terraspace bundle install     # same as bundle
    terraspace bundle update      # Updates Terrafile.lock
    terraspace bundle purge_cache # removes /tmp terraspace bundler folder

## Update a single module

    terraspace bundle update MODULE
    terraspace bundle update demo

## Info on a module

    terraspace bundle info MODULE

## Import Example As Stack

You can import a module's example as a stack.

    terraspace bundle example MODULE EXAMPLE

Help also available at: https://terraspace.cloud/reference/terraspace-bundle

It would be nice to have an easy way to see if the modules listed in it are outdated to be able to decide to update them.

mod "iam", source: "terraform-aws-modules/iam/aws", version: "5.2.0"