Azure Justrun

Pulumi Official
Package maintained by Pulumi
v0.1.14 published on Tuesday, Jun 7, 2022 by Pulumi

This component makes it easy to deploy a simple web app to Azure using any of the supported Pulumi programming languages including markup languages like YAML and JSON.

Examples

import * as justrun from "@pulumi/pulumi-azure-justrun"
const args =  {
    filePath: "./www",
} as justrun.WebappArgs

const site = new staticwebsite.Website("website", args);
resources:
  web:
    type: "azure-justrun:index:webapp"
    properties:
      sitePath: "./www"
outputs:
  websiteURL: ${web.websiteURL}

Input Properties

This component takes the following inputs.

  • appSkuName - The name of the compute instance running the server. Also see appSkuTier
  • appSkuTier - The tier of the compute instance running the server. Also see appSkuName
  • filePath - The relative file path to the folder containing web files.
  • containerPublicAccess - The public access level of the BlobContainer containg the website data.
  • storageSkuName - The name of the SKU of the storage account created, if storageAccount is not provided
  • storageAccount - The storage account to use. One will be created if not provided.
  • resourceGroup - The resource group to use. One will be created if not provided.
  • namePrefix - The name prefix given to child resources of this component. Should not contain dashes.

Outputs

This component provides the following outputs.

  • url - the URL to access the website