polite-napkin-90098
07/18/2023, 5:37 PMpulumi import --provider urn:pulumi:test-ecs-influxdb::infra-ecs-influxdb::pulumi:providers:aws-native::test-ecs-influxdb-nativeProvider -s test-ecs-influxdb aws:alb:ListenerRule test-influxdb arn:aws:elasticloadbalancing:us-east-1:####:listener-rule/app/Test/###/###
worked as expected but when I try to import the service with
pulumi import --provider urn:pulumi:test-ecs-influxdb::infra-ecs-influxdb::pulumi:providers:aws-native::test-ecs-influxdb-nativeProvider -s test-ecs-influxdb aws-native:ecs:Service influxdb Test/InfluxD
It gives me an error:
Diagnostics:
aws-native:ecs:Service (influxdb):
error: Preview failed: operation error CloudControl: GetResource, https response error StatusCode: 400, RequestID: ###, api error ValidationException: Identifier Test/InfluxDB is not valid for identifier [/properties/ServiceArn, /properties/Cluster]
I have tried some varitions on the theme using the arn and providing an array as the error seems to suggest but just get variations of the same error.
Can anyone point me in the right direction please?