Skip to content

Commit

Permalink
test: update integ test
Browse files Browse the repository at this point in the history
  • Loading branch information
badmintoncryer committed May 19, 2024
1 parent e6a006d commit 2708181
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 14 deletions.

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.

Original file line number Diff line number Diff line change
Expand Up @@ -889,6 +889,7 @@
"myServiceLB168895E1": {
"Type": "AWS::ElasticLoadBalancingV2::LoadBalancer",
"Properties": {
"IpAddressType": "ipv4",
"LoadBalancerAttributes": [
{
"Key": "deletion_protection.enabled",
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.

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.

Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { Cluster, ContainerImage, AsgCapacityProvider, EcsOptimizedImage } from
import { App, Stack } from 'aws-cdk-lib';
import * as integ from '@aws-cdk/integ-tests-alpha';
import { ApplicationLoadBalancedEc2Service } from 'aws-cdk-lib/aws-ecs-patterns';
import * as elbv2 from 'aws-cdk-lib/aws-elasticloadbalancingv2';

const app = new App();
const stack = new Stack(app, 'aws-ecs-integ-alb');
Expand Down Expand Up @@ -56,6 +57,7 @@ const applicationLoadBalancedEc2Service = new ApplicationLoadBalancedEc2Service(
weight: 2,
},
],
ipAddressType: elbv2.IpAddressType.IPV4,
});
applicationLoadBalancedEc2Service.loadBalancer.connections.addSecurityGroup(securityGroup);

Expand Down

0 comments on commit 2708181

Please sign in to comment.