https://pulumi.com logo
#getting-started
Title
# getting-started
g

gray-chef-51307

08/17/2023, 1:17 AM
Howdy. I have a bit of a n00b question. I'm creating a AWS Elasticache Redis cluster (cluster mode off) but it appears the flag for transitEncryptionEnabled isn't available. I'm writing in Typescript using pulumi v3.74.0. Is this an unsupported feature or am I just missing something here? Pulumi AI tells me I should be able to enable that but 🤷‍♂️
b

billowy-army-68599

08/17/2023, 1:04 PM
transit encrytpion is only available for clustered elasticache, ie replication groups enabled. See the docs here: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/in-transit-encryption.html
g

gray-chef-51307

08/17/2023, 2:05 PM
Ah, that makes a little sense I guess. Still seems like it should be in the main resource and not in the additional resource
b

billowy-army-68599

08/17/2023, 2:07 PM
can you explain what you meant by that?
g

gray-chef-51307

08/17/2023, 2:12 PM
Sure, in pulumi you create a cluster resource and you can create a replicationGroup resource. But in AWS you can just create them as a single resource. Seems like making them separately is a bit confusing, to me at least
or do you just create the Replication Group resource and not the cluster resource?
Trying to make sure I understand what I'm doing as this is my first time using Pulumi for redis
b

billowy-army-68599

08/17/2023, 2:14 PM
But in AWS you can just create them as a single resource
when you say in AWS, you mean in the console?
g

gray-chef-51307

08/17/2023, 2:14 PM
yes.
b

billowy-army-68599

08/17/2023, 2:15 PM
the console abstracts away elements of the API in a way that eases these things, the pulumi provider just maps the API
if you actually inspect the browser request, it calls the API for you
g

gray-chef-51307

08/17/2023, 2:16 PM
Ah, I think I understand
I appreciate you taking time to explain. Thank you.
b

billowy-army-68599

08/17/2023, 2:24 PM
happy to! if I can help lmkj