This example configures a SQLServer on Azure PaaS.
In addition to the server itself, a database is configured.
-
Create a new stack:
pulumi stack init dev
-
Log in to the Azure CLI (you will be prompted to do this during deployment if you forget this step):
az login
-
Set the Azure region location to use:
pulumi config set azure-native:location westus -
Run
pulumi upto preview and deploy changes:pulumi up
Previewing changes: ... Performing changes: ... Resources: + 5 created Duration: 3m16s -
Check the deployed SQL server and database.
Once you are done, you can destroy all of the resources, and the stack:
pulumi destroy
pulumi stack rm