AV
which aws
?Size: a a a
AV
which aws
?V
OK
V
OK
OK
OK
AV
rd
AS
rd
Н
>Navigate over to your lambda function settings and on the top right you will have a button called "Actions". In the drop down menu select "export" and in the popup click "Download deployment package" and the function will download in a .zip file.
Н
V
>Navigate over to your lambda function settings and on the top right you will have a button called "Actions". In the drop down menu select "export" and in the popup click "Download deployment package" and the function will download in a .zip file.
AWSTemplateFormatVersion: '2010-09-09'
Transform: 'AWS::Serverless-2016-10-31'
Description: Copying latest cluster snapshot in us-east-1 to us-west-1
Resources:
xregionclustersnapcopyfromuseast1touswest1:
Type: 'AWS::Serverless::Function'
Properties:
Handler: xregion_copy_cluster_snapshot.lambda_handler
Runtime: python2.7
CodeUri: .
Description: Copying latest cluster snapshot in us-east-1 to us-west-1
MemorySize: 128
Timeout: 59
Role: 'arn:aws:iam::28874189:role/lambda-xregion-snapshot-role'
Events:
Schedule1:
Type: Schedule
Properties:
Schedule: cron(0 2 * * ? *)
Environment:
Variables:
cluster_id: production-use1
source_region: us-east-1
target_kms_id: 8d109a09-ff40-46de-9f9c-665b0a6d1
target_region: us-west-1
V
DK
web-dev
и web-prod
или просто web
? Пока per-env но задумался, есть ли в этом смысл... Кластер отдельный под каждую среду