aws-secrets-manager-rotation-lambdas
aws-secrets-manager-rotation-lambdas copied to clipboard
Would be nice to be able to change the Runtime for the rotation function
Here is the yaml configuration for deploying the AWS::Serverless::Application
RDSSecretRotationService:
Type: "AWS::Serverless::Application"
Properties:
Location:
ApplicationId: arn:aws:serverlessrepo:region:id:applications/SecretsManagerRDSPostgreSQLRotationSingleUser
SemanticVersion: 1.0.117
Parameters:
endpoint: !Sub "https://secretsmanager.${AWS::Region}.${AWS::URLSuffix}"
functionName:
Fn::Join:
- ""
- - Fn::ImportValue: !Sub ${ClusterImportPrefix}-ClusterResolvingName
- "-rds-rotation-lambda"
vpcSubnetIds:
Fn::ImportValue: !Sub ${VPCImportPrefix}-PrivateSubnets
vpcSecurityGroupIds: !Ref RDSSecurityGroup
where can the documentation for the parameter list supported by this AWS resource (AWS::serverless::application)
I tried to add both
Runtime: "python3.7"
runtime: "python3.7"
failed to do so
Thank you for your feedback. The SAM template does not currently take Runtime as a parameter. We have noted this as a feature request.
For people landing here, you can upgrade by changing the
SemanticVersion: 1.0.117
Secrets Manager now supports RunTime Key from CFN template. Please refer to this article here