Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't deploy Aurora cluster with existence VPC #3

Open
m-yousri opened this issue Jun 24, 2021 · 0 comments
Open

Can't deploy Aurora cluster with existence VPC #3

m-yousri opened this issue Jun 24, 2021 · 0 comments

Comments

@m-yousri
Copy link

This was my configurations in the serverless.yml file, I'm using serverless framework to deploy:

aurora:
    username:
      !Join [
        '',
        [
          '{{resolve:secretsmanager:',
          !Ref AuroraDBUserSecret,
          ':SecretString:username}}'
        ]
      ]
    password:
      !Join [
        '',
        [
          '{{resolve:secretsmanager:',
          !Ref AuroraDBUserSecret,
          ':SecretString:password}}'
        ]
      ]
    identifier: 'aurora-serverless-cluster-${self:provider.stage}'
    backupRetentionPeriod: 10 # keep backups for 10 days
    backupWindow: 03:00-04:00 # utc
    maintenanceWindow: mon:05:00-mon:06:00 # utc
    minCapacity: 4
    maxCapacity: 16
    autoPause: true
    autoPauseSeconds: 60 # 1 minute
    vpc:
      name: VPC
      subnetName:
        - PrivateSubnet1
        - PrivateSubnet2

when I was deploying I faced this error:

 TypeError: Cannot read property 'map' of undefined
      at VPC.getCommonVPCResources
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant