Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in usage of dataSource edgio_environments #14

Open
stboissdev opened this issue Nov 21, 2024 · 0 comments
Open

Error in usage of dataSource edgio_environments #14

stboissdev opened this issue Nov 21, 2024 · 0 comments

Comments

@stboissdev
Copy link

When I use datasource edgio_environments, I have the following error:

Planning failed. Terraform encountered an error while generating this plan.

╷
│ Error: Value Conversion Error
│ 
│   with data.edgio_environments.my_env,
│ An unexpected error was encountered trying to convert from struct into an object. This is always an error in the provider. Please report the following to the provider developer:
│ 
│ Mismatch between struct and object type: Struct defines fields not found in object: type, id, total_items, and items. Object defines fields not found in struct: item_count,
│ environments, and property_id.
│ Struct: models.EnvironmentsModel
│ Object type: types.ObjectType["environments":types.ListType[types.ObjectType["created_at":basetypes.StringType, "default_domain_name":basetypes.StringType,
│ "dns_domain_name":basetypes.StringType, "http_request_logging":basetypes.BoolType, "id":basetypes.StringType, "legacy_account_number":basetypes.StringType, "name":basetypes.StringType,
│ "only_maintainers_can_deploy":basetypes.BoolType, "pci_compliance":basetypes.BoolType, "property_id":basetypes.StringType, "updated_at":basetypes.StringType]],
│ "item_count":basetypes.Int32Type, "property_id":basetypes.StringType]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant