Skip to content

Commit

Permalink
fix(aws): Fix userData getting lost when cloning an AWS server group …
Browse files Browse the repository at this point in the history
…that uses launch templates (#6771) (#10132) (#10141)

(cherry picked from commit d5a8ea3)

Co-authored-by: Ashley Kleynhans <[email protected]>
  • Loading branch information
mergify[bot] and ashleykleynhans authored Sep 10, 2024
1 parent 32f0e3d commit a692106
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,9 @@ angular
spotMaxPrice = launchTemplateData.instanceMarketOptions?.spotOptions?.maxPrice;
command.instanceType = launchTemplateData.instanceType;
command.viewState.useSimpleInstanceTypeSelector = true;
if (launchTemplateData.userData) {
command.base64UserData = launchTemplateData.userData;
}
}

if (serverGroup.mixedInstancesPolicy) {
Expand Down

0 comments on commit a692106

Please sign in to comment.