Closed stevendborrelli closed 2 years ago
[Edit]: never mind, I had an issue with my external-name
.
Working for me.
PR #173 may not have fixed the issue. In testing this morning I get:
Warning CannotObserveExternalResource 2m10s (x23 over 3m35s) managed/ecs.aws.jet.crossplane.io/v1alpha2, kind=service cannot run refresh: refresh failed: error reading ECS service: InvalidParameterException: Invalid identifier: Unexpected number of separators: : File name: main.tf.json
The service is not created in AWS.
In further testing, this was an issue caused by me trying a custom external name to get around the first issue. Once I let the provider set the external name it worked.
PR looks good!
What happened?
When creating an ECS service, the provider cannot set the external-name annotation.
It looks like it is omitting the cluster name from the external name:
How can we reproduce it?
What environment did it happen in?
Crossplane version: 1.6.2 Provider-jet-aws: 0.4.0