Skip to content

Commit 23d67a6

Browse files
authored
feat(cdk): expose LW_PROFILE to components (#1430)
Signed-off-by: Salim Afiune Maya <[email protected]>
1 parent f44bf6f commit 23d67a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cli/cmd/cdk.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ const defaultGrpcPort int = 1123
3535
// envs are all the environment variables passed to CDK components
3636
func (c *cliState) envs() []string {
3737
return []string{
38+
fmt.Sprintf("LW_PROFILE=%s", c.Profile),
3839
fmt.Sprintf("LW_ACCOUNT=%s", c.Account),
3940
fmt.Sprintf("LW_SUBACCOUNT=%s", c.Subaccount),
4041
fmt.Sprintf("LW_API_KEY=%s", c.KeyID),

0 commit comments

Comments
 (0)