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)

(cherry picked from commit 22818c6)
  • Loading branch information
ashleykleynhans authored and mergify[bot] committed Sep 11, 2024
1 parent a692106 commit 84065d8
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 84065d8

Please sign in to comment.