Questions tagged [pulumi-azure]
40 questions
0
votes
1 answer
did any one able to import azure storage blob using pulumi. if so please let me know the command?
I am trying to import the azure storage blob state in to pulumi using PULUMI CLI.
tried below cmd
pulumi import --yes azure-native:storage:Blob testblob
it thrown error with below.
error: Preview failed: "resourceGroupName" not found in resource…

Kumar
- 3
- 1
0
votes
1 answer
Pulumi and AKS : Public IP not linked to AKS load-balancer
trying, using pulumi, to setup and AKS cluster with a public ip as load-balancer and a domain name.
I tried several options using the following project : https://github.com/hostettler/pulumi-az-test
I end up with a working AKS cluster (great!) , …

Steve Hostettler
- 31
- 5
0
votes
0 answers
Pulumi equivalent of terraform data - confused over ResourceType.Get() and GetResourceType.Invoke
I'm trying to get an existing resource that's not managed by my pulumi stack, and I don't want to import it. In terraform I'd use data to get the resource like so:
data "azuread_group" "apps_service_principals" {
display_name =…

Bortos
- 1
- 1
0
votes
1 answer
Pulumi C# Unable to convert Output
Cannot implicitly convert type Pulumi.AzureNative.Resources.ResourceGroup to Pulumi.Output
enter image description here
public GenerateResourceGroup(Input location, string rgName,…

Ashwani Kumar
- 11
- 2
0
votes
1 answer
Pulumi azure: assign access policy to keyvault
I want to assign an access policy to the Keyvault without importing the keyvault.
Since importing a resource like keyvault is a real pain, considering you have to list every required property of the KV(100+ lines with a lot of parametrization…

Sunflame
- 2,993
- 4
- 24
- 48
0
votes
2 answers
Get IP address from Azure Private Endpoint using Pulumi TypeScript API
I have a Private Endpoint created in my Azure subscription. If I look into the Azure Portal I can see that the private IP assigned to my Private Endpoint NIC is 10.0.0.4.
But how can I get the IP address value using the Pulumi TypeScript API, so I…

Evandro Pomatti
- 13,341
- 16
- 97
- 165
0
votes
0 answers
Pulumi import existing key from Azure KeyVault gives error
I want to import an existing key from the keyvault in the following way:
key_import_url = '/subscriptions/{subscription_id}/resourceGroups/{key_vault_rg_name}/providers/Microsoft.KeyVault/vaults/{keyvault_name}/keys/{key_name}'
key_vault_key =…

Sunflame
- 2,993
- 4
- 24
- 48
0
votes
1 answer
Pulumi python azure wrong resource name
I am trying to create a sql.ServerVulnerabilityAssessment resource in the following way:
server_vulnerability_assessment=sql.ServerVulnerabilityAssessment('sva',
storage_container_path = container_path,
storage_account_access_key =…

Sunflame
- 2,993
- 4
- 24
- 48
0
votes
1 answer
Pulumi azure-native missing required property 'resourceGroupName'
in a pulumi script i get the following error running pulumi up
azure-native:sql:DatabaseSecurityAlertPolicy (sap_primary):
error: azure-native:sql:DatabaseSecurityAlertPolicy resource 'sap_primary' has a problem: missing required property…

Sunflame
- 2,993
- 4
- 24
- 48
-1
votes
1 answer
Pulumi Project Folder structure
I am new to the pulumi and planning to create an IaC project in pulumi.
Bit confused about the project structure of pulumi. I was planning to create classes based on SOLID principles - however, when looking at the project structure listed on pulumi…

Ashwani Kumar
- 11
- 2