Sha256: dfb43686fe73acef42cc547f905ac726e2255221d695c6cb23ad21f255b6214b

Contents?: true

Size: 533 Bytes

Versions: 58

Compression:

Stored size: 533 Bytes

Contents

## Example

Format all source files.

    $ terraspace fmt
    Formating terraform files
    app/modules/example
    main.tf
    outputs.tf
    variables.tf
    app/stacks/demo
    main.tf

Format specific module or stack.

    $ terraspace fmt stack1
    $ terraspace fmt module1 -t module

Format scoping to module or stack types. In case there's a module and stack with the same name.

    $ terraspace fmt example -t module
    $ terraspace fmt demo -t stack

Format all, so both modules and stacks:

    $ terraspace fmt -t all

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
terraspace-2.2.14 lib/terraspace/cli/help/fmt.md
terraspace-2.2.13 lib/terraspace/cli/help/fmt.md
terraspace-2.2.12 lib/terraspace/cli/help/fmt.md
terraspace-2.2.11 lib/terraspace/cli/help/fmt.md
terraspace-2.2.10 lib/terraspace/cli/help/fmt.md
terraspace-2.2.9 lib/terraspace/cli/help/fmt.md
terraspace-2.2.8 lib/terraspace/cli/help/fmt.md
terraspace-2.2.7 lib/terraspace/cli/help/fmt.md
terraspace-2.2.6 lib/terraspace/cli/help/fmt.md
terraspace-2.2.5 lib/terraspace/cli/help/fmt.md
terraspace-2.2.4 lib/terraspace/cli/help/fmt.md
terraspace-2.2.3 lib/terraspace/cli/help/fmt.md
terraspace-2.2.2 lib/terraspace/cli/help/fmt.md
terraspace-2.2.1 lib/terraspace/cli/help/fmt.md
terraspace-2.2.0 lib/terraspace/cli/help/fmt.md
terraspace-2.1.7 lib/terraspace/cli/help/fmt.md
terraspace-2.1.6 lib/terraspace/cli/help/fmt.md
terraspace-2.1.5 lib/terraspace/cli/help/fmt.md
terraspace-2.1.4 lib/terraspace/cli/help/fmt.md
terraspace-2.1.3 lib/terraspace/cli/help/fmt.md