gmichels / terraform-provider-adguard

Terraform provider for AdGuard
https://registry.terraform.io/providers/gmichels/adguard/latest/docs
MIT License
9 stars 4 forks source link

Errors on `adguard_client` and `adguard_config` when already existing in state #85

Closed gmichels closed 6 months ago

gmichels commented 6 months ago

If running provider version 1.1.0 on an existing state with adguard_client and/or adguard_config, plan fails with:

An unexpected error was encountered while verifying an attribute value matched its expected type to prevent
│ unexpected behavior or panics. This is always an error in the provider. Please report the following to the
│ provider developer:
│
│ Expected framework type from provider logic:
│ types.ObjectType["fri":types.ObjectType["end":basetypes.StringType, "start":basetypes.StringType],
│ "mon":types.ObjectType["end":basetypes.StringType, "start":basetypes.StringType],
│ "sat":types.ObjectType["end":basetypes.StringType, "start":basetypes.StringType],
│ "sun":types.ObjectType["end":basetypes.StringType, "start":basetypes.StringType],
│ "thu":types.ObjectType["end":basetypes.StringType, "start":basetypes.StringType],
│ "time_zone":basetypes.StringType, "tue":types.ObjectType["end":basetypes.StringType,
│ "start":basetypes.StringType], "wed":types.ObjectType["end":basetypes.StringType,
│ "start":basetypes.StringType]] / underlying type: tftypes.Object["fri":tftypes.Object["end":tftypes.String,
│ "start":tftypes.String], "mon":tftypes.Object["end":tftypes.String, "start":tftypes.String],
│ "sat":tftypes.Object["end":tftypes.String, "start":tftypes.String], "sun":tftypes.Object["end":tftypes.String,
│ "start":tftypes.String], "thu":tftypes.Object["end":tftypes.String, "start":tftypes.String],
│ "time_zone":tftypes.String, "tue":tftypes.Object["end":tftypes.String, "start":tftypes.String],
│ "wed":tftypes.Object["end":tftypes.String, "start":tftypes.String]]
│ Received framework type from provider logic: types.ObjectType[] / underlying type: tftypes.Object[]
│ Path: blocked_services_pause_schedule