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

This Terraform module is designed to create Azure Storage Accounts and its related resources, including blob containers, queues, tables, and file shares. It also supports the creation of a storage account private endpoint which provides secure and direct connectivity to Azure Storage over a private network.
https://registry.terraform.io/modules/Azure/avm-res-storage-storageaccount
MIT License
19 stars 27 forks source link

Update is not supported in azapi_resource. Code base is broken #85

Closed bryansan-msft closed 3 months ago

bryansan-msft commented 4 months ago

Is there an existing issue for this?

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

chinthakaru commented 4 months ago

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

kewalaka commented 4 months ago

duplicate of #78

chinthakaru commented 3 months ago

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

kewalaka commented 3 months ago

@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.

chinthakaru commented 3 months ago

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