Skip to content

Commit ba89624

Browse files
committed
chore: updating schema and go modules
1 parent 7ad6bfb commit ba89624

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/RedisLabs/terraform-provider-rediscloud
33
go 1.22.4
44

55
require (
6-
github.com/RedisLabs/rediscloud-go-api v0.29.0
6+
github.com/RedisLabs/rediscloud-go-api v0.30.0
77
github.com/bflad/tfproviderlint v0.31.0
88
github.com/hashicorp/go-cty v1.5.0
99
github.com/hashicorp/terraform-plugin-sdk/v2 v2.36.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migc
44
github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM=
55
github.com/ProtonMail/go-crypto v1.1.3 h1:nRBOetoydLeUb4nHajyO2bKqMLfWQ/ZPwkXqXxPxCFk=
66
github.com/ProtonMail/go-crypto v1.1.3/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE=
7-
github.com/RedisLabs/rediscloud-go-api v0.29.0 h1:XLVBMSgHwaaHFmf+TXrsU2veQ67J+e5Xrz54FggnwTY=
8-
github.com/RedisLabs/rediscloud-go-api v0.29.0/go.mod h1:3/oVb71rv2OstFRYEc65QCIbfwnJTgZeQhtPCcdHook=
7+
github.com/RedisLabs/rediscloud-go-api v0.30.0 h1:G5d3xaBNa1+nkQY9x7uAk1nV31y09k6qN1gq1ofWXYs=
8+
github.com/RedisLabs/rediscloud-go-api v0.30.0/go.mod h1:3/oVb71rv2OstFRYEc65QCIbfwnJTgZeQhtPCcdHook=
99
github.com/agext/levenshtein v1.2.2 h1:0S/Yg6LYmFJ5stwQeRp6EeOcCbj7xiqQSdNelsXvaqE=
1010
github.com/agext/levenshtein v1.2.2/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558=
1111
github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod h1:S/4uRK2UtaQttw1GenVJEynmyUenKwP++x/+DdGV/Ec=

provider/resource_rediscloud_pro_subscription.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,20 @@ func resourceRedisCloudProSubscription() *schema.Resource {
476476
},
477477
},
478478
},
479+
"cmek_enabled": {
480+
Description: "Whether to enable CMEK (customer managed encryption key) for the subscription. If this is true, then the subscription will be put in a pending state until you supply the CMEK. See documentation for further details on this process. Do not supply a creation plan if this set as true. Defaults to false.",
481+
Type: schema.TypeBool,
482+
Optional: true,
483+
ForceNew: true,
484+
Default: false,
485+
},
486+
"cmek_id": {
487+
Description: "ID of the CMEK (customer managed encryption key) used to encrypt the databases in this subscription. Ignored if `cmek_enabled` set to false. Supply after the database has been put into database pending state. See documentation for CMEK flow.",
488+
Type: schema.TypeString,
489+
Optional: true,
490+
ForceNew: true,
491+
Default: nil,
492+
},
479493
},
480494
}
481495
}

0 commit comments

Comments
 (0)