You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrade Terraspace: Are you using the latest version of Terraspace? This allows Terraspace to fix issues fast. There's an Upgrading Guide: https://terraspace.cloud/docs/misc/upgrading/
Reproducibility: Are you reporting a bug others will be able to reproduce and not asking a question. If you're unsure or want to ask a question, do so on https://community.boltops.com
Code sample: Have you put together a code sample to reproduce the issue and make it available? Code samples help speed up fixes dramatically. If it's an easily reproducible issue, then code samples are not needed. If you're unsure, please include a code sample.
Checklist
My Environment
Expected Behaviour
I expect to create a new terraspace project wit the starter examples.
Current Behavior
In an empty directory unable to create a new starter project.
Step-by-step reproduction instructions
mkdir test_project
cd test_project
terraspace new project infra --plugin aws --examples
and it throws an error:
Code Sample
It happens in
terraspace/lib/terraspace/command.rb
Lines 116 to 125 in 1f6deac
the
command_name
is onlyproject
and notnew
as expected.However in
terraspace/lib/terraspace/command.rb
Line 52 in 1f6deac
if I do
I'll have 2 string
"new"
and"project"
and indef check_project!(command_name)
thecommand_name
will beproject
and notnew
.Solution Suggestion
As a low level solution add
project
toterraspace/lib/terraspace/command.rb
Line 120 in 1f6deac
PS
I know my Terraform version is too recent, but at this point this shouldn't be a problem.
The text was updated successfully, but these errors were encountered: