-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for "preferred_data_persistence_auth_method" in Azure Redis Cache Configuration #24317
Comments
Thank you for taking the time to open this feature request! |
…zurerm_redis_cache resource
Do we know when this will come to provider? |
…ata_persistence_authentication_method as per review
…dis_cache resource (#24370) * #24317: Support preferred_data_persistence_auth_method for azurerm_redis_cache resource * #24317: Changes as per review comments * #24317: Fix tests * #24317: renaming preferred_data_persistence_auth_method to data_persistence_authentication_method as per review * #24317: Fix azurerm_redis_cache data source
@catriona-m When we are enabling MI for connection to SA in Portal , in ARM tamplate the parameter "rdb-sttorage-connection-string" contains only storage account endpoint address instead of whole connection string. Will it also be modified in new version? now I got message "unexpected status 400 with error: InvalidRequestBody: The value of the parameter 'properties.redisConfiguration.rdb-storage-connection-string' is invalid." |
…zurerm_redis_cache resource (hashicorp#24370) * hashicorp#24317: Support preferred_data_persistence_auth_method for azurerm_redis_cache resource * hashicorp#24317: Changes as per review comments * hashicorp#24317: Fix tests * hashicorp#24317: renaming preferred_data_persistence_auth_method to data_persistence_authentication_method as per review * hashicorp#24317: Fix azurerm_redis_cache data source
…zurerm_redis_cache resource (hashicorp#24370) * hashicorp#24317: Support preferred_data_persistence_auth_method for azurerm_redis_cache resource * hashicorp#24317: Changes as per review comments * hashicorp#24317: Fix tests * hashicorp#24317: renaming preferred_data_persistence_auth_method to data_persistence_authentication_method as per review * hashicorp#24317: Fix azurerm_redis_cache data source
To users having the error "unexpected status 400 with error: InvalidRequestBody: The value of the parameter 'properties.redisConfiguration.rdb-storage-connection-string' is invalid." (@MichalSino, maybe this will help): Warning As the documentation was suggesting, my team had an Because of By removing Hope this helps and if this is a problem for a lot of users it could be great to amend the patch note or communicate in some way about that. See also (unrelated issue but person having the same problem) Have a good day. |
No, we don't need to do that. We can put blob endpoi t instead of connection string and it works. Tested on azurerm 3.94. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Is there an existing issue for this?
Community Note
Description
Hello Terraform Provider Team,
I am currently utilizing the Terraform AzureRM provider to manage Azure Redis Cache resources. I've come across a limitation that I believe could benefit from enhancement. Specifically, I am looking to set the
preferred-data-persistence-auth-method
tomanagedIdentity
for a more streamlined and secure management of my Redis Cache instances.(Microsoft document)
Issue Description:
The current Terraform AzureRM provider does not seem to support configuring the
preferred-data-persistence-auth-method
for Azure Redis Cache. This setting is crucial for scenarios where enhanced security and automated identity management are required, especially in production environments.Suggested Feature:
I propose the addition of support for the
preferred_data_persistence_auth_method
attribute within theazurerm_redis_cache
resource. Ideally, this would allow users to specify the persistence method directly in the Terraform configuration, enhancing the capabilities and security compliance of Terraform-managed Redis instances.Use Case:
In my use case, setting the
preferred-data-persistence-auth-method
tomanagedIdentity
is critical for maintaining compliance and automating identity management. Without this feature, manual intervention or additional scripting is required, reducing the effectiveness and benefits of infrastructure as code.New or Affected Resource(s)/Data Source(s)
azurerm_redis_cache
Potential Terraform Configuration
No response
References
No response
The text was updated successfully, but these errors were encountered: