Skip to content

Commit 04a08b4

Browse files
committed
fix: re-add subscription_version functionality
1 parent 6293c64 commit 04a08b4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

provider/resource_rediscloud_pro_subscription.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,11 @@ func resourceRedisCloudProSubscriptionCreate(ctx context.Context, d *schema.Reso
606606
Databases: dbs,
607607
}
608608

609+
redisVersion := d.Get("redis_version").(string)
610+
if d.Get("redis_version").(string) != "" {
611+
createSubscriptionRequest.RedisVersion = redis.String(redisVersion)
612+
}
613+
609614
cmkEnabled := d.Get("customer_managed_key_enabled").(bool)
610615

611616
if cmkEnabled {

0 commit comments

Comments
 (0)