Skip to content

Commit

Permalink
fix: Version config path should look for versions.tf in current bluep…
Browse files Browse the repository at this point in the history
…rint dirctory (GoogleCloudPlatform#2637)

Co-authored-by: Bharath KKB <[email protected]>
  • Loading branch information
q2w and bharathkkb authored Oct 7, 2024
1 parent 98d7bee commit b353abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/bpmetadata/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit b353abc

Please sign in to comment.