Reserved Cache Node Args
Manages an ElastiCache Reserved Cache Node.
NOTE: Once created, a reservation is valid for the
duration
of the providedoffering_id
and cannot be deleted. Performing adestroy
will only remove the resource from state. For more information see ElastiCache Reserved Nodes Documentation and PurchaseReservedCacheNodesOffering. NOTE: Due to the expense of testing this resource, we provide it as best effort. If you find it useful, and have the ability to help test or notice issues, consider reaching out to us on GitHub.
Example Usage
resources:
exampleReservedCacheNode:
type: aws:elasticache:ReservedCacheNode
name: example
properties:
reservedCacheNodesOfferingId: ${example.offeringId}
id: optionalCustomReservationID
cacheNodeCount: 3
variables:
example:
fn::invoke:
function: aws:elasticache:getReservedCacheNodeOffering
arguments:
cacheNodeType: cache.t4g.small
duration: P1Y
offeringType: No Upfront
productDescription: redis
Import
Using pulumi import
, import ElastiCache Reserved Cache Node using the id
. For example:
$ pulumi import aws:elasticache/reservedCacheNode:ReservedCacheNode example CustomReservationID
Properties
Number of cache node instances to reserve. Default value is 1
.
ID of the reserved cache node offering to purchase. To determine an reserved_cache_nodes_offering_id
, see the aws.elasticache.getReservedCacheNodeOffering
data source. The following arguments are optional: