Terraform-provider-aws: Support for RDS Reserved Instances

Created on 3 May 2019  路  7Comments  路  Source: hashicorp/terraform-provider-aws

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Like EC2, Amazon's RDS system also allows the purchase of reserved instances which are used if compatible RDS instances are spun up. It'd be cool if the AWS provider supported the creation of these!

New or Affected Resource(s)

  • aws_rds_reserved_instance

Potential Terraform Configuration

provider "aws" {}

resource "aws_rds_reserved_instance" "my-reservation" {
  offering_id = "438012d3-4052-4cc7-b2e3-8d3372e0e706"
  reservation_id = "optionalCustomReservationID"
  instance_count = 3

  tags = {}
}

References

https://docs.aws.amazon.com/cli/latest/reference/rds/purchase-reserved-db-instances-offering.html

enhancement servicrds

Most helpful comment

Is there actually support for EC2 reserved instances? The only documentation I can find is regarding capacity reservations which is a different concept entirely.

All 7 comments

+1

Are there any plans when can this be done? Kinda need this too

Is there actually support for EC2 reserved instances? The only documentation I can find is regarding capacity reservations which is a different concept entirely.

@joshuaganger Doesn't look like it, though I made no claim that the AWS provider supports EC2 reserved instances; I only said that they exist 馃槈

Would like to see this as well. It would be nice to manage this through code as well.

This would also be useful for aws_elasticsearch_domain resources as well. Not sure if that warrants a separate ticket, probably not given there is a broader effort to support reserved instances in terraform-provider-aws in the first place.

+1

Was this page helpful?
0 / 5 - 0 ratings