https://pulumi.com logo
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
  • l

    limited-rainbow-51650

    12/11/2020, 12:33 PM
    Are there any Pulumi users out here driving their infrastructure deployments via Concourse CI?
  • c

    clever-crowd-18899

    12/11/2020, 4:21 PM
    Hi, I am trying to configure a cert-manager chart with helm v3, it works without setting chart values, but I need to install the CRD, when I pass installCRDs=true I get the following error when running pulumi up:
    TypeError: __init__() got an unexpected keyword argument 'status'
    error: an unhandled error occurred: Program exited with non-zero exit code: 1
    The first time I got this error I tried to apply the CRD with pulumi yaml, but I got the same error.
  • c

    clever-crowd-18899

    12/11/2020, 4:21 PM
    here is how I am trying to configure:
  • c

    clever-crowd-18899

    12/11/2020, 4:22 PM
    cert_manager = Chart( "cert-manager-helm-chart", ChartOpts( chart="cert-manager", version="v1.1.0", namespace="cert-manager", fetch_opts=FetchOpts( repo="https://charts.jetstack.io/", ), values={ "installCRDs": True } ), opts=ResourceOptions(provider=k8s_provider) )
    b
    • 2
    • 1
  • c

    clever-crowd-18899

    12/11/2020, 4:23 PM
    Also if I change installCRDs to anything else, it will work
  • c

    clever-crowd-18899

    12/11/2020, 5:05 PM
    @billowy-army-68599 gave me solution that worked . Thank you @billowy-army-68599
    ❤️ 1
  • b

    big-account-56668

    12/12/2020, 10:23 AM
    How can i cancel a pending resource deletion that is failing? I tried to remove a role without forcing policy detachment and now I can't apply an update with the force detatch attribute set as the previous update is applied first and is failing. If I export the state and edit the resource to manually drop
    "delete": true
    , how can I then import the new state into the backend?
    pulumi import --file x.json
    does not work.
    b
    • 2
    • 2
  • p

    proud-pizza-80589

    12/13/2020, 4:27 PM
    Maybe a stupid question related to stacks. Let’s say i have an app in a staging and production version and i want to run both in their own namespace on a single cluster. Do i make 2 stacks and share the cluster code? Or does everything need to be in one stack?
    b
    • 2
    • 8
  • i

    icy-london-56932

    12/13/2020, 5:14 PM
    how can I use Pulumi to add/update a key in an existing Vault generic secret? essentially,
    vault kv patch
    b
    • 2
    • 1
  • p

    proud-pizza-80589

    12/13/2020, 6:01 PM
    I have a super weird error creating a cluster,
    gcp:container:Cluster launchpad  error: gcp:container/cluster:Cluster resource 'launchpad' has a problem: ConflictsWith
    But not what it conflicts with. I have no such cluster in GKE.
    • 1
    • 2
  • f

    fresh-summer-65887

    12/13/2020, 9:43 PM
    I think the API search results could include a bit more context would be an improvement.
    💯 3
  • w

    worried-queen-62794

    12/13/2020, 10:11 PM
    How can I manually edit the stack state? I deleted an AWS resource manually and now I can't
    refresh
    as it fails with:
    aws:codedeploy:DeploymentGroup (Platform):
        error: Preview failed: refreshing urn:pulumi:prod::tlayen-infrastructure::aws:codedeploy/deploymentGroup:DeploymentGroup::Platform: 1 error occurred:
        	* ApplicationDoesNotExistException: No application found for name: Platform-88112c2
    l
    • 2
    • 4
  • f

    fierce-ability-58936

    12/13/2020, 10:30 PM
    Out of curiosity, what does
    remote
    mean in
    Resource
    constructor? https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/#Resource-constructor
  • w

    worried-queen-62794

    12/13/2020, 10:35 PM
    Where does pulumi get the expected plugin version from? I'm getting:
    pulumi:providers:datadog (default_3_19_3):
        error: no resource plugin 'datadog-v3.19.3' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource datadog v3.19.3`
    It should be looking for 2.13.0. 3.19.3 is the version of the AWS plugin.
    l
    s
    • 3
    • 17
  • w

    worried-queen-62794

    12/14/2020, 2:04 AM
    I had an update fail. When I ran it again, it tried deleting resources from the previous deployment that were to be replaced. It is now trying to delete something that is in use and it doesn't look to have created the replacement. Shouldn't it be creating the replacement before deleting? How do I tell it to stop trying to delete it?
    l
    • 2
    • 8
  • d

    damp-tiger-87899

    12/14/2020, 11:27 AM
    Is there any way to create some kind of parent-child relationship between resources, so that if I delete the parent resource, the deletion of child resources will be skipped? Use case: Using Pulumi, I spin up EC2 instances, install a custom Kubernetes cluster on top of them, create Pulumi's KubernetesProvider and install my Helm charts using it. When I'm destroying my stack, I just want to destroy the EC2 instances, without destroying the Kubernetes resources themselves. That takes a lot of time and they will be deleted anyways when my EC2 instances are deleted.
    p
    • 2
    • 1
  • w

    wet-sunset-4939

    12/14/2020, 11:33 AM
    Hi All, I’m using Pulumi for AKS, it is allow to change vmsize of node from portal without rebuild the whole cluster. However changing in pulumi code needs. How to prevent this?
  • e

    elegant-island-39916

    12/14/2020, 2:45 PM
    Hi are there any examples for setting up EKS ALB ingress where the cluster is on a private subnet (and ALB is on a public subnet)?
  • p

    prehistoric-nail-50687

    12/14/2020, 4:18 PM
    How do you guys deal with situations where you need to trigger a restart of an application after it has been updated? e.g. Azure only restarts the application (WebApp) if it was in running state before. So if a deployment caused the application to crash, any further deployment will not bring it up until it is explicitly started.
    l
    s
    • 3
    • 4
  • s

    sticky-salesmen-55696

    12/14/2020, 5:27 PM
    How do we provide access to EKS cluster to the group using python ?
  • a

    acceptable-energy-6360

    12/14/2020, 7:20 PM
    Is it possible to access stack outputs (ex:
    bucketName
    ) during runtime such as from a lambda handler from a separate file using the pulumi SDK?
  • s

    sparse-gold-89283

    12/14/2020, 8:52 PM
    Is there a way to get pulumi stack output in a non pulumi project, or at least outside of
    pulumi up
    ? Use case is a larger project based on serverless framework that's workflow is specific to the serverless framework. I would still like to be able to use
    getOutputValue
    like we do for sharing values across pulumi projects or cli to dump outputs to a file for setting vpc settings and s3 buckets created by our pulumi infrastructure project.
    l
    • 2
    • 1
  • l

    loud-battery-37784

    12/14/2020, 9:14 PM
    What is the best way to exit a
    pulumi up
    run gracefully? Use case is we’re setting an env variable in a shell script in CICD. If that variable doesn’t exist I want to not kick out of the process. I implemented this (JS/TS):
    const imageVersion = process.env.IMAGE_VERSION || '';
    if (!imageVersion) {
      throw new Error(`Image version is not present!`);
    }
    Which works but when
    up
    exits this way the outputs are destroyed which I don’t want to have happen.
    l
    • 2
    • 9
  • m

    mysterious-oyster-86659

    12/15/2020, 1:02 AM
    I'm encountering an issue using
    pulumi refresh
    . The following block shows the error:
    Diagnostics:
      aws:redshift:SnapshotScheduleAssociation (redshift-snapshot-schedule-association):
        error: Preview failed: refreshing urn:pulumi:dev1::ucboitlake::aws:redshift/snapshotScheduleAssociation:SnapshotScheduleAssociation::redshift-snapshot-schedule-association: 1 error occurred:
        	* Unable to find Redshift Cluster (dim-redshift-cluster) Snapshot Schedule (redshift-snapshot-schedule) Association
    
      pulumi:pulumi:Stack (ucboitlake-dev1):
        error: preview failed
    This is occurring (I assume) because I manually used the console to delete my Redshift cluster, which automatically removed all snapshot information. That's all good and well. I've done this kind of thing before and
    pulumi refresh
    detects the changes without errors occurring. However, after introducing custom snapshot functionality and manually deleting via the console, this is the outcome. Does anyone know a workaround or solution for this type of problem?
    l
    • 2
    • 5
  • c

    colossal-easter-73659

    12/15/2020, 3:35 AM
    is this possible using pulumi? api gateway in east pointing to a lambda in the west region? have not been able to find any examples or reproduce. but I can generate this behavior in the console
    l
    • 2
    • 2
  • l

    little-cartoon-10569

    12/15/2020, 4:24 AM
    Is there a provider for ActiveDirectory? I see the AzureAD provider: is there an equivalent for self-managed AD (or better, Managed MicrosoftAD in AWS' Directory Service)?
    • 1
    • 3
  • s

    steep-angle-29984

    12/15/2020, 10:27 AM
    Sorry for posting my pulumi-kubernetes question here too, but does anyone have an opinion on my question: https://pulumi-community.slack.com/archives/CRFURDVQB/p1607968759355400
  • m

    mysterious-oyster-86659

    12/15/2020, 3:06 PM
    Is there a Pulumi resource to define and manage Redshift start/stop scheduling? I have been unable to find any material for that - see image below for context of where to find this via the AWS console:
    b
    • 2
    • 2
  • p

    prehistoric-nail-50687

    12/15/2020, 4:04 PM
    How can I change a resource twice in the same stack? I have the following problem: I would like to use cloudflare in front of our azure webapps (as proxy). To do so, I need to configure a custom domain on the azure webapp (with pulumi) and have the DNS entry configured on cloudflare (with pulumi) without proxy, but DNS only. Now azure needs to validate the DNS entry and for this to work, cloudflare must not be configured as proxy for the given DNS. Once azure has done the validation, the proxy setting on cloudflare record must be enabled for the given DNS entry which I just created before. I wonder how this can be done with pulumi? Just to be clear, I think I know all the pulumi resources involved to create the configuration, but how can I apply some kind of flow to do this?
  • e

    eager-lion-7694

    12/15/2020, 6:24 PM
    i’ve been having deploy issues with 1 of my 2 fargate services when running
    pulumi up
    with the error after about 10 minutes:
    error waiting for service (service arn) to reach a steady state: ResourceNotReady: exceeded wait attempts
    I see one task in ithe service with the status
    RUNNING
    , but the task definition starts with
    [INACTIVE]
    . I noticed that my working fargate service includes the message
    has reached a steady state.
    in the Events tab. What determines a “steady state” for a Fargate service? Does this have anything to do with the
    desiredCount
    of tasks while deploying?
    • 1
    • 1
Powered by Linen
Title
e

eager-lion-7694

12/15/2020, 6:24 PM
i’ve been having deploy issues with 1 of my 2 fargate services when running
pulumi up
with the error after about 10 minutes:
error waiting for service (service arn) to reach a steady state: ResourceNotReady: exceeded wait attempts
I see one task in ithe service with the status
RUNNING
, but the task definition starts with
[INACTIVE]
. I noticed that my working fargate service includes the message
has reached a steady state.
in the Events tab. What determines a “steady state” for a Fargate service? Does this have anything to do with the
desiredCount
of tasks while deploying?
increasing
desiredCount
to 2 didnt do anything. But I noticed an error in one of the containers but not the other? how would that happen
View count: 2