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.
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 │
└────────────┘ └────────────┘ └───────────────────┘
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.