-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Quesstion] Getting deployment-id or url after deploy as an output #354
Comments
Doesn't it already output the preview url? https://github.com/milliHQ/terraform-aws-next-js/blob/main/packages/tf-next/src/commands/deploy/deploy.ts#L110 |
Yes it is but I would like to take it and save into secrets in my CI/CD. I know that I could copy it manually but I need make deployment wit changing alias automatically. Based on documentation https://registry.terraform.io/modules/milliHQ/next-js/aws/1.0.0-canary.5. There isn't an output as url or deployment Id |
It seems the project is stale...it's a pity...not usable in the real world without getting a deployment id. |
Yeah Vercel poached our dear boy. I'd recommend using |
I made this construction:
In my case, tf-next deploy throws "HTTP://1234141124(some_id)123141234undefined" instead of URL. That's why I used regex '(?<=//)(.*?)(?=undefined)' |
I'm going to use
tf-next
into Github Action CI/CD and based on README in order to switch alias I need to havedaployment-id
orurl
to deployed app. Is there any way to get it as an output from commandtf-next deploy
?The text was updated successfully, but these errors were encountered: