Skip to content

Commit

Permalink
support china regions
Browse files Browse the repository at this point in the history
  • Loading branch information
qqshfox committed Feb 12, 2020
1 parent 60af0f4 commit f681c1a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
12 changes: 11 additions & 1 deletion cftemplates/snapshots_tool_rds_dest.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@
},
"ap-southeast-1": {
"Bucket": "snapshots-tool-rds-ap-southeast-1-real"
},
"cn-north-1": {
"Bucket": "snapshots-tool-rds-cn-north-1"
},
"cn-northwest-1": {
"Bucket": "snapshots-tool-rds-cn-northwest-1"
}
}
},
Expand Down Expand Up @@ -242,7 +248,11 @@
"logs:CreateLogStream",
"logs:PutLogEvents"
],
"Resource": "arn:aws:logs:*:*:*"
"Resource": {
"Fn::Join": ["", ["arn:", {
"Ref": "AWS::Partition"
}, ":logs:*:*:*"]]
}
}]
}
},
Expand Down
12 changes: 11 additions & 1 deletion cftemplates/snapshots_tool_rds_source.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,12 @@
},
"ap-southeast-1": {
"Bucket": "snapshots-tool-rds-ap-southeast-1-real"
},
"cn-north-1": {
"Bucket": "snapshots-tool-rds-cn-north-1"
},
"cn-northwest-1": {
"Bucket": "snapshots-tool-rds-cn-northwest-1"
}
}
},
Expand Down Expand Up @@ -281,7 +287,11 @@
"logs:CreateLogStream",
"logs:PutLogEvents"
],
"Resource": "arn:aws:logs:*:*:*"
"Resource": {
"Fn::Join": ["", ["arn:", {
"Ref": "AWS::Partition"
}, ":logs:*:*:*"]]
}
}]
}
},
Expand Down

0 comments on commit f681c1a

Please sign in to comment.