Commit graph

45 commits

Author SHA1 Message Date
Will Thames
0083212704 Fix RDS AWS connection
Use the common AWS connection improvements so that security_token,
boto_profile etc. are taken into account
2014-08-18 14:43:07 +10:00
Quinn Slack
9190df2aa9 Remove validation of RDS DB instance type names because Amazon frequently adds new ones 2014-07-03 15:57:28 -07:00
Herby Gillot
efbe4ca8d5 rds module: Fix undeclared reference to "params" when setting password in
modify mode.
2014-05-09 05:49:11 -04:00
James Cammarata
9d3583cab3 Merge pull request #7055 from bpennypacker/rds_modify
cloud/rds : renaming an rds instance always fails
2014-05-08 21:10:47 -05:00
James Cammarata
3ac4943751 Some cleanup for the rds/vpc_security_groups fix 2014-05-08 15:08:43 -05:00
James Cammarata
768de238d4 Merge branch 'vpc_fix' of https://github.com/ebrevdo/ansible into ebrevdo-vpc_fix 2014-05-08 14:39:07 -05:00
Michael DeHaan
d5e254d3c7 Merge pull request #6794 from follower/patch-4
Make `vpc_security_group` docs more accurate
2014-04-29 15:49:57 -04:00
Bruce Pennypacker
b57887bafd Fix for https://github.com/ansible/ansible/issues/7054 - when renaming an instance and waiting for the change to occur, force result.id to the name of the new instance so the subsequent call to get_current_resource succeeds. 2014-04-18 17:56:11 +00:00
Eugene Brevdo
8e32f54223 VPC security group membership fix for boto.
* facts now provides a list of existing vpc security group memberships
* adding a comma separated list of sg-* tags properly modifies membership
2014-04-09 13:32:47 -07:00
Michael DeHaan
19437aad0b Merge pull request #6798 from follower/patch-5
Clarify the port value always defaults to 3306
2014-04-02 17:34:33 -04:00
follower
4be010b09b Clarify the port value always defaults to 3306
While the [boto docs](https://github.com/boto/boto/blob/develop/boto/rds/__init__.py#L253) make it seem like the default value of `port` is changed depending on the engine chosen, AFAICT from looking at the code the default value is never changed from 3306.

I think the docs are intended to be read as "the default value used by <engine> is <port> so you should change `port` to that value".

If you don't specify the port value and chose the database engine as PostgreSQL you'll end up with a PostgreSQL instance running on port 3306.
2014-04-02 02:25:14 +13:00
jjshoe
2387f044e4 module_retention isn't defined anywhere, including the help. 2014-04-01 07:49:51 -05:00
follower
618554ad63 Make vpc_security_group docs more accurate
Without the `subnet` parameter supplied there's an error `msg: Parameter vpc_security_groups invalid for create command`. (This might be a bug?)

If the VPC security group name rather than ID is supplied there's an error: `msg: Invalid security group , groupId= <some group name>, groupName=.` (Accepting a group name might be a feature enhancement.)

In my case I set the subnet as `default` and used `register` to get the result of the security group creation section and just referred to its `group_id` property.
2014-04-02 01:06:45 +13:00
Quinn Slack
635fdcb533 Add new cloud/rds DB instance types (db.m3 and db.cr1 families) 2014-03-03 19:59:27 -08:00
James Cammarata
8a7c68dc18 Merge branch 'ec2-params' of https://github.com/scottanderson42/ansible into scottanderson42-ec2-params
Conflicts:
	lib/ansible/module_utils/ec2.py
	library/cloud/ec2
2014-02-26 09:37:26 -06:00
Mohan Krishnan
fb3c8c90e5 Allow explict setting of vpc_security_groups to allow modification of security groups of RDS instances within a VPC 2014-02-10 14:01:45 +07:00
Scott Anderson
baf508a379 Change standard AWS access and secret key parameter names to aws_access_key and aws_secret_key. Fixes an authentication problem with the rds module and standardizes the naming convention on something more encompassing than ec2_*_key. 2014-02-08 18:35:26 -05:00
jctanner
c13161993a Merge pull request #5410 from willthames/rds_snapshot
rds module: add snapshot capabilities
2014-02-05 15:23:08 -05:00
jctanner
9a69b1b0ec Merge pull request #5311 from willthames/ec2_refactor
ec2 modules: Move more responsibility to common EC2 module
2014-01-06 14:09:38 -08:00
Will Thames
b65486734a rds module: add snapshot capabilities
Add the ability to create snapshots and restore from them
Make instance creation, deletion, restore, and snapshotting idempotent
(really helps testing a playbook if you can run it multiple times)
2013-12-24 20:32:49 +10:00
willthames
12005a1cd0 Move more responsibility to common EC2 module
Moved `AWS_REGIONS` into `ec2` module
Created `ec2_connect` method in `ec2` module
Updated modules able to use `ec2_connect` and `AWS_REGIONS`
2013-12-17 14:07:24 +10:00
Mohan Krishnan
1dd2510e76 Adds postgres support for Ansible RDS module 2013-12-16 15:51:41 +08:00
James Tanner
f55270e746 Set version_added for new_instance_name in cloud/rds module 2013-12-13 13:54:08 -05:00
jctanner
6051ee0df5 Merge pull request #5052 from bpennypacker/promote_rename
cloud/rds module: added promote command & updated modify command to allow for renaming of database instances.
2013-12-12 15:15:34 -08:00
Bruce Pennypacker
d3480c5630 fixed documentation & added rename example 2013-12-04 10:01:30 -05:00
James Tanner
ad837709bd Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00
James Tanner
6000d636b3 Fixes #5023 Convert all modules to use new snippet import pattern 2013-12-02 15:11:23 -05:00
Bruce Pennypacker
9abca424ea Added promote command to promote read-replicas to standalone databases (http://aws.amazon.com/about-aws/whats-new/2012/10/11/amazon-rds-mysql-rr-promotion/). Added ability for the modify command to rename a database instance via the optional new_instance_name parameter 2013-11-25 13:16:41 -05:00
James Pharaoh
137a32ca36 make rds handle vpc security groups properly 2013-09-02 20:40:41 +02:00
James Pharaoh
dc5ffb688c fix for rds region variable 2013-09-02 20:40:32 +02:00
Bruce Pennypacker
0f458210bc Rebase attempt
No idea if I'm rebasing properly or not.  This is my first attempt.
2013-08-20 15:14:16 -04:00
Michael DeHaan
bc7de7bf3f Styling: indentation 2013-06-30 18:53:55 -04:00
Michael DeHaan
82d51e6354 Semicolons must die 2013-06-30 18:49:17 -04:00
Michael DeHaan
995ef374db Fixup versions of newly added modules. 2013-06-19 22:39:08 -04:00
Michael DeHaan
3f8aa8aec5 Fix up some module docs formatting errors. 2013-06-19 22:37:09 -04:00
Michael DeHaan
4c43264033 Various code reformatting 2013-06-19 22:23:31 -04:00
Bruce Pennypacker
9098908cc8 Set master_password for modify command 2013-06-19 09:35:50 -04:00
Bruce Pennypacker
898889d20e added try/except around conn.get_all_dbinstances 2013-06-17 09:42:42 -04:00
Bruce Pennypacker
d25622f17e changed 'action' to 'command'. Fixed a tab issue. 2013-06-17 09:39:45 -04:00
Bruce Pennypacker
14eda0d125 Added replication_source to the results 2013-06-12 16:22:35 -04:00
Bruce Pennypacker
1ef29a3654 endpoint is available only when instance is available 2013-06-12 11:44:33 -04:00
Bruce Pennypacker
c9e373dd7d Added modify action 2013-06-11 13:11:11 -04:00
Bruce Pennypacker
26c37d7c07 added 'facts' action 2013-06-11 10:45:50 -04:00
Bruce Pennypacker
d62beb2df5 fixed bug in delete action - skip_final_snapshot must always be set 2013-06-10 15:49:38 -04:00
Bruce Pennypacker
041a4872fe Amazon RDS module 2013-06-10 12:17:31 -04:00