Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.42 KB

File metadata and controls

24 lines (19 loc) · 1.42 KB

API Demo

This is a demo to deploy Azure resources with Pulumi. The intention of this repository is to learn, how to connect different Azure services together.

Infrastructure

There is a REST API entry point built with API Management that triggers an Azure Function. The Azure Function sends an event to Event Grid. Another Azure Function is subscribed to the Event Grid Topic and is triggered when an event is published.

┌───────────────┐
│ ApiManagement │
└───────┬───────┘
        │
        │
        ▼
 ┌────────────┐        ┌────────────┐       ┌───────────────────┐
 │ AzFunction │        │ Event Grid │       │ AzFunction        │
 │ HelloNode  ├───────►│   Topic    ├──────►│ EventGridTrigger1 │
 └────────────┘        └────────────┘       └───────────────────┘

Deployment

Make sure you have installed the Pulumi CLI and you are connected to an Azure account (az login).

Be aware, that there is some configuration in the file Pulumi.dev.yaml that is not checked in. You can use the file Pulumi.dev.yaml.example as a template.