You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
When developing automation pipelines (CI/CD) we would like to be able to deliver the credentials (access keys) to the rest of the integrated apps and services in our deployment.
The REST API provides support for this, and the other tiers of Azure Cache for Redis also support this in the Terraform provider.
#No changes needed in resource creationresource"azurerm_redis_enterprise_database""redisgeek" {
name="default"resource_group_name=azurerm_resource_group.redisgeek.namecluster_id=azurerm_redis_enterprise_cluster.redisgeek.idclustering_policy=var.azure_redis_enterprise_database_clustering_policymodule {
name="RediSearch"
}
}
## Expect to have the keys available in the outputsdata"azurerm_redis_enterprise_database""redisgeek" {
name="default"cluster_id=azurerm_redis_enterprise_cluster.redisgeek.idresource_group_name=azurerm_resource_group.redisgeek.name
}
output"instance_primary_key" {
value=data.azurerm_redis_enterprise_database.redisgeek.primary_access_keysensitive=truedescription="The Default DB primary key."
}
output"instance_secondary_key" {
value=azurerm_redis_enterprise_database.redisgeek.secondary_access_keysensitive=truedescription="The Default DB secondary key."
}
References
#0000
The text was updated successfully, but these errors were encountered:
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.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Community Note
Description
When developing automation pipelines (CI/CD) we would like to be able to deliver the credentials (access keys) to the rest of the integrated apps and services in our deployment.
The REST API provides support for this, and the other tiers of Azure Cache for Redis also support this in the Terraform provider.
Azure Cache for Redis - RedisEnterprise API
New or Affected Resource(s)
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: