Conversation
Class methods on RDS::Resource #create_db_instance #instances And instance methods on RDS::DBInstance: .modify .delete
Sorry for the slow response. I've been out-of-the office and I am just getting back into things. I'll try to take a look at this and see about getting this merged. I'm working on a minor refactoring of the resource definition structure, but it wouldn't require many changes to make this work (very trivial ones). |
Thanks, Trevor. (Honestly no need to apologize. That's how it goes with OSS.)
|
I've finalized the refactor of the resource definitions. There are some minor changes required for this to work again. The primary differences are:
|
@trevorrowe: Updated per your comment. The walkthrough in the PR description works the same, as does Oh, and I figured out that |
Oh, and as an aside/pro-tip, I spent more time than I'd like trying to track down a JSON syntax error (missing colon). Parsing the file as YAML gives more accurate line numbers for the error than JSON. E.g.
|
This has been merged into master of aws/aws-sdk-ruby: aws/aws-sdk-ruby@496c5fc Sorry for taking a while. I reached out to the RDS team to get input on the interface. I'm going to continue to expand on this interface based on their input. Hopefully we can cover the full RDS interface. Thanks again! |
Yay, thanks.
|
👋 Here's a simple little resource for RDS instances.
It's not complete, but it's a start.
It adds:
Aws::RDS::Resource#create_db_instance
(returns a DBInstance)Aws::RDS::Resource#db_instances
(returns a collection of DBInstances)Aws::RDS::DBInstance#modify
Aws::RDS::DBInstance#delete
Here's an example walkthrough with required arguments:
No errors from
rake resources:validate
(except an unrelated S3 issue)