You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you for creating this fantastic provider. It has come in handy for managing proxy configurations for my homelab.
However, I've recently ran into an issue with location object when using dynamic blocks
╷
│ Error: Value Conversion Error
│
│ with nginxproxymanager_proxy_host.record,
│ on main.tf line 30, in resource "nginxproxymanager_proxy_host" "record":
│ 30: resource "nginxproxymanager_proxy_host" "record" {
│
│ An unexpected error was encountered trying to build a value. This is always an error in the provider. Please report the following to the provider developer:
│
│ Received unknown value, however the target type cannot handle unknown values. Use the corresponding `types` package type or a custom type that handles unknown values.
│
│ Path: location
│ Target Type: []*models.ProxyHostLocation
│ Suggested Type: basetypes.ListValue
╵
Oddly, this seems to be only an issue if I use the reference from the resources for_each loop. If I were to hardcode the map directly at the for_each within the dynamic block; it works as expected.
First of all, thank you for creating this fantastic provider. It has come in handy for managing proxy configurations for my homelab.
However, I've recently ran into an issue with
location
object when using dynamic blocksOddly, this seems to be only an issue if I use the reference from the resources
for_each
loop. If I were to hardcode the map directly at thefor_each
within thedynamic
block; it works as expected.The text was updated successfully, but these errors were encountered: