Sha256: 8ca765406ce3c9a13321324d9c832b71ef3c712e6467905b6345d952b2d9876a

Contents?: true

Size: 1.45 KB

Versions: 53

Compression:

Stored size: 1.45 KB

Contents

Typically, Terraspace auto init should handle initialization. You can run init if you need to though.

## Example

    $ terraspace init demo
    Building .terraspace-cache/us-west-2/dev/stacks/demo
    Built in .terraspace-cache/us-west-2/dev/stacks/demo
    Current directory: .terraspace-cache/us-west-2/dev/stacks/demo
    => terraform init -get
    Initializing modules...

    Initializing the backend...

    Initializing provider plugins...
    - Using previously-installed hashicorp/aws v3.7.0
    - Using previously-installed hashicorp/random v2.3.0

    The following providers do not have any version constraints in configuration,
    so the latest version was installed.

    To prevent automatic upgrades to new major versions that may contain breaking
    changes, we recommend adding version constraints in a required_providers block
    in your configuration, with the constraint strings suggested below.

    * hashicorp/aws: version = "~> 3.7.0"
    * hashicorp/random: version = "~> 2.3.0"

    Terraform has been successfully initialized!

    You may now begin working with Terraform. Try running "terraform plan" to see
    any changes that are required for your infrastructure. All Terraform commands
    should now work.

    If you ever set or change modules or backend configuration for Terraform,
    rerun this command to reinitialize your working directory. If you forget, other
    commands will detect it and remind you to do so if necessary.
    $

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
terraspace-2.2.17 lib/terraspace/cli/help/init.md
terraspace-2.2.16 lib/terraspace/cli/help/init.md
terraspace-2.2.15 lib/terraspace/cli/help/init.md
terraspace-2.2.14 lib/terraspace/cli/help/init.md
terraspace-2.2.13 lib/terraspace/cli/help/init.md
terraspace-2.2.12 lib/terraspace/cli/help/init.md
terraspace-2.2.11 lib/terraspace/cli/help/init.md
terraspace-2.2.10 lib/terraspace/cli/help/init.md
terraspace-2.2.9 lib/terraspace/cli/help/init.md
terraspace-2.2.8 lib/terraspace/cli/help/init.md
terraspace-2.2.7 lib/terraspace/cli/help/init.md
terraspace-2.2.6 lib/terraspace/cli/help/init.md
terraspace-2.2.5 lib/terraspace/cli/help/init.md
terraspace-2.2.4 lib/terraspace/cli/help/init.md
terraspace-2.2.3 lib/terraspace/cli/help/init.md
terraspace-2.2.2 lib/terraspace/cli/help/init.md
terraspace-2.2.1 lib/terraspace/cli/help/init.md
terraspace-2.2.0 lib/terraspace/cli/help/init.md
terraspace-2.1.7 lib/terraspace/cli/help/init.md
terraspace-2.1.6 lib/terraspace/cli/help/init.md