Paul Stack
d5fb018250
Merge pull request #4945 from stack72/aws-rds-enhanced-monitoring
...
provider/aws: Enabled Enhanced Monitoring for RDS
2016-02-22 22:02:09 +00:00
clint shryock
ca29437581
provider/aws: Fix copy_tags_to_snapshot for DB Instance
2016-02-18 11:33:21 -06:00
clint shryock
21a59fc708
provider/aws: All security group mods on first run when restoring from snapshot
2016-02-11 16:39:53 -06:00
Diego Rodriguez
cfafa3f574
fix ec2 classic security group changing
2016-02-03 00:33:42 -08:00
stack72
e87d3bb711
Enabled Enhanced Monitoring for RDS
2016-02-03 00:14:24 +00:00
Ian Duffy
47ac10d66b
Change resource.StateChangeConf to use an array for target states
...
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-01-21 01:20:41 +00:00
Koen De Causmaecker
45ef11e59f
provider/aws: aws_db_instance: unrequire fields
...
When spinning up from a snapshot or a read replica, these fields are
now optional:
* allocated_storage
* engine
* password
* username
Some validation logic is added to make these fields required when
starting a database from scratch.
The documentation is updated accordingly.
2016-01-13 15:40:15 +01:00
James Nugent
3c330f6e19
provider/aws: Fix RDS unexpected state config
...
This commit adds the various states (taken from the RDS documentation
here: http://amzn.to/1OHqi6g ) to the list of allowable pending states
when creating an RDS instance.
In particular, `resetting-master-credentials` is returned when creating
an `aws_db_instance` from a snapshot. Fixes #4477 .
2016-01-04 13:24:29 -05:00
stack72
2b0c7aa4e9
Making the changes to db_instance skip_final_snapshot on the feedback from @catsby
2015-12-10 23:21:36 +00:00
stack72
6082e3e732
Changing the db_instance to throw an error is a final snapshot is required but yet no identified is given
2015-12-10 19:11:47 +00:00
stack72
5796b13373
Adding skip_final_snapshop bool to th db_instance. This will allow us to specify whether a snapshot is needed directly rather than checking for an empty string
2015-12-10 19:11:47 +00:00
clint shryock
6015874273
providers/aws: Update DB Replica to honor storage type
...
DB Replica can be of a different storage type, but we were skipping that part.
Note that they are created as the default (or as the primary?) initially,
and then modified to be of the correct type
2015-12-09 13:24:10 -06:00
clint shryock
e52af33db7
remove extra DBSubnetGroupName
2015-12-08 10:55:57 -06:00
clint shryock
0619898f6a
provider/aws: Add arn to DB Instance output
2015-12-08 10:52:17 -06:00
Philipp Preß
1cd2fea1f9
Fix AWS RDS cross-region read replica always being placed in default VPC
...
Fixes #4192 by honouring the `db_subnet_group_name` parameter when creating a cross-region read replica.
2015-12-08 15:06:57 +01:00
Brandon Rochon
6875e9aaec
Issue #3894 RDS publicly_accessible param shouldn't force new resource
...
Change-Id: I0a10e050ca1c4f2dde5e04f237de6115723522d8
2015-11-16 17:47:35 -08:00
Brandon Rochon
b6738f13c1
Issue #3894 RDS publicly_accessible param shouldn't force new resource
...
Change-Id: I833f9e07f3fc1f6ee475673ad978b3982f0b6273
2015-11-12 13:33:27 -08:00
clint shryock
03e7c6cf12
default true for auto_minor_update and allow updates for RDS DB Instance
2015-11-11 09:36:37 -06:00
YuusukeMatsuura
7dd6b779ca
Add AutoMinorVersionUpgrade to RDS.
2015-11-11 09:35:53 -06:00
Paul Stack
e3a66d0928
Making engine_version be computed in the db_instance provider
2015-11-10 17:30:19 +00:00
stack72
1abb0b19bf
Changing the db_instance resource to mark the engine_version as Optional
2015-11-10 17:30:09 +00:00
Clint
6492853e84
Merge pull request #3513 from iJoinSolutions/5873-terraform-snapshot-security-v6.3
...
Provider/aws Apply security group after restoring db_instance from snapshot
2015-11-02 15:06:02 -06:00
Michael Austin
a0322f9b8c
go fmt
2015-10-29 17:55:23 -04:00
Michael Austin
5448e01269
removed extraneous debug code and clarified INFO logging
2015-10-29 17:53:40 -04:00
clint shryock
a273b9b93b
provider/aws: Add configuration to copy tags to RDS Snapshots
2015-10-16 11:14:11 -05:00
Michael Austin
53e196eaed
fix vet error
2015-10-15 12:55:33 -04:00
Michael Austin
1ff02d9f31
Merge commit '0c2f189d083e49b49747ce323702db1861cb2cbf' into 5873-terraform-snapshot-security-v6.3
2015-10-14 13:56:27 -04:00
Michael Austin
32d04797f9
update security group after restore from snapshot
2015-10-14 13:23:11 -04:00
Radek Simko
f9efede852
gofmt files from recently merged PRs
2015-10-07 13:35:06 -07:00
Clint Shryock
5739c4869c
provider/aws: Docs for RDS Cluster, Cluster Instance
2015-10-07 11:26:23 -05:00
Anthony Scalisi
198e1a5186
remove various typos
2015-09-11 11:56:20 -07:00
Clint Shryock
bd2adfce3b
update StateFunc to return empty string if maintenance_window not found
2015-08-24 11:25:43 -05:00
Clint Shryock
22e73d7b68
provider/aws: Lower case DB Instance's maintenance window
...
Fixes https://github.com/hashicorp/terraform/issues/2719
2015-08-24 11:08:19 -05:00
Clint Shryock
d793c6dbff
provider/aws: Updates for RDS
2015-08-21 16:58:34 -05:00
Clint Shryock
0c2f189d08
provider/aws: Update to aws-sdk 0.9.0 rc1
2015-08-17 13:27:16 -05:00
Clint Shryock
579ccbefea
provider/aws: Update source to comply with upstream breaking change
2015-07-28 15:29:46 -05:00
Christopher Tiwald
dfe0efaf17
aws_db_instance: Only write lowercase engines to the state file.
...
Amazon accepts mixed-case engines, but only returns lowercase. Without
the proper StateFunc, every apply of a mixed-case engine will result in
a new db instance. Standardize on lowercase.
2015-07-24 16:32:21 -04:00
Alex Philipp
3cb2a3b0b8
aws_db_instance: fix missing format arg
2015-07-09 14:28:50 -05:00
Adam Enger
ca8736d29f
Merge branch 'master' of github.com:reverbdotcom/terraform into adding-rds-snapshots
...
* 'master' of github.com:reverbdotcom/terraform: (524 commits)
docs: tweaks to RELEASING
Minor change to docs
Update CHANGELOG.md
Update DynamoDB example docs to remove non-key attributes; update test to remove non-key attribute from attribute set to prevent infinite planning loops
Update CHANGELOG.md
use /usr/bin/env bash
provider/aws: fix go vet
provider/aws: ignore providers with Meta nil
update CHANGELOG
provider/aws: Code cleanups for Spot Requests
provider/aws: fix db_subnet acc test
Fixing the tests
Fixes issue #2568
Update CHANGELOG.md
Update CHANGELOG.md
fixes typo
Fixed void Azure network config bug.
provider/aws: ecs task definition is deregistered correctly
provider/azure: fixup storage service test
provider/docker: [tests] change images
...
2015-06-30 15:26:23 -05:00
Radek Simko
2a9293a036
aws: Fix validation for aws_db_instance.identifier
2015-06-26 17:57:13 +01:00
Radek Simko
3a9852568a
provider/aws: Add validation for aws_db_instance.identifier
2015-06-26 15:06:36 +01:00
Radek Simko
765be4c768
provider/aws: Fix naming in validation of db_instance.final_snapshot_identifier
2015-06-26 12:10:26 +01:00
Radek Simko
92db4802b6
schema: Add field name to ValidateFunc
2015-06-24 18:22:12 +01:00
Paul Hinze
37b234e42b
provider/aws: validate RDS final_snapshot_identifier
...
fixes #2250
2015-06-08 08:50:56 -05:00
Paul Hinze
b71fa3d0ae
provider/aws: handle upstream aws-sdk-go repo move
...
`awslabs/aws-sdk-go => aws/aws-sdk-go`
Congrats to upstream on the promotion. :)
2015-06-03 13:36:57 -05:00
Adam Enger
6799225757
adding all supproted options for db snapshot restore
2015-05-24 20:18:36 -05:00
Adam Enger
b0d2b25b2d
Adding support for snapshot_identifier option which enables restoring a DB from a snapshot
2015-05-24 16:51:35 -05:00
Clint Shryock
6de8f9d180
provider/aws: RDS Read Replica cleanups
...
remove typos, debugging, and try spelling things correctly
2015-05-21 09:49:46 -05:00
Clint Shryock
6b6aa867c0
update read replica acceptance test
2015-05-20 09:28:33 -05:00
Clint Shryock
dc164c454e
remove default here
2015-05-20 08:26:05 -05:00