https://pulumi.com logo
c

cool-egg-852

06/20/2019, 3:40 PM
Is there any way to make a static name for an elasticache cluster?
b

broad-dog-22463

06/20/2019, 3:41 PM
You mean without the auto naming of the resource?
c

cool-egg-852

06/20/2019, 3:41 PM
Yes
t

tall-librarian-49374

06/20/2019, 3:41 PM
Like this?
Copy code
new aws.elasticache.Cluster("cachecluster", {
    name: "cachecluster",
...
c

cool-egg-852

06/20/2019, 3:42 PM
I don’t see name as a property. Didn’t try to see if it would still work though.
Seems like clusterId may be what I’m looking for, unfortunately it seems like AWS has really low restrictions on the name.
b

broad-dog-22463

06/20/2019, 3:43 PM
@cool-egg-852 if that doesn’t work for you, can you open an issue on github under pulumi-aws and add me to the comment?
c

cool-egg-852

06/20/2019, 3:43 PM
Will do
b

broad-dog-22463

06/20/2019, 3:43 PM
👌
t

tall-librarian-49374

06/20/2019, 3:44 PM
@cool-egg-852 You are right, I was too quick...
c

cool-egg-852

06/20/2019, 3:45 PM
Seems like some validation logic needs work on elasticache at least.
numCacheNodes
seems to be required, but isn’t being required during the preview. Not sure if there is anything else.
b

broad-dog-22463

06/20/2019, 3:46 PM
Yeah anything you feel should be different there, add it to that issue and I can get that fixed up
Sorry for them in advance
c

cool-egg-852

06/20/2019, 3:48 PM
It’s no biggie