I'm kinda at a loss for importing an AWS DMS endpo...
# general
w
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
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.