Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provider/aws: Add non-destructive updates to AWS RDS #1341

Merged
merged 4 commits into from
Apr 1, 2015
Merged

Conversation

catsby
Copy link
Contributor

@catsby catsby commented Mar 31, 2015

This PR is a spike at introducing in-place updates of AWS RDS instances, without destroying and re-creating the entire instance, currently only supporting engine_version and multi_az as proof of concept.

RDS has a concept of apply_immediately for each modification request, detailed here:

TL;DR: apply_immediately = true will introduce downtime immediately, false will apply the changes in the next maintenance window. The caveat there is that the local state won't be updated until after the change, so terraform plan will continue to show a pending update until after the change is applied.

There are several other attributes we can modify without destroying the instance, listed here:

I'm sending this as is for feedback before implementing the remaining items. This should fix #1070, #1278, and #1140

* f-aws-rds-tags:
  fix index out of range error
  fix formatting
  upgrade VPC Ids and DB Subnet to be optionally computed
  fix typo
  provider/aws: Introduce IAM connection
This introduces non-destructive, in-place upgrades to MultiAZ and Engine Version
attributes of AWS RDS instances.
@phinze
Copy link
Contributor

phinze commented Apr 1, 2015

LGTM

* master: (167 commits)
  return error if failed to set tags on Route 53 zone
  core: [tests] fix order dependent test
  Fix hashcode for ASG test
  provider/aws: Fix issue with tainted ASG groups failing to re-create
  Don't error when reading s3 bucket with no tags
  Avoid panics when DBName is not set
  Add floating IP association in aceptance tests
  Use env var OS_POOL_NAME as default for pool attribute
  providers/heroku: Add heroku-postgres to example
  docs: resource addressing
  providers/heroku: Document environment variables
  providers/heroku: Add region to example
  Bugfix on floating IP assignment
  Update CHANGELOG.md
  update CHANGELOG
  website: note on docker
  core: formalize resource addressing
  core: fill out context tests for targeted ops
  core: docs for targeted operations
  core: targeted operations
  ...
catsby added a commit that referenced this pull request Apr 1, 2015
provider/aws: Add non-destructive updates to AWS RDS
@catsby catsby merged commit e851751 into master Apr 1, 2015
@catsby catsby deleted the f-rds-update branch April 1, 2015 21:08
@ghost
Copy link

ghost commented May 3, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators May 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RDS/MySQL version upgrade - forces new resource
2 participants