little-library-54601
04/06/2022, 3:01 PMAzureNative.Web.WebApp
in Pulumi), how do I set some of the critical setting that show up under Configuration->General Settings in the Azure portal? Specifically:
• Stack (want ".NET")
• .NET Version (.NET 6 (LTS))
• Platform (64 bit)
• FTP state (FTPS Only)
I have an app service that was created via the Azure CLI as a reference. In the applicable "az" commands, those settings are --runtime DOTNET|6.0
, --use-32bit-worker-process false
, and --ftps-state FtpsOnly
.
In the ARM template for the reference app service, those settings are netFrameworkVersion: v6.0
, use32BitWorkerProcess: false
, and ftpsState: FtpsOnly
.
I've used pulumi import
to generate the C# code for that reference app service, but I don't see anything in that code which seems to specify those settings. I've tried searching the Pulumi AzureNative API docs but haven't had any luck.
Can anyone point me in the right direction for this? As it stands, my app won't start (not surprisingly). Thanks.modern-quill-17695
04/06/2022, 3:36 PMlittle-library-54601
04/06/2022, 3:41 PMpulumi import
that I did from the reference app service did not include any of those SiteConfigArgs
settings. It also didn't include the AppSettings
values that would be specified within SiteConfigArgs
. That seems like an opportunity to improve the import capabilities.modern-quill-17695
04/06/2022, 3:48 PMlittle-library-54601
04/06/2022, 4:06 PMAlwaysOn = true,
FtpsState = FtpsState.FtpsOnly,
Http20Enabled = true,
NetFrameworkVersion = "v6.0",
NumberOfWorkers = 1,
Use32BitWorkerProcess = false,