Skip to content

Commit

Permalink
update integ test
Browse files Browse the repository at this point in the history
  • Loading branch information
KollaAdithya committed Jan 12, 2024
1 parent 870fed5 commit 46e2284
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 8 deletions.

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 @@ -351,13 +351,16 @@
"VolumeConfigurations": [
{
"ManagedEBSVolume": {
"Encrypted": true,
"FilesystemType": "ext4",
"Iops": 4000,
"RoleArn": {
"Fn::GetAtt": [
"EBSRole9CBFC881",
"Arn"
]
},
"SizeInGiB": 20,
"SizeInGiB": 15,
"TagSpecifications": [
{
"PropagateTags": "SERVICE",
Expand All @@ -368,8 +371,20 @@
"Value": "production"
}
]
},
{
"PropagateTags": "TASK_DEFINITION",
"ResourceType": "volume",
"Tags": [
{
"Key": "purpose",
"Value": "development"
}
]
}
]
],
"Throughput": 500,
"VolumeType": "gp3"
},
"Name": "ebs1"
}
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.

Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,23 @@ class TestStack extends cdk.Stack {
name: 'ebs1',
managedEBSVolume: {
role: ebsRole,
sizeInGiB: 20,
encrypted: true,
volumeType: ec2.EbsDeviceVolumeType.GP3,
sizeInGiB: 15,
iops: 4000,
throughput: 500,
fileSystemType: 'ext4',
tagSpecifications: [{
tags: {
purpose: 'production',
},
propagateTags: ecs.PropagatedTagSource.SERVICE,
},
{
tags: {
purpose: 'development',
},
propagateTags: ecs.PropagatedTagSource.TASK_DEFINITION,
}],
},
});
Expand Down Expand Up @@ -70,4 +81,4 @@ const stack = new TestStack(app, 'integ-aws-ecs-ebs-task-attach');
new integ.IntegTest(app, 'EBSTaskAttach', {
testCases: [stack],
});
app.synth();
app.synth();

0 comments on commit 46e2284

Please sign in to comment.