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

Add additional datastore import test #85

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stuart-mclaren-hpe
Copy link
Contributor

@stuart-mclaren-hpe stuart-mclaren-hpe commented Jan 17, 2025

Make sure the user gets a helpful error if they only provide a single ID when running import.

$ terraform import hpegl_pc_datastore.my_datastore badID
Error: import has invalid datastore id format

Provided import ID "badID" is invalid. Format
must be "<hci_cluster_uuid>,<datastore_id>". For example:
f8d3e2fd-a0e0-41a3-83b3-a8f92b21a9f3,e8beff7c-6fc8-42f4-bb9f-8e2935d69918

Make sure the user gets a helpful error if they only
provide a single ID when running import.

```
$ terraform import hpegl_pc_datastore.my_datastore badID
Error: import has invalid datastore id format

Provided import ID "badID" is invalid. Format
must be "<hci_cluster_uuid>,<datastore_id>". For example:
f8d3e2fd-a0e0-41a3-83b3-a8f92b21a9f3,e8beff7c-6fc8-42f4-bb9f-8e2935d69918
```
@stuart-mclaren-hpe stuart-mclaren-hpe marked this pull request as ready for review January 17, 2025 11:04
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

Successfully merging this pull request may close these issues.

1 participant