Skip to content

Commit

Permalink
Update integ test snapshots for aws-fargate-kinesisstreams construct.
Browse files Browse the repository at this point in the history
  • Loading branch information
georgebearden committed Dec 23, 2022
1 parent 2a66c28 commit 4e5d05d
Show file tree
Hide file tree
Showing 8 changed files with 2,232 additions and 616 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1013,18 +1013,7 @@
}
],
"Essential": true,
"Image": {
"Fn::Join": [
"",
[
"581677916928.dkr.ecr.us-west-2.",
{
"Ref": "AWS::URLSuffix"
},
"/test-container:latest"
]
]
},
"Image": "nginx",
"MemoryReservation": 512,
"Name": "test-container",
"PortMappings": [
Expand All @@ -1036,12 +1025,6 @@
}
],
"Cpu": "256",
"ExecutionRoleArn": {
"Fn::GetAtt": [
"testtaskdefExecutionRole7C3B732C",
"Arn"
]
},
"Family": "existingFargateServicetesttaskdef55189A31",
"Memory": "512",
"NetworkMode": "awsvpc",
Expand All @@ -1056,53 +1039,6 @@
}
}
},
"testtaskdefExecutionRole7C3B732C": {
"Type": "AWS::IAM::Role",
"Properties": {
"AssumeRolePolicyDocument": {
"Statement": [
{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Principal": {
"Service": "ecs-tasks.amazonaws.com"
}
}
],
"Version": "2012-10-17"
}
}
},
"testtaskdefExecutionRoleDefaultPolicy423803C8": {
"Type": "AWS::IAM::Policy",
"Properties": {
"PolicyDocument": {
"Statement": [
{
"Action": [
"ecr:BatchCheckLayerAvailability",
"ecr:GetDownloadUrlForLayer",
"ecr:BatchGetImage"
],
"Effect": "Allow",
"Resource": "arn:aws:ecr:us-west-2:581677916928:repository/test-container"
},
{
"Action": "ecr:GetAuthorizationToken",
"Effect": "Allow",
"Resource": "*"
}
],
"Version": "2012-10-17"
},
"PolicyName": "testtaskdefExecutionRoleDefaultPolicy423803C8",
"Roles": [
{
"Ref": "testtaskdefExecutionRole7C3B732C"
}
]
}
},
"testsg872EB48A": {
"Type": "AWS::EC2::SecurityGroup",
"Properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const stack = new Stack(app, generateIntegStackName(__filename));

const existingVpc = getTestVpc(stack);

const image = ecs.ContainerImage.fromRegistry('nginx')
const image = ecs.ContainerImage.fromRegistry('nginx');

const [existingFargateServiceObject, existingContainerDefinitionObject] = CreateFargateService(stack,
'test',
Expand Down
Loading

0 comments on commit 4e5d05d

Please sign in to comment.