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)
  • Loading branch information
ashleykleynhans committed Sep 10, 2024
1 parent 32f0e3d commit d5a8ea3
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 d5a8ea3

Please sign in to comment.