ENHANCEMENTS:
-
azapi
provider: Supportenable_hcl_output_for_data_source
field, which is used to enable the HCL output for the data source, the default value isfalse
.
This could resolve the following breaking changes in the previous release:azapi_resource
data source: Theoutput
field changes from JSON string to HCL object. Users can use access the fields in the output as an HCL object. Please remove thejsondecode
function when using theoutput
field.azapi_resource_list
data source: Theoutput
field changes from JSON string to HCL object. Users can use access the fields in the output as an HCL object. Please remove thejsondecode
function when using theoutput
field.
Please notice if you already upgraded to
v1.13.0
and removedjsondecode
function for theoutput
of data sources, when upgrade to thev1.13.1
release, you need to setenable_hcl_output_for_data_source = true
in theazapi
provider block to enable the HCL output for data sources.
BUG FIXES:
- Fix a bug when upgrading from previous provider
azapi_resource
resource will settags
andlocation
for resources that don't havetags
orlocation
in the configuration. - Fix a bug that
azapi_resource
resource cannot handle tags with unknown values. - Fix a bug that
null
string value can't pass the schema validation. - Fix a bug that required fields which have
null
value can't pass the schema validation. - Fix a bug that schema validation fails to validate the float number in the body.
- Fix a bug that client certificate authentication doesn't work.
- Fix a bug that auxiliary tenant ids are not passed to the client.
- Fix a bug that
azapi_resource_action
resource shows the plan diff when upgrading from the previous provider.