terraform-provider-azurerm
terraform-provider-azurerm copied to clipboard
`instance_memory_in_mb ` change in `azurerm_function_app_flex_consumption` does not get applied
Is there an existing issue for this?
- [x] I have searched the existing issues
Community Note
- Please vote on this issue by adding a :thumbsup: reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave comments along the lines of "+1", "me too" or "any updates", 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 and review the contribution guide to help.
Terraform Version
1.11.2
AzureRM Provider Version
4.30.0
Affected Resource(s)/Data Source(s)
azurerm_function_app_flex_consumption
Terraform Configuration Files
instance_memory_in_mb = '4096'
Debug Output/Panic Output
~ resource "azurerm_function_app_flex_consumption" "test-function" {
id = "/subscriptions/***/resourceGroups/testfunction/providers/Microsoft.Web/sites/testfunction"
~ instance_memory_in_mb = 2048 -> 4096
name = "testfunction"
tags = {
"environment" = "dev"
}
# (29 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
Expected Behaviour
Memory on the function app should change from 2048 to 4096 successfully
Actual Behaviour
Terraform completes successfully however the memory change does not actually get reflected in the function app flex consumption
Steps to Reproduce
- Set instance_memory_in_mb to 2048
- Run terraform apply to Create a new function app
- change instance_memory_in_mb to 4096
- run terraform apply to update existing function app
Important Factoids
No response
References
No response
I was able to reproduce this issue. The instance_memory_in_mb does not seeem to change the memory size of the app. @xiaxyi FYI.
Thanks @hemalshah-gradientedge , let me take a look
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.