Adrián Mouly
10/12/2021, 9:09 PMStaticSite
for one site, and ReactSite
for other site… now.. both sites must be connected from a link, so what I do is expose an env-var on each of them, to receive the “deployment URL” of where those got deployed.
Now the problem is… BOTH sites has to be connected.. and each of them belongs to different stacks… how should I share information between inter-dependent stacks?
Today I have… Website2Stack
-> depends on Website1Stack
… that way the first stack can access the URL defined in the second. But now I need to do the opposite too.thdxr
10/12/2021, 9:32 PMAdrián Mouly
10/12/2021, 9:32 PMAdrián Mouly
10/12/2021, 9:32 PMAdrián Mouly
10/12/2021, 9:33 PM<http://mycompany.com|mycompany.com>
<http://account.mycompany.com|account.mycompany.com>
Adrián Mouly
10/12/2021, 9:33 PMthdxr
10/12/2021, 9:33 PMthdxr
10/12/2021, 9:33 PMconst Website1Domains = {
production: "...",
staging: "...",
}
Adrián Mouly
10/12/2021, 9:34 PMAdrián Mouly
10/12/2021, 9:34 PMAdrián Mouly
10/12/2021, 9:34 PMAdrián Mouly
10/12/2021, 9:34 PMAdrián Mouly
10/12/2021, 9:34 PMthdxr
10/12/2021, 9:34 PMthdxr
10/12/2021, 9:34 PMAdrián Mouly
10/12/2021, 9:35 PMAdrián Mouly
10/12/2021, 9:35 PMAdrián Mouly
10/12/2021, 9:35 PMFrank
Adrián Mouly
10/13/2021, 2:03 AMAdrián Mouly
10/13/2021, 2:04 AMAdrián Mouly
10/13/2021, 2:04 AMAdrián Mouly
10/13/2021, 2:04 AMcustomDomainUrl()
.Frank
Adrián Mouly
10/13/2021, 12:48 PMFrank
Frank
Frank
ssm.StringParameter.valueForStringParameter()
to StaticSite environment.Adrián Mouly
10/13/2021, 5:31 PMAdrián Mouly
10/13/2021, 5:31 PMthdxr
10/13/2021, 5:41 PMssm.StringParameter.valueForStringParameter()
actually resolves at build timethdxr
10/13/2021, 5:42 PMAdrián Mouly
10/13/2021, 8:07 PM