From 361b498254218d127de8828c9dcc17316e968fd1 Mon Sep 17 00:00:00 2001 From: Richard Nixon Date: Tue, 2 Feb 2021 09:21:59 +0000 Subject: [PATCH] Expose `transitEncryptionMode` attribute for `google_redis_instance` As requested in https://github.com/inspec/inspec-gcp/issues/305 Adding an Enum for transitEncryptionMode on google_redis_instance. Impact on Terraform has not been tested... is it more appropriate to do this in the inspec.yaml to avoid unexpected problems with existing terraform plans? Signed-off-by: Richard Nixon --- mmv1/products/redis/api.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/mmv1/products/redis/api.yaml b/mmv1/products/redis/api.yaml index 0048baaf714d..3c70bfbc11df 100644 --- a/mmv1/products/redis/api.yaml +++ b/mmv1/products/redis/api.yaml @@ -190,3 +190,18 @@ objects: - :STANDARD_HA default_value: :BASIC input: true + - !ruby/object:Api::Type::Enum + name: transitEncryptionMode + description: | + The TLS encryption mode of the Redis instance. Must be one of: + + - TRANSIT_ENCRYPTION_MODE_UNSPECIFIED + - SERVER_AUTHENTICATION + - DISABLED + values: + - :TRANSIT_ENCRYPTION_MODE_UNSPECIFIED + - :SERVER_AUTHENTICATION + - :DISABLED + default_value: :SERVER_AUTHENTICATION + input: true +