• s

    square-dress-80180

    4 months ago
    I have had a couple times run into an issue where my call to
    <stackname>.get_output('foo')
    silently fails and I only find out when some resource mysteriously isn’t configured correctly. The root of the error is me doing something silly like misspelling the variable name and I usually find it in not too long, but it would certainly make it easier to catch if the failure wasn’t silent. What is the rationale for not throwing an error during preview to prevent these issues?
    s
    f
    4 replies
    Copy to Clipboard
  • m

    many-secretary-62073

    4 months ago
    I am trying to follow along with the example here to create Azure Container Apps. My experience does not match with the expectation of that example. On line 24 a “type” parameter is specified, but the
    KubeEnvironmentArgs
    doesn’t actually allow that field. Additionally, there is no setter for the “type” property, so I cannot set the value after init either. In the end, I get this error response:
    azure-native:web/v20210301:KubeEnvironment (env):
        error: Code="BadRequest" Message="KubeEnvironment is invalid.  Must specify either AksResourceID or ArcConfiguration or 'type' must be 'Managed'." Details=[{"Message":"KubeEnvironment is invalid.  Must specify either AksResourceID or ArcConfiguration or 'type' must be 'Managed'."},{"Code":"BadRequest"},{"ErrorEntity":{"Code":"BadRequest","ExtendedCode":"51021","Message":"KubeEnvironment is invalid.  Must specify either AksResourceID or ArcConfiguration or 'type' must be 'Managed'.","MessageTemplate":"{0} is invalid.  {1}","Parameters":["KubeEnvironment","Must specify either AksResourceID or ArcConfiguration or 'type' must be 'Managed'."]}}]
    How can I provide this value?
  • m

    mysterious-hamburger-19066

    4 months ago
    Hello. How do I copy an entire directory from local machine to the VM created by pulumi? I see that there is a command plugin, but it only seems to allow you to copy a file.
  • q

    quick-telephone-15244

    4 months ago
    complete and utter shot in the dark--has anyone ever seen something similar to this error when creating an EKS cluster with ManagedNodeGroups
    debug_error_string = "{"created":"@1653589486.232131000","description":"Error received from peer ipv4:127.0.0.1:64115","file":"src/core/lib/surface/call.cc","file_line":904,"grpc_message":"Cannot read properties of undefined (reading 'map')","grpc_status":2}"
    q
    w
    2 replies
    Copy to Clipboard
  • q

    quick-telephone-15244

    4 months ago
    literally at
    -v=9
    for
    up
    and it's still not entirely clear how i'm getting to that/what the underlying issue is.
  • p

    purple-architect-30534

    4 months ago
    I'm getting this using pulumi in Github Actions and I'm not sure how to fix this
    p
    s
    2 replies
    Copy to Clipboard
  • o

    orange-crowd-9665

    3 months ago
    Hello! On GCP, I'm creating PubSub Schemas (w/ gRPC), and then after PubSub topics with those schemas (w/ ResourceOptions depends_on parameter). A problem arises when I update my .proto files. I don't know the inners of Pulumi, but everytime I update a schema, the PubSub topics that rely on it will result in a "Deleted Schema" state. What are the best practices to update PubSub schemas?
  • c

    crooked-sunset-90921

    3 months ago
    having a brain block... if I have a function that returns a dict, how do I get just the one specific key from the function... it's obviously not myfunc().get("bla"), but something on those lines?
    c
    b
    2 replies
    Copy to Clipboard
  • w

    white-terabyte-21934

    3 months ago
    Hello , Looking for an advice , I am trying pulumi with python and would like to know the better usage of Output . • Creating a resources let say r = xx.CreateResources(…) ==> r (A pulumi output object) • Would like to extract the raw value of a property ,let say r.http_url (which is again a type of
    pulumi.output.Output object
    . • Would like to print these values via a print statement (like terraform output format) ,what is the best way to fetch the value via Ouput() method ?
    w
    b
    5 replies
    Copy to Clipboard
  • b

    breezy-book-15761

    3 months ago
    Hello, I'm trying to set up a gcp project from scratch, including enabling some APIs and I'm trying to set up some sort of dependency control to get it to work:
    """A Google Cloud Python Pulumi program"""
    
    import pulumi
    import pulumi_gcp as gcp
    
    cloud_resource_manager_api = gcp.projects.Service('crm_api', service="<http://cloudresourcemanager.googleapis.com|cloudresourcemanager.googleapis.com>")
    project = gcp.organizations.get_project_output(opts=pulumi.InvokeOptions(parent=cloud_resource_manager_api))
    cloud_run_api = gcp.projects.Service('cloud_run_api', disable_dependent_services=True, disable_on_destroy=True, project=project.id.apply(lambda project_id: project_id), service="<http://run.googleapis.com|run.googleapis.com>")
    b
    p
    68 replies
    Copy to Clipboard