Suggest to use fully qualified stack name when project isn't part of the stack reference
@@ -543,7 +543,8 @@ func (b *cloudBackend) ParseStackReference(s string) (backend.StackReference, er
if qualifiedName.Project == "" {
currentProject, projectErr := workspace.DetectProject()
if projectErr != nil {
- return nil, projectErr
+ return nil, fmt.Errorf("If you're using the --stack flag,"+
+ "make sure to pass the fully qualified name (org/project/stack): %w", projectErr)
}
qualifiedName.Project = currentProject.Name.String()
