kind-address-14510
07/07/2020, 11:10 PMDiagnostics:
azure:network:Subnet (GatewaySubnet):
error: Duplicate resource URN 'urn:pulumi:test::vnet-a360-new::azure:network/subnet:Subnet::GatewaySubnet'; try giving it a unique name
kind-address-14510
07/08/2020, 3:14 PMconfig:
azure:environment: public
azure:location: EastUS
azure:subscriptionId: xxx
numerous-processor-60508
07/09/2020, 8:38 AMpurple-van-45588
07/09/2020, 10:56 AMpurple-van-45588
07/09/2020, 10:56 AMnetsg = network.NetworkSecurityGroup("nsg_tags_test",
name = "nsg_tags_test",
resource_group_name = "netdcrg1",
location = "westeurope",
tags = {'boundary': 'tbd', 'business_unit': 'dev', 'environment': 'dev', 'expiration_date': "2128-01-01", 'miscellaneous': 'NA', 'owner': 'all-infra', 'platform': 'infrastructure', 'security_context': 'standard', 'service_name': 'netdc'})
purple-van-45588
07/09/2020, 10:56 AMpurple-van-45588
07/09/2020, 10:57 AMtall-librarian-49374
07/09/2020, 11:10 AMpurple-van-45588
07/09/2020, 11:13 AMtall-librarian-49374
07/09/2020, 11:15 AMkind-address-14510
07/09/2020, 12:26 PMerror: Error waiting for completion of AzureRM Virtual Network Gateway
kind-address-14510
07/09/2020, 12:33 PMbetter-rainbow-14549
07/09/2020, 12:36 PMazuread:index:ServicePrincipalPassword (test-dev-eu-test1):
error: deleting urn:pulumi:advanced-networking-test::advanced-networking-test::AzureAdApplication$azuread:index/servicePrincipalPassword:ServicePrincipalPassword::test-dev-eu-test1: Error parsing Application Password ID: Credential ID should be in the format {objectId}/{keyType}/{keyId} - but got "9481f24e-30da-4a54-a0cd-66a5a9d6d069/1ff9e85f-1909-9f9c-b451-73c0dca779da"
wut, never seen that beforenice-football-42636
07/09/2020, 3:20 PMSql Database
as copy from existing one. I use C# sdk
and i use following code:
var sqlDatabase = new Database(
$"{conf.StackResourcesPrefix}-db",
new DatabaseArgs
{
Name = $"{conf.StackResourcesPrefix}-db",
ResourceGroupName = resourceGroup.GetResourceName(),
CreateMode = "Copy",
ServerName = sqlServer.Name,
SourceDatabaseId = <FULL_ID_OF_THE_SOURCE_DB>
}
);
I've checked many times, that everything is correct (mainly the sourceDatabaseId
). When i deploy the infrastructure with pulumi, the database is not copied, but it creates new one (pulumi does not fail, does not log warning that something went wrong) without any data from the existing one I'm trying to copy.
everything with authorization and stuff should be ok, our solution with azure templates & powershell scripts works correctly as expected and as far as i know, pulumi should do behind the scenes almost the same stuff as the powershell scripts do (calling the Azure API).
Isn't this a bug? How is it possible, that pulumi fails to create the desired resource by the configuration, but says everything is okay and doesn't show any warnings / errors?
Could somebody help me please with what could get wrong?great-flag-86735
07/09/2020, 4:07 PMconst nginx = new k8s.helm.v2.Chart(nginxName, {
chart: "bitnami/nginx-ingress-controller",
values: {
annotations: {
// "<http://service.beta.kubernetes.io/azure-dns-label-name|service.beta.kubernetes.io/azure-dns-label-name>": k8sDnsName,
},
controller: {
publishService: {enabled: true},
service: {
annotations: {
"<http://service.beta.kubernetes.io/azure-dns-label-name|service.beta.kubernetes.io/azure-dns-label-name>": k8sDnsName,
},
}
}
},
},
{providers: {kubernetes: cluster.provider}},
);
witty-spring-28765
07/12/2020, 7:36 PMbetter-rainbow-14549
07/16/2020, 1:57 PM{
"urn": "urn:pulumi:deployments-infra-dev-eu::deployments-infra-dev-eu::mpp:Cluster$azure:containerservice/kubernetesCluster:KubernetesCluster::deveu2",
"message": "error: azure:containerservice/kubernetesCluster:KubernetesCluster resource 'deveu2' has a problem: \"addon_profile.0.http_application_routing.0.http_application_routing_zone_name\": this field cannot be set\n",
"severity": "error"
},
{
"urn": "urn:pulumi:deployments-infra-dev-eu::deployments-infra-dev-eu::mpp:Cluster$azure:containerservice/kubernetesCluster:KubernetesCluster::deveu2",
"message": "error: azure:containerservice/kubernetesCluster:KubernetesCluster resource 'deveu2' has a problem: Can not parse \"addon_profile.0.oms_agent.0.log_analytics_workspace_id\" as a resource id: Cannot parse Azure ID: parse \"\": empty url\n",
"severity": "error"
},
{
"urn": "urn:pulumi:deployments-infra-dev-eu::deployments-infra-dev-eu::mpp:Cluster$azure:containerservice/kubernetesCluster:KubernetesCluster::deveu2",
"message": "error: azure:containerservice/kubernetesCluster:KubernetesCluster resource 'deveu2' has a problem: \"addon_profile.0.oms_agent.0.oms_agent_identity\": this field cannot be set\n",
"severity": "error"
}
but I never specified those anyway, they've just appeared.better-rainbow-14549
07/16/2020, 2:53 PMwooden-branch-26004
07/20/2020, 12:15 PMcli
using --attach-acr <acr_name>
(ex. az aks ... create --attach-acr <acr_name>
) . How can I do the same via Pulumi? I haven't found anything related to it in KubernetesCluster
or KubernetesClusterArgs
.
Thanks!enough-kite-69616
07/20/2020, 4:52 PMripe-russia-4239
07/22/2020, 2:41 PMTXT
record to my DNS with a specific GUID. If this step is not completed, the Pulumi CustomHostnameBinding
fails to create, and the Pulumi update as a whole fails:
Error creating/updating Custom Hostname Binding "<http://www.mywebsite.com|www.mywebsite.com>" (App Service "exampleappservice7422ec00" / Resource Group "exampleresourcegroupa1b4af45"): web.AppsClient#CreateOrUpdateHostNameBinding: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="BadRequest" Message="A TXT record pointing from <http://asuid.www.mywebsite.com|asuid.www.mywebsite.com> to 2f77eba357071f06b1ae4cb900105eeb8236f2697466a15641af4fdd75f2fb49 was not found." Details=[{"Message":"A TXT record pointing from <http://asuid.www.mywebsite.com|asuid.www.mywebsite.com> to 2f77eba357071f06b1ae4cb900105eeb8236f2697466a15641af4fdd75f2fb49 was not found."},{"Code":"BadRequest"},{"ErrorEntity":{"Code":"BadRequest","ExtendedCode":"04006","Message":"A TXT record pointing from <http://asuid.www.mywebsite.com|asuid.www.mywebsite.com> to 2f77eba357071f06b1ae4cb900105eeb8236f2697466a15641af4fdd75f2fb49 was not found.","MessageTemplate":"A TXT record pointing from asuid.{0} to {1} was not found.","Parameters":["<http://www.mywebsite.com|www.mywebsite.com>","2f77eba357071f06b1ae4cb900105eeb8236f2697466a15641af4fdd75f2fb49"]}}]
I haven't been able to catch this error, nor identify a way (from the docs, poking around the Pulumi libraries with code completion, etc. etc.) to capture the resource(s) in error and inspect the returned error. What I'd like to be able to do is intercept this error, provision the TXT
record in CloudFlare DNS, retry the operation, then delete the TXT
record again.
I'm using the #typescript SDK.breezy-cricket-40277
07/24/2020, 3:36 PM[diff: ~addonProfile]
.
What’s the deal with this? I didn’t change any code on my Pulumi code and I get this update strategy that basically diffs
my kubeconfig (to be the same one) and a bunch of metadata and provider
changes without no code changes whatsoever.kind-mechanic-53546
07/29/2020, 3:27 AMkind-mechanic-53546
07/31/2020, 7:38 AMContributor
role for a subscription to an azuread.Application
?tall-needle-56640
08/03/2020, 10:14 PMtall-needle-56640
08/03/2020, 10:20 PMnew PlanSkuArgs { Size="0", Tier = "S" }
results in The parameter SKU.Name has an invalid value
. Why tell me that the name is wrong, when I didn't provide a name? Why is nothing telling me what values are allowed? Is the Azure provider just in its early days. I think Pulumi is a great idea and I have more experimentation to do, but I wish I was falling into the pit of success. 😞kind-mechanic-53546
08/04/2020, 7:33 AMpulumi up
, (e.g. npm run up
) which does pulumi up --yes --policy-pack ./policy-pack-here
When I run this in an Azure Devops pipeline using the npm custom script, it fails with error: getting secrets manager: passphrase must be set with PULUMI_CONFIG_PASSPHRASE environment variable
which is strange since the environment variable is set (and pulumi version
works in a different step)
Question, why would the environment variable not be propagating down to the npm task, is this expected?bland-ice-32467
08/06/2020, 8:05 PMpulumi_azure.keyvault.AccessPolicy
), which may or may not exist in Azure, or how I should go about creating a service principal that has all the necessary permissions to create all resources I am able to create through the Azure Portal?millions-dog-5491
08/12/2020, 10:02 AMfuture-kite-91191
08/19/2020, 2:14 PMerror: problem logging in: getting user info from pul-****************************************: performing HTTP request: Get "pul-********************************/api/user": unsupported protocol scheme ""
future-kite-91191
08/19/2020, 2:14 PMerror: problem logging in: getting user info from pul-****************************************: performing HTTP request: Get "pul-********************************/api/user": unsupported protocol scheme ""
clever-sunset-76585
08/19/2020, 2:49 PMfuture-kite-91191
08/19/2020, 5:40 PM