Implement a Redis Cache private endpoint
Infrastructure Submissions:
- [YES] Have you added an explanation of what your changes do and why you'd like us to include them?
- [YES] I have updated the documentation accordingly.
- [NA] I have added tests to cover my changes.
- [NA] All new and existing tests passed.
- [NO] I have formatted the terraform code. (
terraform fmt -recursive && go fmt ./...
)
Current Behavior or Linked Issues
The changes made in this MR is related to creating an Azure Cache for Redis private endpoint. There is a feature flag TF_VAR_redis_private_endpoint_enabled
for choosing whether to deploy Redis with private endpoint or not. Also, there is an ability to choose between public or private access level (TF_VAR_redis_public_network_access) for Redis instance. The changes in diagnostics.tf were made with aim to be able to see the list of connected clients to Redis Cache.
Does this introduce a breaking change?
- [NO]
MR Guildelines
-
Paste TF Plan for the MR. -
Pre-Merge pipeline should be run before merging. (Azure team) -
Does the module exists for new resource. -
Is there a new variable added in the MR. (Don’t use library variables and use locals)