https://pulumi.com logo
#general
Title
# general
w

wooden-tailor-35438

03/12/2024, 11:18 PM
I'm kinda at a loss for importing an AWS DMS endpoint, any ideas why this
Copy code
pulumi import aws:dms/endpoint:Endpoint mongo-production arn:aws:dms:us-east-1:XXXXXXXXXXX:endpoint:XXXXXXXXXXXXXXXXXXXXXXXXX
is returning the following error:
Copy code
InvalidParameterValueException: The parameter Filter: endpoint-id is not a valid identifier. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens.
Here is the documentation:
m

miniature-musician-31262

03/12/2024, 11:27 PM
Guessing you should be using the
endpoint_id
, like the (admittedly easy to miss) description says: https://www.pulumi.com/registry/packages/aws/api-docs/dms/endpoint/#state_endpoint_id_python
This is different from the ARN.