https://pulumi.com logo
Docs
Join the conversationJoin Slack
Channels
announcements
automation-api
aws
azure
blog-posts
built-with-pulumi
cloudengineering
cloudengineering-support
content-share
contribex
contribute
docs
dotnet
finops
general
getting-started
gitlab
golang
google-cloud
hackathon-03-19-2020
hacktoberfest
install
java
jobs
kubernetes
learn-pulumi-events
linen
localstack
multi-language-hackathon
office-hours
oracle-cloud-infrastructure
plugin-framework
pulumi-cdk
pulumi-crosscode
pulumi-deployments
pulumi-kubernetes-operator
pulumi-service
pulumiverse
python
registry
status
testingtesting123
testingtesting321
typescript
welcome
workshops
yaml
Powered by Linen
general
  • i

    icy-train-33339

    08/31/2020, 6:54 AM
    I have an issue with create the api schema in azure api management
  • i

    icy-train-33339

    08/31/2020, 6:54 AM
    anyone can help me?
  • s

    sticky-receptionist-53934

    08/31/2020, 9:34 AM
    Good morning!
  • s

    sticky-receptionist-53934

    08/31/2020, 9:35 AM
    Wondering if the "configConnectorConfig" property in the gcp cluster addon does all the configuration necessary for the add on to work, of if the rest of the steps in this guide must be performed manually? https://cloud.google.com/config-connector/docs/how-to/install-upgrade-uninstall#add-on
  • s

    sticky-receptionist-53934

    08/31/2020, 10:00 AM
    Reason I am asking is that after enabling it and deploying some gcp custom resources, even though the resources are created in kubernetes, they do not seem to create a counterpart on GCP
  • s

    sticky-receptionist-53934

    08/31/2020, 10:00 AM
    no errors either, so not sure where I should look at.
  • h

    helpful-processor-86468

    08/31/2020, 10:08 AM
    How can i get programmatically cloud config? For example
    gcp:region
    or
    aws:region
    s
    i
    • 3
    • 2
  • d

    damp-elephant-82829

    08/31/2020, 10:11 AM
    Thanks @millions-microphone-64941 for sharing this
  • d

    damp-elephant-82829

    08/31/2020, 10:12 AM
    Is anyone successfully in obtaining a more verbose debug log? I was expecting the following
    export TF_LOG=TRACE
    pulumi refresh -v 9 --yes && pulumi up --yes -v 9
    to work for me but it didn’t
  • h

    handsome-zebra-11018

    08/31/2020, 3:53 PM
    Is pulumi support deploying docker containers ? Any reference / link? I have a running remote docker host and want to deploy containers on that host using docker API with pulumi
    c
    g
    • 3
    • 3
  • a

    astonishing-quill-88807

    08/31/2020, 4:20 PM
    I'm running into what looks like a deadlock situation. Does anyone have recommendations on how to debug a situation like that? Relevant code here: https://github.com/mitodl/ol-infrastructure/blob/dagster_instance/src/ol_infrastructure/infrastructure/applications/dagster/__main__.py
  • d

    damp-table-85095

    08/31/2020, 5:50 PM
    So, is there really no way to associate a docker image with a Google Compute Engine instance using pulumi? I asked last night but got no answer.
    g
    • 2
    • 1
  • p

    plain-smartphone-70092

    08/31/2020, 5:55 PM
    Hey Guys, i'm trying to use provisioners with CopyFile and changeToken but when i edit the file and want to copy again pulumi doesn't detect any changes. anyone got sugguestions for troubleshooting steps?
  • b

    big-potato-91793

    08/31/2020, 6:00 PM
    Quick question… we got sometime error when executing pulumi inside our cicd pipeline with gitlab-ci.
    ERROR: Job failed (system failure): error dialing backend: dial tcp 10.135.14.46:10250: connect: connection refused
    I wanna know if that’s normal that pulumi trying to reach the kubelet?
  • d

    damp-elephant-82829

    08/31/2020, 6:08 PM
    @big-potato-91793 what kind of resource are you trying to deploy?
    b
    g
    • 3
    • 14
  • g

    gifted-vase-28337

    08/31/2020, 9:36 PM
    Is there an established pattern for organizing stacks into smaller substacks?
    👆 1
    l
    h
    • 3
    • 2
  • m

    many-psychiatrist-74327

    09/01/2020, 12:03 AM
    👋 general question about plugins. I manually install the versions of the plugins that i want, by doing:
    pulumi plugin install resource aws v3.2.0
    pulumi plugin install resource kubernetes v2.4.3
    But sometimes when I then run
    pulumi up
    , pulumi starts installing different versions of the same plugins..
    pulumi up
    Previewing update (dev):
    [resource plugin aws-3.2.1] installing
    Downloading plugin: 0 B / 68.86 MiB [----------------------------------]   0.00%
    [resource plugin kubernetes-2.5.0] installing
    Can I disable that? Where is it configured?
    g
    l
    • 3
    • 6
  • c

    chilly-magazine-6129

    09/01/2020, 1:10 AM
    if I have a multi-file node project (multiple local modules), in a Lambda setting, what's the proper way to have Pulumi deploy them along with the definition of the Lambda callback?
  • d

    damp-elephant-82829

    09/01/2020, 7:49 AM
    Hey guys, I think I have hit an infinite recursion problem, activating the service usage API fails with pulumi because… well because the service usage API has not been activated yet!
    gcp:projects:Service (EnableServiceUsage):
    Step #9 - "Pulumi Create Stack":     error: Error when reading or editing Project Service : Request "List Project Services my-project" returned error: Failed to list enabled services for project my-project: googleapi: Error 403: Service Usage API has not been used in project XYZ before or it is disabled. Enable it by visiting XYZ then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry., accessNotConfigured
    g
    • 2
    • 1
  • m

    microscopic-xylophone-85966

    09/01/2020, 1:50 PM
    sup guys trying to launch test example of aws sns on empty project with the latest libraries, has panic accessing nil (golang): https://gist.github.com/afoninsky/250c1dbb96ff00ceaa2d830f0535fc93 I wonder if somebody met similar behaviour?
    l
    • 2
    • 6
  • a

    astonishing-quill-88807

    09/01/2020, 2:56 PM
    I'm running into an issue with creating a Vault database connection due to errors with parsing the connection URL. I'm not sure if it's because I'm trying to pass in the host_url as an Output object and it's not resolving before trying to pass it to Vault?
    db_config.db_connection = 'postgres://{{db_user}}:{{db_pass}}@{{db_host}}:{{db_port}}/{{db_name}}'        
    self.db_connection = database.SecretBackendConnection(
                f'{db_config.db_name}-database-connection',
                opts=resource_opts.merge(ResourceOptions(parent=self.db_mount)),
                backend=db_config.mount_point,
                verify_connection=db_config.verify_connection,
                name=db_config.db_name,
                data={
                    'username': db_config.db_admin_username,
                    'password': db_config.db_admin_password,
                    'db_host': db_config.db_host,
                    'db_port': db_config.db_port,
                    'db_name': db_config.db_name
                },
                **{db_config.db_type: {
                    'connection_url': db_config.db_connection
                }}
            )
  • a

    astonishing-quill-88807

    09/01/2020, 2:57 PM
    The host_url is the
    address
    attribute of a created RDS instance.
    g
    • 2
    • 1
  • s

    sticky-receptionist-53934

    09/01/2020, 3:00 PM
    say you have a large pulumi project and something goes bananas, it happens not very often but sometimes. You need to export the stack, remove pending operations but then you may remove operations that other resources are dependant on and you end in a loop that takes hours to solve. Is there are faster way? can I just remove manually all resources and then tell pulumi to start from clean slate?
    w
    • 2
    • 20
  • i

    incalculable-dream-27508

    09/01/2020, 3:36 PM
    There's apparently something called
    lifecycle
    which for example could let me specify "*don't* delete this VM when
    user_data
    changes", but the only mentions of it I found are in https://www.pulumi.com/docs/reference/pkg/aws/ec2/launchconfiguration/ which points to https://www.terraform.io/docs/configuration/resources.html. So how does one specify this? (in python, if that makes a difference)
    c
    • 2
    • 5
  • v

    victorious-country-25661

    09/01/2020, 4:28 PM
    Hi everyone. I tried to change my stack passphrase and now I'm getting the following error:  
    Preview failed: unable to discover AWS AccessKeyID and/or SecretAccessKey
    I'm not being able to fix this issue, I reviewed my .aws/credentials and .pulumi/credentials but no idea. Any idea?
  • e

    echoing-breakfast-73834

    09/01/2020, 6:05 PM
    How does Pulumi detect changes with FileArchive/AWS Lambda function resoruces? Every time I do a deployment in a CI/CD pipeline all lambdas redeploy regardless of if the actual content has changed. Looking to find a way around this.
  • h

    handsome-zebra-11018

    09/01/2020, 6:11 PM
    I am deploying docker container on our docker host which support docker API version 1.39 but not latest one. From docker cli, we can set version and can connect to docker host.
    export DOCKER_API_VERSION=1.39
    However with pulumi, its not working There is no option to set API version https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/docker/config/ When deploy with pulumi I am getting error
    error: Error pinging Docker server: request returned Internal Server Error for API route and version <https://DNS>:PORT/_ping, check if the server supports the requested API version`
    I am using below config with pulumi
    docker:host: "<tcp://DNS:PORT>
    docker:certPath: "valid path to docker-cert"
    docker:tlsVerify: 1
    docker:apiVersion: 1.39
    Any help here?
  • h

    handsome-zebra-11018

    09/01/2020, 6:20 PM
    our docker host do not support latest version 1.40 so how can I set lower API version in Pulumi
    ➜  mta git:(pulumi) ✗ export DOCKER_API_VERSION=1.40
    ➜  mta git:(pulumi) ✗ docker ps
    Error response from daemon: client version 1.40 is too new. Maximum supported API version is 1.39
    ➜  mta git:(pulumi) ✗
    s
    • 2
    • 3
  • c

    clever-application-33365

    09/01/2020, 6:52 PM
    Hey, I have a scenario of a production environment with many single tenant EC2 based copies of our application. Each instance is a different tenant. Couple of questions: • Design-wise, would I create a stack for each one or one big stack for all? • If the first is prefered, what is the best way to create and update multiple stacks at once?
    g
    • 2
    • 1
  • b

    billowy-kangaroo-51688

    09/01/2020, 6:56 PM
    Is there a full example of a HTTP API Lambda integration using
    aws.apigatewayv2
    ? I’ve got a pretty simple
    awsx.apigateway
    with only Lambda proxy routes I’d like to migrate to v2
    • 1
    • 2
Powered by Linen
Title
b

billowy-kangaroo-51688

09/01/2020, 6:56 PM
Is there a full example of a HTTP API Lambda integration using
aws.apigatewayv2
? I’ve got a pretty simple
awsx.apigateway
with only Lambda proxy routes I’d like to migrate to v2
Can I use an existing
aws.apigateway.DomainName
or does it have to be a v2 DomainName?
To answer my question about the
DomainName
it should work with a v1, but has to be
regional
as far as I understand. I’ll add my complete API Gateway v2 example soonish.
View count: 1