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)

(cherry picked from commit d5a8ea3)
  • Loading branch information
ashleykleynhans authored and mergify[bot] committed Sep 10, 2024
1 parent 25e472e commit 6683248
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 6683248

Please sign in to comment.