score-compose icon indicating copy to clipboard operation
score-compose copied to clipboard

`service` resource type not supported

Open mathieu-benoit opened this issue 10 months ago • 5 comments

I have this score.file:

apiVersion: score.dev/v1b1
metadata:
  name: store-front
containers:
  store-front:
    image: .
    variables:
      VUE_APP_ORDER_SERVICE_URL: "http://${resources.order-service.name}:3000/"
resources:
  order-service:
    type: service

But I'm getting this error while running score-compose generate:

Error: failed to provision: resource 'service.default#store-front.order-service' is not supported by any provisioner

I understand that service-port has been supported only for score-compose? But how to make sure that I have the same Score file compatible with score-compose and Humanitec?

mathieu-benoit avatar Apr 19 '24 21:04 mathieu-benoit