Skip to content

Discrepancy between api_object and address_api object #22

@sheelykyle

Description

@sheelykyle

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

Any help appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions