44 questions
0
votes
0
answers
31
views
Minimal pulumi infra from Azure Devops
I'm trying to create a minimal pulumi task from AzureCLI task inside a release pipeline. It works locally, but crashes from Azure Devops ubuntu agent.
#!/bin/bash
cat > __main__.py <<EOF
...
0
votes
0
answers
63
views
Configuring AWS Lambda with EFS in Pulumi
I have been struggling for days trying to get a deployment of Lambda+EFS that actually works
I am using Pulumi in Python
Everything I've tried results in:
Calling the invoke API action failed with ...
1
vote
0
answers
85
views
Pulumi: Possible to get a resource and update it without importing?
I'm using Pulumi to manage some resources in AWS. This really applies to ANY resource created with pulumi but I'll use a security group for this example:
There is a database-sg security group which is ...
0
votes
1
answer
100
views
OpenStack Pulumi integration - Cannot connect due to apparently lacking parameter in YAML file
I am dealing with a strange situation in configuring a Pulumi deployment in order to maintain a IaC for an OpenStack environment.
The deployment is very simple as below, I started from Python:
import ...
0
votes
1
answer
252
views
How to get AWS Managed Policy using Python Pulumi
I'm trying to create an AWS Glue Role run the service properly. I want to use the AWS Managed role AWSGlueServiceRole using the following code:
import json
from pulumi_aws import iam
from pulumi_aws....
1
vote
0
answers
111
views
Pulumi GCP impossible to create a VPC private connection ip not found
I'm using Pulumi to manage GCP infrastructure. I want to create a Cloud SQL instance with a private IP but it keeps failing stating :
error: 1 error occurred:Error waiting for Create Service ...
0
votes
0
answers
302
views
"Invalid Path in Zip Entry": Error Uploading API Proxy Bundle to Apigee using Pulumi in Python
I'm facing the same issue I think. Let me describe mine.
I'm trying to upload an API proxy bundle to Apigee using the gcp.apigee.Sharedflow resource in Python with Pulumi. The bundle I am trying to ...
0
votes
1
answer
284
views
How do I import an existing AWS Route53 registered domain into Pulumi?
I'm just getting started with Pulumi and having a hard time understanding the import command.
In particular, I think the documentation is not clear about how to build a "type token":
Type ...
2
votes
1
answer
611
views
Pulumi: How to create domain validation records for multiple sub domains?
I need to create an AWS ACM certificate with pulumi for multiple wildcard SubjectAlternativeNames, e.g.
*.mydomain.tld
*.subdomain01.mydomain.tld
*.subdomain02.mydomain.tld
Using export as a dev ...
0
votes
1
answer
776
views
"default" not recognized as a valid credentials_source in aws cli
I want to successfully execute a command: pulumi up that leverages AWS SDK to make API calls. Therefore, it uses AWS' CLI configurations and credentials.
Right now, I face the error:
botocore....
2
votes
1
answer
458
views
Using Pulumi to read exported values
I am using python and Pulumi to instanciate a stack. this is them main.py
import pulumi
from pulumi_gcp import pubsub
topic = pubsub.Topic("my-topic")
pulumi.export("topic_name", ...
0
votes
1
answer
300
views
Pulumi AWS API Gateway: How to create CloudWath Logs for Logs/Tracing in Python?
I use Pulumi with the Python module pulumi_aws_apigateway to create Lambda function and API Gateway. I would like to enable CloudWatch Logs with "Full Request and Response Logs" for Logs/...
0
votes
1
answer
619
views
Validating a AWS ACM Certificate using aws.acm.CertificateValidation in Pulumi using python
In Pulumi I create a ACM Certificate with a domain-name and a number of SAN. This is set to get verified using DNS.
The Route53 records get created using the following function. This works as expected ...
0
votes
1
answer
625
views
Pulumi Azure Native - How to manage multiple Azure Subscriptions using Python?
I have 2 Azure Subscriptions(say Subscription A & B) already created, service principal is also configured.
I want to configure diagnostics in Subscription A so that I can send data to a workspace ...
0
votes
1
answer
473
views
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 ...
1
vote
0
answers
183
views
Pass cached conda environment to Pulumi during azure pipeline
So I cache my python dependencies during my pipeline build as described here:
https://medium.com/@andre.gensler/guide-how-to-speed-up-your-python-continuous-integration-pipeline-in-azure-devops-using-...
1
vote
2
answers
946
views
How to add a new app setting to Azure Web App using pulumi without removing the existing settings?
I'm using pulumi azure native for infrastructure as code. I need to create an Azure Web App (based on an App Service Plan) and add some app settings (and connection strings) throughout the code, e.g., ...
0
votes
1
answer
614
views
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 ...
0
votes
1
answer
80
views
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=...
0
votes
0
answers
151
views
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/{...
1
vote
1
answer
928
views
Pulum DigitalOcean: use outputs
I want to create some servers on DigitalOcean using Pulumi. I have the following code:
for i in range(0, amount):
name = f"droplet-{i+1}"
droplet = digitalocean.Droplet(
...
0
votes
1
answer
95
views
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 = ...