little-library-54601
09/25/2023, 6:26 PMvar apiAppService = new WebApp("my-app-service", new WebAppArgs
{
ResourceGroupName = rgName,
ServerFarmId = aspId,
HttpsOnly = true,
Location = "eastus",
Identity = new ManagedServiceIdentityArgs
{
Type = Pulumi.AzureNative.Web.ManagedServiceIdentityType.SystemAssigned,
},
SiteConfig = new SiteConfigArgs
{
AlwaysOn = true,
FtpsState = FtpsState.FtpsOnly,
Http20Enabled = true,
NetFrameworkVersion = "v6.0",
NumberOfWorkers = 1,
Use32BitWorkerProcess = false,
AppSettings =
{
// ...
},
ConnectionStrings =
{
// ...
}
},
Tags =
{
// ...
},
});
The Azure portal makes it seem like setting a custom domain would happen on this WebApp resource (given that there's a "Custom Domains" blade specifically on the app service). But I don't see anything like that in the Pulumi WebApp type or in any of the types that are passed to create a WebApp.
Can anyone point me in the right direction? I can usually stumble through via the Pulumi docs and looking at the ARM template from a representative Azure resource. But known-working code gives me a lot more confidence.
Thanks.millions-journalist-34868
09/25/2023, 6:52 PMlittle-library-54601
09/25/2023, 7:01 PMweb.CustomDomain
.
So I'm not sure how to interpret that.
https://python.helpful.codes/tutorials/pulumi/Setting-Up-Azure-App-Service-with-Custom-Domain-with-Pulumi/millions-journalist-34868
09/25/2023, 7:03 PMlittle-library-54601
09/25/2023, 7:04 PM