Error: Unable to find stage with name
deleeuwblue opened this issue · 0 comments
deleeuwblue commented
Using iascable 2.20.1, I encountered this error:
iascable build -i bom.yaml -c https://modules.cloudnativetoolkit.dev/index.yaml -c file:/${PWD}/../../watson-embedded-catalog/catalog.yaml
Loading catalog from url(s): [https://modules.cloudnativetoolkit.dev/index.yaml,file://root/code/watsonNLPAutomation/watson-boms/roks-new-nlp/../../watson-embedded-catalog/catalog.yaml](https://modules.cloudnativetoolkit.dev/index.yaml,file://root/code/watsonNLPAutomation/watson-embedded-catalog/catalog.yaml)
Name: cluster-with-watson-nlp
Writing output to: ./output
Unable to generate file: docs/terraform-gitops-watson-nlp.md
Error: StageNotFound [Error]: Unable to find stage with name: gitops-repo: terraform-gitops-watson-nlp
at ModuleRefVariable.valueString (/snapshot/iascable/dist/lib/models/variables.model.js:38:23)
at ModuleRefVariable.asString (/snapshot/iascable/dist/lib/models/variables.model.js:20:39)
at /snapshot/iascable/dist/lib/models/stages.model.js:292:48
at Array.map (<anonymous>)
at StageImpl.variablesAsString (/snapshot/iascable/dist/lib/models/stages.model.js:292:14)
at StageImpl.asString (/snapshot/iascable/dist/lib/models/stages.model.js:253:64)
at ModuleDocumentation.<anonymous> (/snapshot/iascable/dist/lib/services/module-documentation/module-documentation.js:143:36)
at Generator.next (<anonymous>)
at fulfilled (/snapshot/iascable/dist/lib/services/module-documentation/module-documentation.js:14:58)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
stageName: 'gitops-repo',
stagesNames: [ 'terraform-gitops-watson-nlp' ]
}