I am following a AWS documentation tutorial (https://docs.aws.amazon.com/m2/latest/userguide/tutorial-runtime-mf.html) where I am creating an application for Microfocus runtime environment in AWS Mainframe Modernization sevice. I have performed all the previous steps mentioned in doc. At Create an application step, I am getting error "Application demo-app failed to create. resource object with id xa-resource-0 is not found at specified s3 location" while specifying resource and configuration.
This is the script for specifying resource and configuration.
{
"template-version": "2.0",
"source-locations": [
{
"source-id": "s3-source",
"source-type": "s3",
"properties": {
"s3-bucket": "demo ",
"s3-key-prefix": "bankdemo_runtime"
}
}
],
"definition": {
"listeners": [
{
"port": 6000,
"type": "tn3270"
}
],
"dataset-location": {
"db-locations": [
{
"name": "demo-cluster",
"secret-manager-arn": "arn:aws:secretsmanager:us-east-1:973571118640:secret:rds!cluster-a96fabe6-c74c-419b-bced-464488699528-t1xSBx"
}
]
},
"batch-settings": {
"initiators": [
{
"classes": ["A","B"],
"description": "initiator_AB...."
},
{
"classes": ["C","D"],
"description": "initiator_CD...."
}
],
"jcl-file-location": "${s3-source}/jcl"
},
"cics-settings": {
"binary-file-location": "${s3-source}/transaction",
"csd-file-location": "${s3-source}/RDEF",
"system-initialization-table": "BNKCICV"
},
"xa-resources": [
{
"name": "XASQL",
"secret-manager-arn": "arn:aws:secretsmanager:us-east-1:973571118640:secret:rds!cluster-a96fabe6-c74c-419b-bced-464488699528-t1xSBx",
"module": "${s3-source}/xa/ESPGSQLXA64_S.so"
}
]
}
}