diff --git a/cli/bpmetadata/cmd.go b/cli/bpmetadata/cmd.go index ee2add8a6b0..1a4958d9690 100644 --- a/cli/bpmetadata/cmd.go +++ b/cli/bpmetadata/cmd.go @@ -259,7 +259,7 @@ func CreateBlueprintMetadata(bpPath string, bpMetadataObj *BlueprintMetadata) (* // get blueprint requirements rolesCfgPath := path.Join(repoDetails.Source.BlueprintRootPath, tfRolesFileName) svcsCfgPath := path.Join(repoDetails.Source.BlueprintRootPath, tfServicesFileName) - versionsCfgPath := path.Join(repoDetails.Source.BlueprintRootPath, tfVersionsFileName) + versionsCfgPath := path.Join(bpPath, tfVersionsFileName) requirements, err := getBlueprintRequirements(rolesCfgPath, svcsCfgPath, versionsCfgPath) if err != nil { Log.Info("skipping blueprint requirements since roles and/or services configurations were not found as per https://tinyurl.com/tf-iam and https://tinyurl.com/tf-services")