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
21 stars 33 forks source link

The body property of the azapi resource must be string #145

Closed thenewnano closed 2 months ago

thenewnano commented 2 months ago

Is there an existing issue for this?

Greenfield/Brownfield provisioning

brownfield

Terraform Version

1.9.4

Module Version

0.2.2

AzureRM Provider Version

3.115.0

Affected Resource(s)/Data Source(s)

azapi_resource

Terraform Configuration Files

-

tfvars variables values

-

Debug Output/Panic Output

-

Expected Behaviour

Not see that error

Actual Behaviour

The minimum version of azapi provider is set to 0.9.0 is not compatible with current code, 0.14.0 works fine, You need to use jsonencode() for body if working with 0.9.0 or bump the version

Steps to Reproduce

instead pf >= use = for the version of Azure/azapi

Important Factoids

No response

References

No response

chinthakaru commented 2 months ago

@thenewnano, thank you for the validation. All the necessary changes have been made.