sparse-intern-71089
07/18/2022, 10:23 AMbillowy-army-68599
gray-translator-86978
07/18/2022, 2:58 PMbillowy-army-68599
gray-translator-86978
07/18/2022, 3:05 PMbillowy-army-68599
billowy-army-68599
gray-translator-86978
07/18/2022, 3:08 PMgray-translator-86978
07/18/2022, 3:13 PMbillowy-army-68599
gray-translator-86978
07/18/2022, 3:25 PMbillowy-army-68599
gray-translator-86978
07/18/2022, 3:30 PMbillowy-army-68599
gray-translator-86978
07/18/2022, 3:31 PMgray-translator-86978
07/18/2022, 3:32 PMbillowy-army-68599
aws elasticache describe-cache-clusters --cache-cluster-id lbriggs-single-001
{
"CacheClusters": [
{
"CacheClusterId": "lbriggs-single-001",
"ClientDownloadLandingPage": "<https://console.aws.amazon.com/elasticache/home#client-download>:",
"CacheNodeType": "cache.t3.micro",
"Engine": "redis",
"EngineVersion": "6.2.6",
"CacheClusterStatus": "creating",
"NumCacheNodes": 1,
"PreferredAvailabilityZone": "us-west-2a",
"PreferredMaintenanceWindow": "thu:12:30-thu:13:30",
"PendingModifiedValues": {},
"CacheSecurityGroups": [],
"CacheParameterGroup": {
"CacheParameterGroupName": "default.redis6.x",
"ParameterApplyStatus": "in-sync",
"CacheNodeIdsToReboot": []
},
"CacheSubnetGroupName": "cachesubnets-69a1cf9",
"AutoMinorVersionUpgrade": true,
"ReplicationGroupId": "lbriggs-single",
"SnapshotRetentionLimit": 1,
"SnapshotWindow": "07:00-08:00",
"AuthTokenEnabled": true,
"AuthTokenLastModifiedDate": "2022-07-18T15:37:48.651000+00:00",
"TransitEncryptionEnabled": true,
"AtRestEncryptionEnabled": true,
"ARN": "arn:aws:elasticache:us-west-2:616138583583:cluster:lbriggs-single-001",
"ReplicationGroupLogDeliveryEnabled": false,
"LogDeliveryConfigurations": []
}
]
}
You can see behind the scenes it’s still created a replication group (see second screenshot) - so you just need to define your settings theregray-translator-86978
07/18/2022, 3:44 PMgray-translator-86978
07/18/2022, 3:46 PMbillowy-army-68599
aws elasticache describe-cache-clusters
gray-translator-86978
07/18/2022, 3:50 PMbillowy-army-68599
ARN
in the third column?billowy-army-68599
billowy-army-68599
billowy-army-68599
gray-translator-86978
07/18/2022, 3:53 PMimport * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
import { ClusterArgs } from "@pulumi/aws/elasticache";
const config = new pulumi.Config();
const nodeType = "cache.t3.small";
const securityGroupIds = config.require(
"securityGroupIds"
) as unknown as string[];
const subnetGroupName = config.require("subnetGroupName");
const params: ClusterArgs = {
engine: "redis",
nodeType,
numCacheNodes: 1,
parameterGroupName: "default.redis6.x",
securityGroupIds,
subnetGroupName,
};
new aws.elasticache.Cluster("example", params);
gray-translator-86978
07/18/2022, 3:56 PMbillowy-army-68599
gray-translator-86978
07/19/2022, 9:31 AM