bumpy-byte-21437
10/16/2020, 1:28 PMbumpy-byte-21437
10/16/2020, 1:28 PMconfig:
azure:environment: public
azure:location: westeurope
pulumi_test2:sa_name:
- shdjuik
- jkpoyht
- jmnsxap
bumpy-byte-21437
10/16/2020, 1:28 PMfor x in conf.require('sa_name')
sa_account = azure.storage.Account(
x,
resource_group_name=resource_group.name,
location=resource_group.location,
allow_blob_public_access=False,
is_hns_enabled=True,
account_kind="StorageV2",
account_tier="Standard",
min_tls_version="TLS1_2",
enable_https_traffic_only=True,
account_replication_type="GRS",
tags={
"environment": "dev",
}
)
wet-noon-14291
10/17/2020, 11:01 PMicy-jordan-58549
10/20/2020, 3:05 PMred-lighter-44012
10/21/2020, 9:46 AMRegistry.Get
requires a resource ID, but I need to look up the ACR via its name or something that is known upfront. Im having trouble googling the solution. :<red-lighter-44012
10/21/2020, 10:23 AMGetResources.InvokeAsync(new GetResourcesArgs{ Name = ".." })
seems to do exactly that. Just to clarify: I want to reference, not import the ACR.worried-stone-50514
10/22/2020, 3:00 AMcolossal-school-15171
10/23/2020, 11:51 PMpulumi up
Previewing update (ingress-test)
View Live: <https://app.pulumi.com/dangersorus/ingress-test/ingress-test/previews/7248690b-10f2-40f1-8883-43175065d385>
Type Name Plan
pulumi:pulumi:Stack ingress-test-ingress-test
+ ├─ azure-nextgen:containerservice/latest:AgentPool agentPoolResource create
+ └─ azure-nextgen:containerservice/latest:ManagedCluster managedClusterResource create
Resources:
+ 2 to create
1 unchanged
Do you want to perform this update? yes
Updating (ingress-test)
View Live: <https://app.pulumi.com/dangersorus/ingress-test/ingress-test/updates/4>
Type Name Status Info
pulumi:pulumi:Stack ingress-test-ingress-test **failed** 1 error
+ ├─ azure-nextgen:containerservice/latest:AgentPool agentPoolResource **creating failed** 1 error
+ └─ azure-nextgen:containerservice/latest:ManagedCluster managedClusterResource **creating failed** 1 error
Diagnostics:
azure-nextgen:containerservice/latest:AgentPool (agentPoolResource):
error: cannot check existence of resource /subscriptions/a8671a8f-0345-4bc3-890d-90085c807fd3/resourceGroups/test-group/providers/Microsoft.ContainerService/managedClusters/ingress-test/agentPools/test-cluster%2Fnodepool1: autorest/azure: error response cannot be parsed: "404: Page Not Found" error: json: cannot unmarshal number into Go value of type azure.RequestError: autorest/azure: error response cannot be parsed: "404: Page Not Found" error: json: cannot unmarshal number into Go value of type azure.RequestError
azure-nextgen:containerservice/latest:ManagedCluster (managedClusterResource):
error: Code="InvalidParameter" Message="The value of parameter windowsProfile.adminPassword is invalid. Please see <https://aka.ms/aks-naming-rules> for more details." Target="windowsProfile.adminPassword"
pulumi:pulumi:Stack (ingress-test-ingress-test):
error: update failed
rapid-oil-61997
10/25/2020, 9:58 AMrapid-oil-61997
10/26/2020, 2:24 PMorange-dog-73995
10/27/2020, 12:11 PMred-lighter-44012
10/29/2020, 3:08 PMupdates
on both ingress controlers: metadata and spec.
What's the best way to diff the current state and the pulumi stack? Is refreshing gonna help here or how should I proceed 🙂red-lighter-44012
10/29/2020, 4:01 PMteam-foobar
) and have a kubeconfig that only includes permissions for that namespace. How should that be done, any docs on this?
So far I've tried the following:
- create new namespace
- create new SP
- create a new assignment, set Scope to namespace.Id
and RoleDefinitionName to Azure Kubernetes Service RBAC Writer
Is this correct and if yes - how do I get the kubeconfig?witty-market-32785
10/29/2020, 4:03 PMsome-flower-64874
10/29/2020, 5:34 PMorange-airplane-70350
10/30/2020, 3:32 AMazure-nextgen
to my existing program which already has azure
provider. And I get the following error:
pulumi:providers:azure-nextgen (default_3_12_1):
error: no resource plugin 'azure-nextgen-v3.12.1' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource azure-nextgen v3.12.1`
I wonder if somebody faced it already and knows some workaround.icy-jordan-58549
11/04/2020, 4:34 PMicy-jordan-58549
11/04/2020, 5:57 PMicy-jordan-58549
11/06/2020, 5:27 PMDiagnostics:
azure-nextgen:authorization/latest:RoleAssignment (network-contributor):
error: Code="RoleAssignmentUpdateNotPermitted" Message="Tenant ID, application ID, principal ID, and scope are not allowed to be updated."
wet-noon-14291
11/08/2020, 12:19 AMerror: failed to discover plugin requirements: illegal semver returned by language host: azurenextgen@vazure-nextgen
0.2.5: Invalid character(s) found in major number "azure-nextgen\n0"
The plugin version is 0.2.5 and the plugin version should also be 0.2.5.tall-librarian-49374
11/08/2020, 8:54 PMprehistoric-nail-50687
11/09/2020, 3:00 PMpulumi/azure-nextgen
now I need to add a custom domain (and a managed certificate) to a web.WebApp
but I can’t find any hint on how to do so. Anyone knows more?icy-jordan-58549
11/11/2020, 8:00 AMazure-nextgen:consumption/latest:Budget (budget):
error: pollingTrackerBase#pollForStatus: failed to send HTTP request: StatusCode=0 -- Original Error: Get "<https://costmanagement.trafficmanager.net/subscriptions/393dab78-686f-41be-b9d5-f244fb11eba7/resourcegroups/hub-rg/providers/Microsoft.Consumption/budgets/hub?api-version=2019-10-01>": local error: tls: no renegotiation
clever-byte-21551
11/11/2020, 10:42 AMmysterious-australia-14256
11/11/2020, 11:49 AMprehistoric-nail-50687
11/11/2020, 4:04 PMfrontendIPConfiguration: {
id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip",
},
frontendPort: {
id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp",
},
I was wondering if there is some way to do something like a self-reference (e.g. this
or self
) Because the objects referenced in these example are aztually referencing an other object within the same resource. So this would become something like:
frontendIPConfiguration: {
id: "${self.id}/frontendIPConfigurations/appgwfip",
},
frontendPort: {
id: "${self.id}/frontendPorts/appgwfp",
},
It feels very wrong to create the whole path/reference by hand, specially as I would also need access to the subid
(SubscriptionID) which I think one should not deal with, it is implicit given by the connected user/principal.colossal-school-15171
11/11/2020, 8:00 PMError: Invoke of 'azure:storage/getAccountBlobContainerSAS:getAccountBlobContainerSAS' failed: "container_name": required field is not set ()
at deserializeResponse (/home/kyle/workspace/ops/mapped_infrastructure/node_modules/@pulumi/pulumi/runtime/invoke.js:194:15)
at /home/kyle/workspace/ops/mapped_infrastructure/node_modules/@pulumi/pulumi/runtime/invoke.js:145:20
at Generator.next (<anonymous>)
at fulfilled (/home/kyle/workspace/ops/mapped_infrastructure/node_modules/@pulumi/pulumi/runtime/invoke.js:18:58)
at processTicksAndRejections (node:internal/process/task_queues:93:5)
but those resources seem to be validly defined in my index.ts file:
// The container to put our files into
const container = new azure.storage.Container("files", {
storageAccountName: storageAccount.name,
containerAccessType: "private",
});
// <http://ASP.NET|ASP.NET> deployment package
const blob = new azure.storage.Blob("zip", {
storageAccountName: storageAccount.name,
storageContainerName: container.name,
type: "Block",
source: new pulumi.asset.FileArchive("<https://github.com/mapped/connector-functions/suites/1471048737/artifacts/25311357>"),
});
anyone have any ideas what's going on?clever-byte-21551
11/15/2020, 1:54 PMpulumi/azure-nextgen
to create AKS clusters with user assigned identities?dry-solstice-28057
11/16/2020, 3:35 PMdry-solstice-28057
11/16/2020, 3:35 PM