I noticed a difference between the resource inputs listed in the readme here and the scheme listed in the terraform registry.
The required schema api_object is listed, whereas the resource block in the readme is address_api_object.
When running terraform plan with address_api_object, it errors with "The argument 'api_object' is required, but no definition was found." and "An argument named 'address_api_object' is not expected here."
When running terraform plan then apply with api_object, it errors at apply with a Value Conversion Error in dominos_order.order stating
"An unexpected error was encountered trying to convert tftypes.Value into provider.resourceOrderData. This is always an error in the provider. Please report the following to the provider developer:
mismatch between struct and object: Struct defines fields not found in object: address_api_object. Object defines fields not found in struct: api_object."
Hello,
I noticed a difference between the resource inputs listed in the readme here and the scheme listed in the terraform registry.
The required schema
api_object
is listed, whereas the resource block in the readme is address_api_object.When running
terraform plan
with address_api_object, it errors with "The argument 'api_object' is required, but no definition was found." and "An argument named 'address_api_object' is not expected here."When running
terraform plan
thenapply
with api_object, it errors atapply
with a Value Conversion Error indominos_order.order
statingAny help appreciated.