Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-eks-v2-alpha/lib/kubectl-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export class KubectlProvider extends Construct implements IKubectlProvider {

const provider = new cr.Provider(this, 'Provider', {
onEventHandler: handler,
vpc: props.cluster.vpc,
vpc: vpc,
vpcSubnets: privateSubnets,
securityGroups,
});
Expand Down
6 changes: 3 additions & 3 deletions packages/@aws-cdk/aws-eks-v2-alpha/test/cluster.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1816,7 +1816,7 @@ describe('cluster', () => {

// we don't attach vpc config in case endpoint is public only, regardless of whether
// the vpc has private subnets or not.
Template.fromStack(stack).hasResourceProperties('AWS::Lambda::Function', {
Template.fromStack(stack).allResourcesProperties('AWS::Lambda::Function', {
VpcConfig: Match.absent(),
});
});
Expand All @@ -1834,7 +1834,7 @@ describe('cluster', () => {

// we don't attach vpc config in case endpoint is public only, regardless of whether
// the vpc has private subnets or not.
Template.fromStack(stack).hasResourceProperties('AWS::Lambda::Function', {
Template.fromStack(stack).allResourcesProperties('AWS::Lambda::Function', {
VpcConfig: Match.absent(),
});
});
Expand Down Expand Up @@ -1884,7 +1884,7 @@ describe('cluster', () => {

// we don't have private subnets, but we don't need them since public access
// is not restricted.
Template.fromStack(stack).hasResourceProperties('AWS::Lambda::Function', {
Template.fromStack(stack).allResourcesProperties('AWS::Lambda::Function', {
VpcConfig: Match.absent(),
});
});
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -951,10 +951,6 @@
}
},
"Handler": "framework.onEvent",
"LoggingConfig": {
"ApplicationLogLevel": "FATAL",
"LogFormat": "JSON"
},
"Role": {
"Fn::GetAtt": [
"ClusterKubectlProviderframeworkonEventServiceRoleFD0BA8C5",
Expand Down Expand Up @@ -2012,10 +2008,6 @@
}
},
"Handler": "framework.onEvent",
"LoggingConfig": {
"ApplicationLogLevel": "FATAL",
"LogFormat": "JSON"
},
"Role": {
"Fn::GetAtt": [
"IngressPingerProviderframeworkonEventServiceRole89300FAD",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -1076,10 +1076,6 @@
}
},
"Handler": "framework.onEvent",
"LoggingConfig": {
"ApplicationLogLevel": "FATAL",
"LogFormat": "JSON"
},
"Role": {
"Fn::GetAtt": [
"ClusterKubectlProviderframeworkonEventServiceRoleFD0BA8C5",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -879,10 +879,6 @@
}
},
"Handler": "framework.onEvent",
"LoggingConfig": {
"ApplicationLogLevel": "FATAL",
"LogFormat": "JSON"
},
"Role": {
"Fn::GetAtt": [
"ClusterKubectlProviderframeworkonEventServiceRoleFD0BA8C5",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading