You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.
If you try to setup a service or web-service using an image from ECR, Terraform fails with errors:
variable "main" is nil, but no error was reported
The reason is because the name is derived from image, replacing / with -. This works for names like segmentio/pingdummy, but when the image is hosted on ECS the image comes in the format aws_account_id.dkr.ecr.region.amazonaws.com/my-web-app. Those dots in the URL cause Terraform to fail.
Current workaround: Just specify a name when defining your service.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If you try to setup a
service
orweb-service
using an image from ECR, Terraform fails with errors:The reason is because the
name
is derived fromimage
, replacing/
with-
. This works for names likesegmentio/pingdummy
, but when the image is hosted on ECS theimage
comes in the formataws_account_id.dkr.ecr.region.amazonaws.com/my-web-app
. Those dots in the URL cause Terraform to fail.Current workaround: Just specify a
name
when defining your service.The text was updated successfully, but these errors were encountered: