Add support for tagged RDS DBInstances #1050

Closed
wants to merge 5 commits into
from

Projects

None yet

1 participant

@gertjanol
Contributor

These commits add support for listing, creating and removing tags to and from RDS-DBInstances (ListTagsForResource, AddTagsToResource and RemoveTagsFromResource API calls).

Amazon requires an ARN to reference the DBInstance on which the actions are performed, but doesn't supply this ARN, afaik. I added a property to the DBInstance-class, which uses IAM (for the account-id) to construct the ARN itself when asked for. It's not very clean, but I didn't see another way. If Amazon does supply the ARN in another way, or in the future, this could easily be removed while retaining backwards compatibility.

I'm hoping to add support for a TaggedRDSResource, similar to the TaggedEC2Resource.

I welcome your thought and suggestions!

@gertjanol gertjanol closed this Oct 15, 2012
@gertjanol
Contributor

Created a new pullrequest with the same commits, but in it's own featurebranch (#1061)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment