hashicorp / terraform-provider-azurerm

Terraform provider for Azure Resource Manager
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs
Mozilla Public License 2.0
4.59k stars 4.63k forks source link

Support for Microsoft.Cache for Redis API v2023-04-01 #21973

Closed ajtiwari07 closed 1 year ago

ajtiwari07 commented 1 year ago

Is there an existing issue for this?

Community Note

Description

Please update terraform with latest API v2023-04-01 of Microsoft Azure Cache for Redis. Public Docs

New or Affected Resource(s)/Data Source(s)

azurerm_redis_cache

Potential Terraform Configuration

No response

References

https://learn.microsoft.com/en-us/rest/api/redis/redis/create?tabs=HTTP#redisconfiguration

aristosvo commented 1 year ago

@ajtiwari07 Thanks for filing this issue.

Can you explain/specify which functionalities or features this would enable?

ajtiwari07 commented 1 year ago

@aristosvo We have introduced a new storage-subscription-id parameter in redisConfiguration which allows to configure persistence and import/export on a storage account in different subscription but same region than the cache. image https://learn.microsoft.com/en-us/rest/api/redis/redis/import-data?tabs=HTTP https://learn.microsoft.com/en-us/rest/api/redis/redis/export-data?tabs=HTTP https://learn.microsoft.com/en-us/rest/api/redis/redis/create?tabs=HTTP

ajtiwari07 commented 1 year ago

@aristosvo @rcskosir Can you please provide an update ?

aristosvo commented 1 year ago

@ajtiwari07 Hi 👋

I'm just a community maintainer, so I cannot give you any predictions on when this will go in. It doesn't seem the most pressing issue for the users of azurerm, as there are no 👍s on this issue. But that is just my impression, feel free to enlighten me on things like deprecations of the existing APIs.

As far as I know these requests are usually channeled via an internal channel and prioritized between the MS and HashiCorp people working on this for a living, but I don't have any insight on the matter more than what is publicly visible.

@rcskosir might know it a bit better indeed.

catriona-m commented 1 year ago

Hi @ajtiwari07. I am currently working on upgrading this. In order for us to generate the sdk it seems a workaround is required (see: https://github.com/hashicorp/pandora/pull/2686). It looks like a PR has been opened on the azure-rest-api-specs repo to resolve this (https://github.com/Azure/azure-rest-api-specs/pull/22407) - it would be good if that fix could be included in the next API version?

ajtiwari07 commented 1 year ago

@catriona-m I am not familiar with this change. Is the sdk release with new api version blocked until this workaround is also applied to v2023-04-01 ?

github-actions[bot] commented 5 months ago

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.