-
Notifications
You must be signed in to change notification settings - Fork 267
Open
Description
Hi @lancedikson @cyn-rus ,
You cannot import by
namedirectly for the server?terraform import postgresql_server.warehouse_server serverFor the user mapping it should be with:
terraform import postgresql_user_mapping.warehouse_server_dashboard dashboard.serverI'll add this to the documentation, meanwhile I close this issue but don't hesitate to open it back if the import doesn't work
Originally posted by @cyrilgdn in #329
as the OP for #329 stated import attempts result in
Error: Cannot import non-existent remote object
along with the logging statement
[WARN] PostgreSQL foreign server () not found
for imports, serverName seem to be an empty string here:
| serverName := d.Get(serverNameAttr).(string) |
something like this instead seems to allow imports correctly
serverName := d.Id()
Metadata
Metadata
Assignees
Labels
No labels