better-shampoo-48884
04/06/2021, 9:26 AM+- ├─ azure-native:network:PublicIPAddress <id>appgw-publicIp replaced [diff: ~publicIpAddressName]
~ └─ azure-native:network:ApplicationGateway <id>appgw **updating failed** [diff: ]; 1 error
Diagnostics:
pulumi:pulumi:Stack (baseline-infra-dev.infra.infratesting):
error: update failed
azure-native:network:ApplicationGateway (n10272appgw):
error: Code="ApplicationGatewayFrontendIpPublicIpAddressCannotBeChanged" Message="PublicIPAddress property of FrontendIpConfiguration /subscriptions/<sub>/resourceGroups/<rg>/providers/Microsoft.Network/applicationGateways/<id>appgw/frontendIPConfigurations/appGwPublicFrontendIp cannot be changed." Details=[]
And of course any following operation is to try to delete the IP that is still connected to the AppGW that I cannot disconnect because it "cannot be changed":
Updating (dev.infra.infratesting):
Type Name Status Info
pulumi:pulumi:Stack baseline-infra-dev.infra.infratesting **failed** 1 error
- └─ azure-native:network:PublicIPAddress <id>appgw-publicIp **deleting failed** 1 error
Diagnostics:
azure-native:network:PublicIPAddress (<id>appgw-publicIp):
error: Code="PublicIPAddressCannotBeDeleted" Message="Public IP address /subscriptions/<sub>/resourceGroups/<rg>/providers/Microsoft.Network/publicIPAddresses/<id>appgw-publicIpb861f3ce can not be deleted since it is still allocated to resource /subscriptions/<sub>/resourceGroups/<rg>/providers/Microsoft.Network/applicationGateways/<id>appgw/frontendIPConfigurations/appGwPublicFrontendIp. In order to delete the public IP, disassociate/detach the Public IP address from the resource. To learn how to do this, see <http://aka.ms/deletepublicip|aka.ms/deletepublicip>." Details=[]
I might be presuming too much - especially considering the intricacies involved in all this - but pulumi would have to be aware of all the different edge cases of all the different kinds of operations on all the different resources to be able to handle this stuff. Is it at all to be expected that pulumi would ever be able to predictably handle these kinds of changes when the underlying provider is so fundamentally blind to how things should work?glamorous-helmet-50600
04/06/2021, 10:24 AMbreezy-salesmen-85534
04/07/2021, 7:49 AMpowerful-football-81694
04/07/2021, 10:49 AM{
"type": "Microsoft.Sql/servers/databases/backupLongTermRetentionPolicies",
"apiVersion": "2020-08-01-preview",
"name": "[concat(parameters('servers_***_dev_sql_name'), '/licensing-dev-db/default')]",
"dependsOn": [
"[resourceId('Microsoft.Sql/servers/databases', parameters('servers_***_dev_sql_name'), 'licensing-dev-db')]",
"[resourceId('Microsoft.Sql/servers', parameters('servers_***_dev_sql_name'))]"
],
"properties": {
"weeklyRetention": "PT0S",
"monthlyRetention": "PT0S",
"yearlyRetention": "PT0S",
"weekOfYear": 0
}
},
I cannot find any resource types that look even remotely similar in any of the namespaces I’ve checked. Neither in the default, nor in Latest
nor in V20200801Preview
which seems to be what the portal uses for these.
Can anyone point me in the right direction?dry-window-34186
04/07/2021, 4:08 PMaz functionapp keys set
Can someone point me to the azure-native documentation where we can create those?ripe-eve-62815
04/07/2021, 4:35 PMsp-credentials-${resourceConfigs.env}
, {
// projectId: adoProject.id,
// description: "Elevated Service Principals Credentials for Migrations",
// allowAccess: true,
// variables: [{name: "foo", value: "bar", isSecret: false}],
// keyVault: {name: keyVault.name, serviceEndpointId: serviceEndpoint.id},
// },
// {
// dependsOn: [serviceEndpoint, servicePrincipal, keyVault]
// });
Can somebody offer some help?refined-tomato-5322
04/08/2021, 6:51 AMaddCdnEndpoint(cdnProfile: cdn.Profile, durationOfCache?: string) {
this.endpoint = new cdn.Endpoint(this.baseName, {
endpointName: this.storageAccount.name.apply(sa => `cdn-endpnt-${sa}`),
location: cdnProfile.location,
resourceGroupName: this.resourceGroup.name,
isHttpAllowed: false,
isHttpsAllowed: true,
originHostHeader: this.endpointOrigin,
profileName: cdnProfile.name,
origins: [{
hostName: this.endpointOrigin,
httpsPort: 443,
name: "blobstorage",
}],
deliveryPolicy: {
description: "Test description for a policy.",
rules: [{
name: "httptohttps",
order: 1,
conditions: [{
name: "RequestScheme",
parameters: {
matchValues: [ "HTTP" ],
odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestSchemeConditionResponse",
operator: "Any",
},
}],
actions: [
{
name: "UrlRedirect",
parameters: {
destinationProtocol: "https",
redirectType: "PermanentRedirect",
odataType: "#Microsoft.Azure.Cdn.Models.UrlRewriteAction",
},
}
],
},
{
name: "cachebehavior",
order:2,
actions: [
durationOfCache ? {
name: "CacheExpiration",
parameters: {
cacheBehavior: "Override",
cacheDuration: durationOfCache,
cacheType: "All",
odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters",
},
} :
{
name: "CacheExpiration",
parameters: {
cacheBehavior: "BypassCache",
cacheType: "All",
odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters",
},
},
]
},
],
},
});
Thank you in advance for any help.polite-shoe-79877
04/08/2021, 8:22 PMpulumi up
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memorybreezy-apartment-46543
04/09/2021, 11:49 AMfuture-kite-91191
04/11/2021, 7:04 PMbrave-winter-60074
04/12/2021, 12:48 PMglamorous-helmet-50600
04/12/2021, 4:28 PMcatch(Grpc.Core.RpcException ex) when ex.Status.Detail.Contains("ResourceNotFound")
glamorous-helmet-50600
04/12/2021, 4:31 PMGrpc.Core.RpcException: Status(StatusCode="Unknown", Detail="invocation of azure-native:web:getCertificate returned an error: request failed /subscriptions/..../resourceGroups/rg-identity-dev/providers/Microsoft.Web/certificates/certtesddt-identity-dev: autorest/azure: Service returned an error. Status=404 Code="ResourceNotFound"
purple-train-14007
04/12/2021, 9:19 PMbroad-dog-22463
04/12/2021, 10:02 PMbroad-dog-22463
04/12/2021, 10:02 PMbroad-dog-22463
04/12/2021, 10:03 PMbetter-shampoo-48884
04/13/2021, 7:23 AMkeyvault.Secret
with azure-native (which is really great!) - but is there any plan of getting a keyvault.Certificate
resource any time soon? It would be really really great 😄miniature-leather-70472
04/13/2021, 10:21 AMvar token = await Pulumi.AzureNative.Authorization.GetClientToken.InvokeAsync();
I don't get any error, it just does not proceed past this line in my async method. Any ideas why, or what I can do to try and find the issue?
I am calling this async method from the main Pulumi code using getawaiter, so my understanding is that it should wait.future-kite-91191
04/13/2021, 12:04 PMazure-native/web/WebApp
, how can I get the public/virtual IP address? Need it to create an DNS A Record with the App Service ip address. I tried webApp.hostNameSslStates
but no valid virtualIP
in there.swift-hamburger-98290
04/13/2021, 1:24 PMApp Service
with ZIP? How to make Azure (Oryx?) create the virtualenv? Have this now:
...
let app = new web.WebApp("app", {
resourceGroupName: rg.name,
serverFarmId: asp.id,
siteConfig: {
alwaysOn: true,
appCommandLine: "python /home/site/wwwroot/__init__.py",
appSettings: [
{
name: "WEBSITE_RUN_FROM_PACKAGE",
value: codeUrl,
},
],
linuxFxVersion: "PYTHON|3.8",
},
});
But the virtual env is not created, and dependencies are not installed.rough-tomato-98795
04/13/2021, 2:17 PMglamorous-helmet-50600
04/13/2021, 3:29 PMworried-knife-31967
04/13/2021, 5:42 PMpolite-shoe-79877
04/14/2021, 7:19 AMBuilding AzureAD Client: obtain tenant() from Azure CLI: Error parsing json result from the Azure CLI: Error waiting for the Azure CLI: exit status 1: No subscription found. Run 'az account set' to select a subscription.
I can create other resoruces but not an AzureAd Application, It works on Linux not Windows. Anyone know how to fix?purple-train-14007
04/14/2021, 9:50 PMpurple-train-14007
04/14/2021, 9:50 PMerror: Code="InternalError" Message="The service principal with appId '2565bd9d-da50-47d4-8b85-4c97f669dc36' could not be found in the Azure Active Directory tenan
t. Please retry the operation."
purple-train-14007
04/14/2021, 9:50 PMpurple-train-14007
04/14/2021, 9:58 PMpurple-train-14007
04/15/2021, 4:19 AM