up icon indicating copy to clipboard operation
up copied to clipboard

Same domain for multiple apps?

Open Mobilpadde opened this issue 6 years ago • 6 comments

Prerequisites

  • [x] I am running the latest version. (up upgrade)
  • [x] I searched to see if the issue already exists.
  • [x] I inspected the verbose debug output with the -v, --verbose flag.
  • [ ] Are you an Up Pro subscriber?

Description

I'd like to use the same domain for multiple apps, just different paths. Hope this is possible :+1:

I'm getting this error,

ApiDomainProduction: beta.example.co already exists in stack arn:aws:cloudformation:eu-north-1:-1:stack/dashboard/398f7f00-fed7-11e9-68b8-06cb12623298

Steps to Reproduce

Have at least two apps like

{
  "name": "app",
  "stages": {
    "beta": {
      "domain": "beta.example.co",
      "zone": "beta.example.co",
      "path": "/app"
    }
  }
}

and

{
  "name": "api",
  "stages": {
    "beta": {
      "domain": "beta.example.co",
      "zone": "beta.example.co",
      "path": "/api"
    }
  }
}

And so forth. Then run up stack plan -v & up stack apply -v - even thought the verbose-flag doesn't work for apply :thinking:

Love Up?

Yes! Definitely, it's super awesome. Just need to know how to do this, and then I'll - hopefully - be able to purchase pro :cupid:

Mobilpadde avatar Nov 04 '19 12:11 Mobilpadde

It's not possible at the moment but I think it shouldn't be a huge change, I'll to look into this soon!

tj avatar Nov 04 '19 12:11 tj

Okay. So, only sub-domains work? :dancer:

Mobilpadde avatar Nov 04 '19 12:11 Mobilpadde

Kinda yeah, the path works but only for one app haha, which I know is not super helpful.

tj avatar Nov 05 '19 16:11 tj

Haha, weird :1st_place_medal: Do you know when you'll get to the fix? :dancer:

Mobilpadde avatar Nov 05 '19 20:11 Mobilpadde

Hard to say, I can only prioritize work for Pro subscribers since I've got so much going on! But hopefully in the next few weeks

tj avatar Nov 10 '19 11:11 tj

Ah, that's totally understandable! :D

Mobilpadde avatar Nov 10 '19 15:11 Mobilpadde