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!
provider "aws" {}
resource "aws_rds_reserved_instance" "my-reservation" {
offering_id = "438012d3-4052-4cc7-b2e3-8d3372e0e706"
reservation_id = "optionalCustomReservationID"
instance_count = 3
tags = {}
}
https://docs.aws.amazon.com/cli/latest/reference/rds/purchase-reserved-db-instances-offering.html
+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
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.