Skip to content

Commit

Permalink
chore: fix only test using stack
Browse files Browse the repository at this point in the history
  • Loading branch information
mrgrain committed Oct 24, 2022
1 parent 147c36d commit 1fab9e8
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ cleanup.addDependency(using);

const integTest = new integ.IntegTest(app, 'SSMParameterStoreTest', {
assertionStack: cleanup,
testCases: [creating, using],
testCases: [using],
});

integTest.assertions.awsApiCall('SSM', 'deleteParameter', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"testCases": {
"SSMParameterStoreTest/DefaultTest": {
"stacks": [
"sspms-creating",
"sspms-using"
],
"assertionStack": "sspms-cleanup",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"validateOnSynth": false,
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/f2d10e6f7f5b401862135feb218cdb0f1f14f219ef0d6d78d1f2f34615d3c48e.json",
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/774681e523ca39cdb798d74ea486ac7874030c04a36debc6a623f24afe196859.json",
"requiresBootstrapStackVersion": 6,
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
"additionalDependencies": [
Expand Down Expand Up @@ -160,7 +160,7 @@
"validateOnSynth": false,
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/19755b1273468600d04547cc509f1b49bd63666bc6deed48c974924dbad599e5.json",
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/ed82f3ce48345002448971161c8bd7594b2f548f56641b70afb2f4688e4c0aef.json",
"requiresBootstrapStackVersion": 6,
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
"additionalDependencies": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
}
}
},
"19755b1273468600d04547cc509f1b49bd63666bc6deed48c974924dbad599e5": {
"ed82f3ce48345002448971161c8bd7594b2f548f56641b70afb2f4688e4c0aef": {
"source": {
"path": "sspms-cleanup.template.json",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "19755b1273468600d04547cc509f1b49bd63666bc6deed48c974924dbad599e5.json",
"objectKey": "ed82f3ce48345002448971161c8bd7594b2f548f56641b70afb2f4688e4c0aef.json",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"Name": "/My/Secret/Parameter"
},
"flattenResponse": "false",
"salt": "1666615098744"
"salt": "1666616854742"
},
"UpdateReplacePolicy": "Delete",
"DeletionPolicy": "Delete"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
}
}
},
"f2d10e6f7f5b401862135feb218cdb0f1f14f219ef0d6d78d1f2f34615d3c48e": {
"774681e523ca39cdb798d74ea486ac7874030c04a36debc6a623f24afe196859": {
"source": {
"path": "sspms-creating.template.json",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "f2d10e6f7f5b401862135feb218cdb0f1f14f219ef0d6d78d1f2f34615d3c48e.json",
"objectKey": "774681e523ca39cdb798d74ea486ac7874030c04a36debc6a623f24afe196859.json",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"Value": "Abc123"
},
"flattenResponse": "false",
"salt": "1666615098739"
"salt": "1666616854737"
},
"UpdateReplacePolicy": "Delete",
"DeletionPolicy": "Delete"
Expand Down

0 comments on commit 1fab9e8

Please sign in to comment.