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) (#10135)

(cherry picked from commit d5a8ea3)

Co-authored-by: Ashley Kleynhans <ashleykleynhans@users.noreply.github.com>
  • Loading branch information
mergify[bot] and ashleykleynhans authored Sep 10, 2024
1 parent d7b97bc commit 59fa25a
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 59fa25a

Please sign in to comment.