Skip to content

Commit

Permalink
fix(aws): Fix IPv6 addresses being incorrectly associated when clonin…
Browse files Browse the repository at this point in the history
…g server groups that have launch templates enabled (#6979) (#10142) (#10144)

(cherry picked from commit 22818c6)

Co-authored-by: Ashley Kleynhans <[email protected]>
  • Loading branch information
mergify[bot] and ashleykleynhans committed Sep 11, 2024
1 parent a692106 commit d2e3a0c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,8 @@ angular
command.viewState.useSimpleInstanceTypeSelector = isSimpleModeEnabled(command);
}

const ipv6AddressCount = _.get(launchTemplateData, 'networkInterfaces[0]');
const networkInterfaces = _.get(launchTemplateData, 'networkInterfaces[0]');
const ipv6AddressCount = (networkInterfaces as INetworkInterface)?.ipv6AddressCount ?? 0;

const asgSettings = AWSProviderSettings.serverGroups;
const isTestEnv = serverGroup.accountDetails && serverGroup.accountDetails.environment === 'test';
Expand Down

0 comments on commit d2e3a0c

Please sign in to comment.