Git Product home page Git Product logo

rds-copy-snapshots-lambda's People

Contributors

xombiemp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rds-copy-snapshots-lambda's Issues

Doesn't create timestamp for RDS snapshots

Unable to run on a daily basis or create multiple snapshots as it doesn't appear to be able to actually create a timestamp for a snapshot. Any ideas? Thanks!

An error occurred (DBSnapshotAlreadyExists) when calling the CopyDBSnapshot operation: Cannot create the snapshot because a snapshot with the identifier already exists.: DBSnapshotAlreadyExistsFault
Traceback (most recent call last):
File "/var/task/rds-copy-snapshots.py", line 113, in main
copy_snapshots(rds, snapshots_auto)
File "/var/task/rds-copy-snapshots.py", line 20, in copy_snapshots
TargetDBSnapshotIdentifier=newest['DBSnapshotIdentifier'][4:]
File "/var/runtime/botocore/client.py", line 253, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/var/runtime/botocore/client.py", line 543, in _make_api_call
raise error_class(parsed_response, operation_name)
DBSnapshotAlreadyExistsFault: An error occurred (DBSnapshotAlreadyExists) when calling the CopyDBSnapshot operation: Cannot create the snapshot because a snapshot with the identifier already exists.

error when selecting all databases

Hello, when i put in "all" for INSTANCES = ["all"]
it errors out and wont run, it will run when i give it an instance name, just not when i choose all, here is the log output

START RequestId: a4501243-e1c4-11e7-8c05-5567e56bdd5f Version: $LATEST
Processing Snapshots for instance: all
An error occurred (DBInstanceNotFound) when calling the DescribeDBInstances operation: DBInstance all not found.: DBInstanceNotFoundFault
Traceback (most recent call last):
File "/var/task/rds-copy-snapshots.py", line 137, in main
response = rds.describe_db_instances(DBInstanceIdentifier=instance)
File "/var/runtime/botocore/client.py", line 314, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/var/runtime/botocore/client.py", line 612, in _make_api_call
raise error_class(parsed_response, operation_name)
DBInstanceNotFoundFault: An error occurred (DBInstanceNotFound) when calling the DescribeDBInstances operation: DBInstance all not found.

END RequestId: a4501243-e1c4-11e7-8c05-5567e56bdd5f
REPORT RequestId: a4501243-e1c4-11e7-8c05-5567e56bdd5f Duration: 1420.47 ms Billed Duration: 1500 ms Memory Size: 128 MB Max Memory Used: 45 MB

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.