Slide 64
Slide 64 text
export const functions = new CosmosApp("urls", {
resourceGroup,
locations: ["WestEurope", "WestUS", "SouthEastAsia"],
factory: ({location, cosmosdb}) => {
const app = new azure.appservice.ArchiveFunctionApp("app", {
location,
archive: new pulumi.asset.FileArchive("./app"),
appSettings: {
COSMOSDB_ENDPOINT: cosmosdb.endpoint,
},
});
return { id: app.functionApp.id };
}});
Global Apps