Skip to content

Commit

Permalink
OCM-10024 | ci: fix hcp profile fail
Browse files Browse the repository at this point in the history
  • Loading branch information
aaraj7 committed Aug 6, 2024
1 parent 868ddc8 commit cec1bae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/utils/profilehandler/profile_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,9 @@ func GenerateClusterCreateFlags(profile *Profile, client *rosacli.Client) ([]str
}
if profile.ClusterConfig.InstanceType != "" {
flags = append(flags, "--compute-machine-type", profile.ClusterConfig.InstanceType)
clusterConfiguration.Nodes.ComputeInstanceType = profile.ClusterConfig.InstanceType
clusterConfiguration.Nodes = &ClusterConfigure.Nodes{
ComputeInstanceType: profile.ClusterConfig.InstanceType,
}
}
if profile.ClusterConfig.KMSKey {
kmsKeyArn, err := PrepareKMSKey(profile.Region, false, "rosacli", profile.ClusterConfig.HCP, false)
Expand Down

0 comments on commit cec1bae

Please sign in to comment.