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
minio_ilm_tier.s3: Importing from ID "IA_COLD_STORAGE"...
minio_ilm_tier.s3: Import prepared!
Prepared minio_ilm_tier for import
minio_ilm_tier.s3: Refreshing state... [id=IA_COLD_STORAGE]
╷
│ Error: Cannot import non-existent remote object
│
│ While attempting to import an existing object to "minio_ilm_tier.s3", the
│ provider detected that no object exists with the given id. Only
│ pre-existing objects can be imported; check that the id is correct and that
│ it is associated with the provider's configured region or endpoint, or use
│ "terraform apply" to create a new remote object for this resource.
╵
Reproduces how often: I haven't found a workaround :(
On read, id is set to tier name, but import doesn't like that for some reason:
Description
Import of
minio_ilm_tier
fails with resource not found, while resource id seems to be equal to tier name.Steps to Reproduce
IA_COLD_STORAGE
atlantis/terraform import -d ... -w .. 'minio_ilm_tier.s3' 'IA_COLD_STORAGE'
Expected behavior: Successful import
Actual behavior:
Reproduces how often: I haven't found a workaround :(
On read, id is set to tier name, but import doesn't like that for some reason:
https://github.com/aminueza/terraform-provider-minio/blob/main/minio/resource_minio_ilm_tier.go#L284
Versions
2.4.2
The text was updated successfully, but these errors were encountered: