Jan Plaček
03/11/2022, 6:01 PMpath: 'api'
on gateway) and not suprisingly it fails with:
jplacek-talsec-talsec | CREATE_FAILED | AWS:Route53:RecordSet | WebAliasRecord22320298 | [Tried to create resource record set [name='xxx.xxx.', type='A'] but it already exists]
Is this somehow (easily) achievable with SST?Carlos Daniel
03/11/2022, 6:05 PM<http://example.com|example.com> - site
<http://api.example.com|api.example.com> - api
I think that’d solve your problemJan Plaček
03/11/2022, 6:09 PMCarlos Daniel
03/11/2022, 6:10 PMJan Plaček
03/11/2022, 6:50 PMcfDistribution: {
additionalBehaviors: {
'/api/*': {
origin: new HttpOrigin(api.url),
},
}
},
Am I on the right track?Jan Plaček
03/11/2022, 8:06 PMhttps
from api.url
, because it's a token (not avaiable at build time).Jan Plaček
03/12/2022, 8:24 AMFn.parseDomainName(api.httpApi.apiEndpoint)
Frank
Fn.parseDomainName(api.httpApi.apiEndpoint)
work?Frank
Fn.split
, but didn’t know about Fn.arseDomainName
😂Jan Plaček
03/17/2022, 9:42 AM