Questions tagged [pulumi-python]

30 questions
0
votes
1 answer

How to make installed apps executable by lambda user when using docker

I'm using a docker image on AWS lambda. In my dockerfile, I've installed an executable (the pulumi cli tool) and confirmed successful installation by running RUN pulumi -version. When I try to invoke this executable through my lambda, I get…
Sitati
  • 285
  • 3
  • 13
0
votes
1 answer

Pulumi automation backend

I am a newbie in pulumi. I am having an issue. When I do pulumi login in GCP backend It appears an error: stderr: error: getting secrets manager: passphrase must be set with PULUMI_CONFIG_PASSPHRASE or PULUMI_CONFIG_PASSPHRASE_FILE…
0
votes
0 answers

pulumi python set Public Network Access to Disabled for KeyVaults and Container Registry

Trying to set "Public Network Access" to "Disabled" for both keyvault and container registry. I was able to set it for AppService, CosmosDB etc, but I couldn't find the way to set it for both the service I mention above. Check the azure portal…
HanyPie
  • 11
  • 1
0
votes
0 answers

Pulumi-pyhton-gcp error unhandled exception

Got into Pulumi. First tutorial got this error: """A Google Cloud Python Pulumi program""" import pulumi from pulumi_gcp import storage # Create a GCP resource (Storage Bucket) bucket = storage.Bucket('my-bucket', location="US") # Export the DNS…
0
votes
1 answer

pulumi_docker.docker.ResourceError: No digest available for image

I got errors when I run pulumi up. Error: pulumi_docker.docker.ResourceError: No digest available for image 1234567890987.dkr.ecr.us-west-2.amazonaws.com/cloud/abcd-svc-4c4ac5e pulumi…
user20208419
  • 121
  • 1
  • 11
0
votes
1 answer

Unable to wait for VPC creation

I am trying to create a VPC with Pulumi crosswalk and then use the output's vpc_id to pass as argument to fetch security groups. However, being natively async, vpc object is supposedly being queried before creation causing it to throw an…
Akshay Baura
  • 41
  • 1
  • 6
0
votes
1 answer

Code="InvalidResourceReference" - Resource not found error when I want to create Azure Application Gateway with Pulumi

I want to create an Azure Application Gateway with Pulumi.(Document) In some parts of the code, I should add id for example in backend_pool or etc. This idis related to the application gateway that should be created. But when I run pulumi run I…
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
1 answer

How to access to an Azure App Insights output with "GetComponnectOutput" on Pulumi

I created an Azure App Insights with Pulumi and with GetComponnectOutput I received the output like the below: Sample Code: app_insights_key = insights.get_component_output( resource_group_name=temp_resources_group.name, …
0
votes
1 answer

failed to load language plugin ${language} in pulumi

I'm new to pulumi and trying to run a pulumi review but getting following error, what I've tried so far, I tried install following tools in my Ubuntu host : python3 python3 -m venv venv Then, tried follwing commnads in pulumi, pulumi loing…
Madura Dissanayake
  • 8,309
  • 5
  • 25
  • 34
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 DigitalOcean: different name for droplet

I'm creating a droplet in DigitalOcean with Pulumi. I have the following code: name = "server" droplet = digitalocean.Droplet( name, image=_image, region=_region, size=_size, ) The server gets created successfully on…
wiwa1978
  • 2,317
  • 3
  • 31
  • 67
0
votes
1 answer

explanation of Service.get from pulumi

I am using pulumi release to deploy a helm chart including many service and trying to get one of the deployed service. https://www.pulumi.com/blog/full-access-to-helm-features-through-new-helm-release-resource-for-kubernetes/#how-do-i-use-it shows…
derek
  • 9,358
  • 11
  • 53
  • 94
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
2