Closed zellio closed 3 years ago
Imports require IDs not handles.
It looks like you figured the issue. To document this for future users, we note that you have to use the ID in the import documentation. How to get that may be unclear, so here's the steps if needed:
https://dashboard.aptible.com/apps/<ID>/services
and should be all numbers.APTIBLE_OUTPUT_FORMAT=json aptible apps | jq '.[] | select(.handle=="test-app") | .id'
substituting the correct handle and assuming you have jq installed.I apologize for the delay in responding to your ticket!
When attempting to import an
aptible_app
resource the process fails with:Reproduction:
Pre-work:
Terraform code:
Execution:
Additional Notes: from TF_LOG=trace