magnificent-soccer-44287
05/13/2024, 8:53 PMmagnificent-soccer-44287
05/13/2024, 8:53 PMimports:
- pmb-main-base
values:
pulumiConfig:
mainAppArgs:
FEATURE_OVERRIDE_ONLY_EMAIL_SIGNUPS: true
FEATURE_OVERRIDE_ROOT_REDIRECT: "browse-our-brains"
TEXT_OVERRIDE_WEBSITE_TITLE: "IWF"
TAG_OVERRIDE_I_AM_AVAILABLE_FOR_CSV_LIST: "Networking,Mentoring"
TAG_OVERRIDE_AREAS_OF_EXPERTISE_CSV_LIST: "Leadership Coaching"
TEXT_OVERRIDE_MARKETPLACE_BANNER_TITLE: "International Women's Forum Canada Executive Mentor Marketplace"
TEXT_OVERRIDE_MARKETPLACE_BANNER_SUBTEXT: "Members of the International Women's Forum, Canada who are open and available to support leadership development through mentoring."
DEVOPS_OVERRIDE_SUPPRESS_GOLIVE_NOTIFICATIONS: true
TEXT_OVERRIDE_TOPNAV_BECOME_BRAIN: "Become a Mentor"
TEXT_OVERRIDE_TOPNAV_MEET_BRAINS: "Meet the Mentors"
TEXT_OVERRIDE_MARKETPLACE_BANNER_PEOPLE_BUTTON: "Browse Mentors"
TEXT_OVERRIDE_BROWSE_BRAINS_SEARCH_HEADER: "Recommended Mentors"
HIDE_BROWSE_BRAIN_FILTERS_CSV_LIST: "communities,bookings,length,language,secondary"
HIDE_BROWSE_OFFER_FILTERS_CSV_LIST: "communities,bookings,length,language,secondary"
HIDE_ADMIN_MENUS_CSV_LIST: "volition,commission,fin_reports,currency,subscription,emails"
magnificent-soccer-44287
05/13/2024, 8:54 PMmagnificent-soccer-44287
05/13/2024, 8:54 PMmagnificent-soccer-44287
05/13/2024, 8:57 PMconst sanitizedEscAppConfig = Object.entries(mainAppConfig).map(([key, value]) => {
return { [key]: typeof value === 'string' ? value : String(value) };
}).reduce((acc, curr) => ({ ...acc, ...curr }), {}) as SanitizedEscAppConfig;
const sanitizedInfraAppConfig = Object.entries(infraAppConfig).map(([key, value]) => {
return { [key]: value }; // Direct, non-typed mapping
}).reduce((acc, curr) => ({ ...acc, ...curr }), {}) as SanitizedEscInfraConfig;
export const getSanitizedEscAppConfig = () => sanitizedEscAppConfig;
export const getFargateEnvironment = (runtimeAppConfig: PulumiManagedAppConfig) => {
const sanitizedEscAppConfig = getSanitizedEscAppConfig();
return Object.keys({
...sanitizedEscAppConfig,
...runtimeAppConfig
}).map(configKey => {
return { name: configKey, value: ({ ...sanitizedEscAppConfig, ...runtimeAppConfig } as AppRuntimeConfig)[configKey] as string }
}).reduce((accumulator, current) => {
accumulator.push(current);
return accumulator;
}, [] as FargateEnvironment);
}
red-match-15116
05/14/2024, 9:23 PMis causing this to not get stitched together properly with a different ESC-sourced JSON during the buildCan you say more about how this manifests? What doesn't get stitched properly? What si your result?
magnificent-soccer-44287
05/14/2024, 10:14 PMmagnificent-soccer-44287
05/14/2024, 10:15 PMred-match-15116
05/14/2024, 10:18 PMmagnificent-soccer-44287
05/14/2024, 10:20 PMred-match-15116
05/14/2024, 10:27 PMmagnificent-soccer-44287
05/14/2024, 10:53 PMred-match-15116
05/14/2024, 11:00 PMred-match-15116
05/14/2024, 11:00 PM