adamant-waiter-67103
08/15/2022, 3:26 PMmagnificent-bear-48902
08/18/2022, 8:20 AMglamorous-waitress-51149
08/18/2022, 1:15 PMazure-native:app:ContainerApp elaway-easee-src-cnx creating
@ Updating....
+ azure-native:app:ContainerApp elaway-easee-src-cnx creating error: autorest/azure: Service returned an error. Status=<nil> <nil>
+ azure-native:app:ContainerApp elaway-easee-src-cnx **creating failed** error: autorest/azure: Service returned an error. Status=<nil> <nil>
pulumi:pulumi:Stack elaway-easee-src-cnx-staging running error: update failed
pulumi:pulumi:Stack elaway-easee-src-cnx-staging **failed** 1 error; 18 messages
glamorous-waitress-51149
08/19/2022, 9:55 AMmicroscopic-furniture-52860
08/20/2022, 5:04 PMnew DelegationArgs
{
ServiceName = "Microsoft.Web/serverFarms",
}
nutritious-businessperson-26985
08/22/2022, 2:14 AMnutritious-businessperson-26985
08/22/2022, 2:15 AMnutritious-businessperson-26985
08/22/2022, 2:16 AMrhythmic-optician-96353
08/22/2022, 8:21 AMswift-apple-26877
08/23/2022, 10:31 AMbetter-pager-83988
08/23/2022, 1:25 PMglamorous-waitress-51149
08/24/2022, 10:53 AMUrl = Output.Format($"https://{app.Configuration.Apply(x => x!.Ingress).Apply(x => x!.Fqdn)}");
but obviously it’s cyclic dependency issue, you’re trying to add the url to the envvars but the url doesn’t exist yetadamant-waiter-67103
08/24/2022, 11:01 AMIdentityProviders
to a WebApp
. I've got it set up, but the portal says that no identity provider has been added
let createWebAppAuthSettingsV2
resourceNamer
resourceGroupName
webAppName
webAppAuthSettings =
WebAppAuthSettingsV2(resourceNamer "authsettings", WebAppAuthSettingsV2Args(
Name = input webAppName,
ResourceGroupName = input resourceGroupName,
IdentityProviders = input (IdentityProvidersArgs(
AzureActiveDirectory = input (AzureActiveDirectoryArgs(
Enabled = input true,
Registration = input (AzureActiveDirectoryRegistrationArgs(
ClientId = input webAppAuthSettings.ClientId,
ClientSecretSettingName = input webAppAuthSettings.ClientSecretSettingName,
OpenIdIssuer = input webAppAuthSettings.OpenIdIssuer
))
))
)),
Login = input (LoginArgs(
TokenStore = input (TokenStoreArgs(
Enabled = input true,
FileSystem = input (FileSystemTokenStoreArgs(
Directory = input "tokens"
))
))
)),
HttpSettings = input (HttpSettingsArgs(
RequireHttps = input true
)),
GlobalValidation = input (GlobalValidationArgs(
RequireAuthentication = input true,
RedirectToProvider = input "Microsoft",
UnauthenticatedClientAction = input (UnauthenticatedClientActionV2.Return403)
))
))
Clearly one has... what am I missing?quaint-match-50796
08/26/2022, 12:19 PMazure-native:network:Subnet ferrajoli-subnet updated [diff: +ipConfigurations~etag]
azure-native:network:VirtualNetwork ferrajoli-vnet updating [diff: -subnets]
To avoid an error in each run, we had to set ignore_changes to subnets in vnet.damp-honey-93158
08/29/2022, 10:14 AMcurved-pharmacist-41509
08/29/2022, 11:16 AMfast-vr-6049
08/29/2022, 5:19 PMazure-native:network:V20201101:subnet (GatewaySubnet):
error: Preview failed: autorest/azure: Service returned an error. Status=400 Code="MissingApiVersionParameter" Message="The api-version query parameter (?api-version=) is required for all requests."
It looks like the Azure Native plugin for pulumi.exe
isn't passing along the API version parameter, and I can't for the life of me figure out if I can provide that myself. I've tried supplying a provider version when giving the import command, but that hasn't worked. The Azure CLI doesn't seem to accept an environment variable to append such a value to all requests, either. Am I missing something, or is this a bug?sparse-intern-71089
08/30/2022, 4:35 PMmicroscopic-furniture-52860
08/30/2022, 6:26 PMweb.Certificate
and then apply it to the App Service using a web.WebAppHostNameBinding
, however there are no enum values for the cert DomainValidationMethod
arg, and I can’t find any worked examples.
Unfortunately Azure doesn’t return a helpful error message to help track this one down: autorest/azure: Service returned an error. Status=400 Code="BadRequest" Message="The parameter Properties.DomainValidationMethod has an invalid value."
chilly-analyst-14900
08/31/2022, 12:20 PMvar binding = new WebAppHostNameBinding($"binding.api{stack}.<http://domain.app|domain.app>", new WebAppHostNameBindingArgs
{
Name = app.Name,
ResourceGroupName = resourceGroup.Name,
CustomHostNameDnsRecordType = CustomHostNameDnsRecordType.CName,
HostName = fulldomain,
SiteName = app.Name,
// Thumbprint = certificate.Thumbprint // Cannot set, need to create the managed domain cert first
// SslState = SslState.SniEnabled // Cannot set, need to create the managed domain cert first
}, new CustomResourceOptions{ DependsOn = new CustomResource[] { txtRecord, cnameRecord }});
var certificate = new Certificate($"domain-app-cert-{stack}", new CertificateArgs
{
ServerFarmId = appServicePlan.Id,
ResourceGroupName = resourceGroup.Name,
CanonicalName = fulldomain,
HostNames = new[] { fulldomain }
}, new CustomResourceOptions { DependsOn = binding}); // requires a hostname binding to exist for the domain
millions-journalist-34868
08/31/2022, 1:58 PMdamp-honey-93158
09/02/2022, 10:23 AMstraight-restaurant-537
09/04/2022, 10:42 PMmost-mouse-38002
09/05/2022, 10:47 AMazure-native:storage:StorageAccount (prometheus):
error: resource partially created but read failed autorest/azure: Service returned an error. Status=404 Code="StorageAccountNotFound" Message="The storage account xfgewrprometheus was not found.": autorest/azure: Service returned an error. Status=404 Code="StorageAccountNotFound" Message="The storage account xfgewrprometheus was not found."
lively-mouse-58570
09/06/2022, 7:41 AMvar aksProvider = new K8s.Provider("k8s-provider-dev", new ProviderArgs
{
KubeConfig = kubeConfig,
Cluster = kubernetesCluster.Name,
});
which I use for creation of kubernetes dashboard:
var kubeDashboard = new ConfigFile("my-kubernetes-dashboard", new ConfigFileArgs
{
File = "<https://raw.githubusercontent.com/kubernetes/dashboard/v2.5.0/aio/deploy/recommended.yaml>"
},
new ComponentResourceOptions
{
Provider = aksProvider,
DependsOn = aksProvider!
});
It works fine when deployment of cluster happens for the first time but if I'm trying to change Virtual Machine size (which requires recreation of cluster) and deploy this update I get an error:
error: resource complete event returned an error: failed to verify snapshot: resource urn:pulumi:dev::MyProject::kubernetes:yaml:ConfigFile$kubernetes:core/v1:Namespace::kubernetes-dashboard refers to unknown provider urn:pulumi:dev::MyProject::pulumi:providers:kubernetes::k8s-provider-dev::650f67b5-a3be-423f-81be-5e8453bf9c4f
error: update failed
Is there any workaround how to fix this issue or maybe I'm doing something wrong? Thank you!chilly-analyst-14900
09/07/2022, 8:01 PMGetSecret.Invoke()
. But I don’t see any function to retrieve the Certificate (I need the thumbprint, for example. Any ideas?icy-doctor-13719
09/09/2022, 4:11 PMAzureNative.Cache.Redis
? And if so … does it always take 25 minutes to deploy via commandline but is actually created in a few seconds in ARM? Not sure if this is a Pulumi problem or on MSFT sideancient-solstice-53934
09/12/2022, 7:35 AMripe-park-70944
09/13/2022, 11:58 AMazure:*
auth settings for the same service principal that azure-native:*
uses, but I'm getting the following error:
error: failed to load application credentials:
Details: 1 error occurred:
* A Subscription ID must be configured when authenticating as a Service Principal using a Client Secret.
azure:subscriptionId
is definitely configured, could this error be masking something else? Is there an issue with running Azure Native and Azure Classic side by side?curved-eye-56312
09/14/2022, 8:50 AMpulumi up
the errors are thrown and provisioning fails
Is there any way I can implement the logic I have mentioned without having those errors blocking my deployment?