Azure/terraform-azurerm-avm-res-storage-storageaccount

Update is not supported in azapi_resource. Code base is broken

bryansan-msft opened this issue · 5 comments

Is there an existing issue for this?

  • I have searched the existing issues

Greenfield/Brownfield provisioning

greenfield

Terraform Version

1.7.5

Module Version

code base in this repository

AzureRM Provider Version

for azapi 1.12.0 and 1.13.1

Affected Resource(s)/Data Source(s)

azapi_resource

Terraform Configuration Files

As I mentioned in the title. Code base is broken. Any of your examples cant run

tfvars variables values

Nothing at all

Debug Output/Panic Output

PS C:\Workspace\terraform-azurerm-avm-res-storage-storageaccount\examples\default> terraform apply -auto-approve
╷
│ Error: Unsupported argument
│
│   on ..\..\main.containers.tf line 21, in resource "azapi_resource" "containers":
│   21:       update = timeouts.value.update
│
│ An argument named "update" is not expected here.

Expected Behaviour

Terraform should just run

Actual Behaviour

Error as update parameter is not supported in this resources

Steps to Reproduce

just terraform apply

Important Factoids

Nothing at all

References

Nothing at all

@bryansan-msft thanks for reaching out. there was a change on Azapi_resource v1.13. Let me get back to you asap.

duplicate of #78

Sorry for the delayed update; we have temporarily removed the update argument until it becomes available in a future release.

@chinthakaru are you planning to make a release as well? I've been working off my forked dev version for a while, be good to get back to upstream.

@bryansan-msft Removed the Update Argument and code is working again.