This message was deleted.
# getting-started
s
This message was deleted.
w
It appears that 6.0 support is in preview (https://docs.microsoft.com/en-us/azure/azure-cache-for-redis/cache-overview#redis-versions) And, the ARM API (as described by the latest version of the ARM Template: https://docs.microsoft.com/en-us/azure/templates/microsoft.cache/redis?tabs=json) ) doesn't support a redis version property yet. So unfortunately, the azure-native provider which is based on the ARM API doesn't support it yet.
a
oh ok so for that reason I can't create a 6.0 version redis. Can I create that version for redis preview tho?
w
Not through the provider at this time since it doesn’t appear ARM preview even supports it yet.
That said I’ll check with engineering to see if I’m missing something
t
I believe it is supported: set the
redisVersion
property to
6
: https://www.pulumi.com/docs/reference/pkg/azure-native/cache/redis/#redisversion_nodejs
Correction: you need to import the version v20201201 explicitly to make use of this property
💯 1
e.g.
import * as cache from '@pulumi/azure-native/cache/v20201201
a
thank you so much, I'll try this out & keep you guys updated 🙂
it returns an error:
Error: Cannot find module '@pulumi/azure-native/cache/v20201201'
.
Here's my import statement:
const cache = require("@pulumi/azure-native/cache/v20201201");
and here's my implementation:
@tall-librarian-49374
t
a
my pulumi version is 3.2.1
I even tried with
v20200601
.but no luck 😞
t
I mean the provider version
a
not sure. please let me know if you can provide a sample code for this. we would like to have redis version 6 for our project.
t
the provider version
you can look this up by looking at which version of
@pulumi/azure-native
is used in your NPM lock file
a
looks like its 1.5.0