Skip to content

Commit

Permalink
fix integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
beck3905 committed Jun 5, 2023
1 parent 3bfd38e commit 70f89c1
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
}
}
},
"88e0b6bd92c7f3bd26960156a5478f278744f20c286a27139a49fa64f95b8ba9": {
"428d45d78cd60f636093f2f73d8319337004afea0fa854410fdacdcce602d3fc": {
"source": {
"path": "DistributedMapDefaultTestDeployAssertFD6CBCC4.template.json",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "88e0b6bd92c7f3bd26960156a5478f278744f20c286a27139a49fa64f95b8ba9.json",
"objectKey": "428d45d78cd60f636093f2f73d8319337004afea0fa854410fdacdcce602d3fc.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 @@ -18,7 +18,7 @@
}
},
"flattenResponse": "false",
"salt": "1683221356524"
"salt": "1684365613545"
},
"UpdateReplacePolicy": "Delete",
"DeletionPolicy": "Delete"
Expand Down Expand Up @@ -130,7 +130,7 @@
"Body": "a,b,c\n1,2,3\n4,5,6"
},
"flattenResponse": "false",
"salt": "1683221356524"
"salt": "1684365613545"
},
"UpdateReplacePolicy": "Delete",
"DeletionPolicy": "Delete"
Expand All @@ -152,7 +152,7 @@
}
},
"flattenResponse": "true",
"salt": "1683221356524"
"salt": "1684365613545"
},
"DependsOn": [
"AwsApiCallS3putObject9f7ed865afc47100b3c2a9fea2cf51ee"
Expand Down Expand Up @@ -181,7 +181,7 @@
}
},
"flattenResponse": "false",
"salt": "1683221356525"
"salt": "1684365613546"
},
"DependsOn": [
"AwsApiCallStepFunctionsstartExecutionc5cc0786542148808c24d8ebf111c7aa"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
}
}
},
"264530499a6bef07bb444b5daefdb7f588e992a6aa9716cb7baa8cce19c6f5ab": {
"4fbdcd6affb0ed41775b9cb185de0d7d06acc3cfaec80dd6555ba3dc25c5d930": {
"source": {
"path": "aws-stepfunctions-map-integ.template.json",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "264530499a6bef07bb444b5daefdb7f588e992a6aa9716cb7baa8cce19c6f5ab.json",
"objectKey": "4fbdcd6affb0ed41775b9cb185de0d7d06acc3cfaec80dd6555ba3dc25c5d930.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 @@ -175,7 +175,11 @@
"Fn::Join": [
"",
[
"arn:aws:s3:::",
"arn:",
{
"Ref": "AWS::Partition"
},
":s3:::",
{
"Ref": "Bucket83908E77"
},
Expand Down Expand Up @@ -208,11 +212,19 @@
"Fn::Join": [
"",
[
"{\"StartAt\":\"DistributedMap\",\"States\":{\"DistributedMap\":{\"Type\":\"Map\",\"End\":true,\"ItemProcessor\":{\"ProcessorConfig\":{\"Mode\":\"DISTRIBUTED\",\"ExecutionType\":\"STANDARD\"},\"StartAt\":\"Pass\",\"States\":{\"Pass\":{\"Type\":\"Pass\",\"End\":true}}},\"ItemReader\":{\"Resource\":\"arn:aws:states:::s3:getObject\",\"ReaderConfig\":{\"InputType\":\"CSV\",\"CSVHeaderLocation\":\"FIRST_ROW\"},\"Parameters\":{\"Bucket\":\"",
"{\"StartAt\":\"DistributedMap\",\"States\":{\"DistributedMap\":{\"Type\":\"Map\",\"End\":true,\"ItemProcessor\":{\"ProcessorConfig\":{\"Mode\":\"DISTRIBUTED\",\"ExecutionType\":\"STANDARD\"},\"StartAt\":\"Pass\",\"States\":{\"Pass\":{\"Type\":\"Pass\",\"End\":true}}},\"ItemReader\":{\"Resource\":\"arn:",
{
"Ref": "AWS::Partition"
},
":states:::s3:getObject\",\"ReaderConfig\":{\"InputType\":\"CSV\",\"CSVHeaderLocation\":\"FIRST_ROW\"},\"Parameters\":{\"Bucket\":\"",
{
"Ref": "Bucket83908E77"
},
"\",\"Key\":\"my-key.csv\"}},\"ResultWriter\":{\"Resource\":\"arn:aws:states:::s3:putObject\",\"Parameters\":{\"Bucket\":\"",
"\",\"Key\":\"my-key.csv\"}},\"ResultWriter\":{\"Resource\":\"arn:",
{
"Ref": "AWS::Partition"
},
":states:::s3:putObject\",\"Parameters\":{\"Bucket\":\"",
{
"Ref": "Bucket83908E77"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,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}/264530499a6bef07bb444b5daefdb7f588e992a6aa9716cb7baa8cce19c6f5ab.json",
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/4fbdcd6affb0ed41775b9cb185de0d7d06acc3cfaec80dd6555ba3dc25c5d930.json",
"requiresBootstrapStackVersion": 6,
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
"additionalDependencies": [
Expand Down Expand Up @@ -136,7 +136,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}/88e0b6bd92c7f3bd26960156a5478f278744f20c286a27139a49fa64f95b8ba9.json",
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/428d45d78cd60f636093f2f73d8319337004afea0fa854410fdacdcce602d3fc.json",
"requiresBootstrapStackVersion": 6,
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
"additionalDependencies": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,11 @@
"Fn::Join": [
"",
[
"arn:aws:s3:::",
"arn:",
{
"Ref": "AWS::Partition"
},
":s3:::",
{
"Ref": "Bucket83908E77"
},
Expand Down Expand Up @@ -300,11 +304,19 @@
"Fn::Join": [
"",
[
"{\"StartAt\":\"DistributedMap\",\"States\":{\"DistributedMap\":{\"Type\":\"Map\",\"End\":true,\"ItemProcessor\":{\"ProcessorConfig\":{\"Mode\":\"DISTRIBUTED\",\"ExecutionType\":\"STANDARD\"},\"StartAt\":\"Pass\",\"States\":{\"Pass\":{\"Type\":\"Pass\",\"End\":true}}},\"ItemReader\":{\"Resource\":\"arn:aws:states:::s3:getObject\",\"ReaderConfig\":{\"InputType\":\"CSV\",\"CSVHeaderLocation\":\"FIRST_ROW\"},\"Parameters\":{\"Bucket\":\"",
"{\"StartAt\":\"DistributedMap\",\"States\":{\"DistributedMap\":{\"Type\":\"Map\",\"End\":true,\"ItemProcessor\":{\"ProcessorConfig\":{\"Mode\":\"DISTRIBUTED\",\"ExecutionType\":\"STANDARD\"},\"StartAt\":\"Pass\",\"States\":{\"Pass\":{\"Type\":\"Pass\",\"End\":true}}},\"ItemReader\":{\"Resource\":\"arn:",
{
"Ref": "AWS::Partition"
},
":states:::s3:getObject\",\"ReaderConfig\":{\"InputType\":\"CSV\",\"CSVHeaderLocation\":\"FIRST_ROW\"},\"Parameters\":{\"Bucket\":\"",
{
"Ref": "Bucket83908E77"
},
"\",\"Key\":\"my-key.csv\"}},\"ResultWriter\":{\"Resource\":\"arn:aws:states:::s3:putObject\",\"Parameters\":{\"Bucket\":\"",
"\",\"Key\":\"my-key.csv\"}},\"ResultWriter\":{\"Resource\":\"arn:",
{
"Ref": "AWS::Partition"
},
":states:::s3:putObject\",\"Parameters\":{\"Bucket\":\"",
{
"Ref": "Bucket83908E77"
},
Expand Down Expand Up @@ -407,7 +419,7 @@
},
"constructInfo": {
"fqn": "constructs.Construct",
"version": "10.2.9"
"version": "10.2.26"
}
},
"BootstrapVersion": {
Expand Down Expand Up @@ -445,7 +457,7 @@
"path": "DistributedMap/DefaultTest/Default",
"constructInfo": {
"fqn": "constructs.Construct",
"version": "10.2.9"
"version": "10.2.26"
}
},
"DeployAssert": {
Expand All @@ -465,7 +477,7 @@
"path": "DistributedMap/DefaultTest/DeployAssert/AwsApiCallStepFunctionsdescribeStateMachinec5cc0786542148808c24d8ebf111c7aa/SdkProvider/AssertionsProvider",
"constructInfo": {
"fqn": "constructs.Construct",
"version": "10.2.9"
"version": "10.2.26"
}
}
},
Expand Down Expand Up @@ -537,7 +549,7 @@
},
"constructInfo": {
"fqn": "constructs.Construct",
"version": "10.2.9"
"version": "10.2.26"
}
},
"AwsApiCallS3putObject9f7ed865afc47100b3c2a9fea2cf51ee": {
Expand All @@ -553,7 +565,7 @@
"path": "DistributedMap/DefaultTest/DeployAssert/AwsApiCallS3putObject9f7ed865afc47100b3c2a9fea2cf51ee/SdkProvider/AssertionsProvider",
"constructInfo": {
"fqn": "constructs.Construct",
"version": "10.2.9"
"version": "10.2.26"
}
}
},
Expand Down Expand Up @@ -599,7 +611,7 @@
"path": "DistributedMap/DefaultTest/DeployAssert/AwsApiCallStepFunctionsstartExecutionc5cc0786542148808c24d8ebf111c7aa/SdkProvider/AssertionsProvider",
"constructInfo": {
"fqn": "constructs.Construct",
"version": "10.2.9"
"version": "10.2.26"
}
}
},
Expand Down Expand Up @@ -645,7 +657,7 @@
"path": "DistributedMap/DefaultTest/DeployAssert/AwsApiCallStepFunctionsdescribeExecution7e7cfa5e3c60aef760b5fbff9448d868/SdkProvider/AssertionsProvider",
"constructInfo": {
"fqn": "constructs.Construct",
"version": "10.2.9"
"version": "10.2.26"
}
}
},
Expand Down Expand Up @@ -725,7 +737,7 @@
"path": "Tree",
"constructInfo": {
"fqn": "constructs.Construct",
"version": "10.2.9"
"version": "10.2.26"
}
}
},
Expand Down

0 comments on commit 70f89c1

Please sign in to comment.