azapi_resource

The general-purpose everything* resource #

(*) almost everything

The azapi_resource resource is the core building block of the AzAPI provider. It allows you to create, update, and delete any Azure management-plane resource by specifying its type, name, location, and properties. The body argument is used to define the resource’s properties as a dynamic HCL object.

Almost everything? #

The reason for the almost everything asterisk above is that this resource does not cover:

  1. Data plane resources, see azapi_data_plane_resource.
  2. HTTP POST requests for triggering an action on a resource. E.g. start VM, list storage account keys, etc. See azapi_resource_action for that.
/creative-commons-icons/cc.jpg /creative-commons-icons/by.jpg /creative-commons-icons/nc.jpg /creative-commons-icons/sa.jpg Content licensed under CC BY NC SA 4.0 unless noted otherwise.