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)
  • Loading branch information
ashleykleynhans authored Sep 11, 2024
1 parent d5a8ea3 commit 22818c6
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 22818c6

Please sign in to comment.