-
Notifications
You must be signed in to change notification settings - Fork 622
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
feat(pulumi-aws): deploy environment variant #4501
Conversation
cb6d172
to
8694dea
Compare
8694dea
to
61bea26
Compare
@@ -4,6 +4,8 @@ import { CliContext, ProjectApplication } from "@webiny/cli/types"; | |||
export interface CallableParams { | |||
inputs: Record<string, any>; | |||
env: string; | |||
// TODO put to optional |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this for later or should this be done now?
@@ -9,6 +9,8 @@ export function getStackOutput<TStackOutput = Record<string, unknown>>( | |||
export function getStackOutput<TStackOutput = Record<string, any>>(options: { | |||
folder: string; | |||
env: string; | |||
// TODO put to optional |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another TODO here.
@@ -30,6 +30,7 @@ export default { | |||
getStackOutput({ | |||
folder: "project-applications-path/api", | |||
env: options.env, | |||
variant: options.variant, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably just delete this whole package. :D
Maybe we can discuss this with Pavel.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can also delete this. Let's check with @Pavel910 .
@@ -19,7 +19,11 @@ export type PulumiProgram<TApp = PulumiApp, TResources = Record<string, any>> = | |||
) => TResources | Promise<TResources>; | |||
|
|||
export type CreateConfig = Record<string, any>; | |||
export type RunConfig = Record<string, any>; | |||
// TODO bring back Record<string, any> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is for later?
Changes
This PR will pass the --variant variable into all methods that rely on it to produce a correct Pulumi response.
How Has This Been Tested?
Manually.