https://pulumi.com logo
Join Slack
Powered by
# general
  • e

    echoing-noon-85874

    05/18/2025, 1:18 PM
    image.png
  • s

    some-angle-23288

    05/18/2025, 9:15 PM
    Is it possible to disable downloading plugins and provide a custom path to them?
    l
    • 2
    • 4
  • s

    some-angle-23288

    05/18/2025, 9:19 PM
    It seems if the plugin executable is already found, it doesn't install it into ~/.pulumi/plugins. I wanted a way to prevent automatically installing whichever plugin pulumi can't already find
  • s

    some-angle-23288

    05/18/2025, 9:40 PM
    Can I have multiple versions of the same plugin? If so how can I specify a function or type from a specific version?
    • 1
    • 2
  • i

    icy-controller-6092

    05/19/2025, 12:39 AM
    has anyone played with Alchemy? the creator is making some fairly inaccurate claims about Pulumi
    e
    • 2
    • 1
  • i

    icy-controller-6092

    05/19/2025, 12:51 AM
    https://alchemy.run/docs/what-is-alchemy#how-is-alchemy-different-than-traditonal-iac
  • a

    adamant-lawyer-19698

    05/19/2025, 5:15 AM
    I started Pulumi with Java. The multi-language support was its best selling point. BTW, Alchemy is a stinking word.
  • s

    strong-wolf-79326

    05/19/2025, 8:10 AM
    Has anyone compared pulumi-github with the GitHub Provider for terraform? In my experience, the terraform provider is fiddly, incomplete, and not yet ready for automation - at least not for all the GitHub infra I'd like to manage. Is pulumi-github substantially better? (Even though I assume it, like the tf provider, both leverage the same golang API?) OTOH, I've found very few (2?) reports from anyone using IaC to mange GitHub itself, so I wonder if I'm looking at the problem in the wrong way. Like, maybe what I need is an IDP, Backstage scaffolding, or the like. Or maybe I should separate user management from repo management, and use different tools for each? (Which are generally used by different groups of users) Any pointers appreciated.
    w
    • 2
    • 5
  • b

    breezy-judge-31680

    05/20/2025, 7:19 AM
    I'd like to run
    pulumi up
    with
    --yes-if-nothing-dangerous
    which, of course, doesn't exist. The idea would be to act like
    --yes
    but only if there are no deletions or replacements. • are there any plans to add this sort of functionality? • has anyone come up with something that does this short of dumping preview/etc output and glorified
    grep
    ing it?
    e
    l
    • 3
    • 5
  • a

    ancient-dream-54685

    05/20/2025, 4:38 PM
    Does
    pulumi refresh --stack org/project/stack
    always require a
    Pulumi.yaml
    file? We rely on the automation api extensively, so lots of time there isn't a
    yaml
    file available.
    • 1
    • 2
  • b

    bored-sunset-10957

    05/21/2025, 12:41 PM
    We are currently trying to migrate existing stacks from snowflakes old user type to the new service_user type (https://www.pulumi.com/registry/packages/snowflake/api-docs/serviceuser/). I am struggling to find a decent approach on how to achieve a clean migration. The user that we want to migrate is at the same time utilized in the provider specification for some other objects which can not be deleted and recreated. Does anyone have a proposal on how we should handle this migration?
    a
    • 2
    • 1
  • f

    fancy-journalist-34790

    05/21/2025, 5:40 PM
    quick question: how do you add a "Package" in a java automation?
  • f

    fancy-journalist-34790

    05/21/2025, 5:41 PM
    I have included the generated sources for the SDK, but am guessing since in automations I don't have an actual Pulumi.yaml I need to also register the package / make it available, etc
    e
    • 2
    • 8
  • e

    echoing-noon-85874

    05/21/2025, 6:02 PM
    if i am using the automation API and Is there a way to get the current stack data and modify the resources name and all then create a new stack using it
    l
    • 2
    • 1
  • b

    boundless-receptionist-75917

    05/22/2025, 7:46 AM
    Hi. We're looking into creating an resource in project/stack A that is references with a stack reference in another project/stack B. When we modify the resource in A pulumi decides that it needs to be replaced and the original A is deleted. A is a resource group in azure which means that all resources created in that resource group in B also will get deleted. Is there a way to have Pulumi report that those resources in B will get affected by the changes in A when we update the resource in A?
  • b

    boundless-receptionist-75917

    05/22/2025, 7:47 AM
    We're using the pulumi cloud as backend, so I'd assume that it could lookup if the stack reference is in use at least somewhere.
    e
    b
    • 3
    • 2
  • m

    mammoth-memory-47255

    05/22/2025, 1:20 PM
    Is it possible to detect (from code) what policy packs are enabled?
    e
    • 2
    • 3
  • h

    hallowed-vegetable-21271

    05/22/2025, 9:23 PM
    🚀 Nuevo episodio de CursaCloud 🎙️ "De YAMLs a código real: ¿es Pulumi el futuro del IaC?" ¿Y si pudieras escribir tu infraestructura con el mismo lenguaje que usás para programar? Sin YAMLs eternos. Sin configuraciones repetidas. Sin limitarte a lo declarativo. 🔗 Escuchalo acá en Spotify: https://open.spotify.com/episode/6S9szWdOr5AvJ2eRNZ1xu6?si=Lu81R6_GSK2R72oqNrKotA
    m
    • 2
    • 1
  • s

    salmon-leather-17096

    05/23/2025, 4:56 PM
    Any plans on a more fully supported redpanda package https://www.pulumi.com/registry/packages/redpanda/?
    m
    • 2
    • 5
  • b

    broad-animal-7844

    05/26/2025, 8:17 AM
    Hi. Is there something wrong with the pulumi installation? the screenshot is Github Action failing when trying to access https://get.pulumi.com/releases/plugins/pulumi-resource-std-v1.7.2-linux-amd64.tar.gz
    l
    • 2
    • 2
  • w

    wide-scientist-6242

    05/26/2025, 3:09 PM
    Hi, I think I need some clarification/guidance on stack selection. We do have pulumi in CI/CD running for a while now, and are doing pulumi stack select and pulumi up in different commands similar to https://www.pulumi.com/docs/iac/using-pulumi/continuous-delivery/gitlab-ci/ - but somewhere between pulumi 3.154 and 3.171 the stack selection ceased to be persistent. I can reproduce it with local docker containers and stack select then stack ls and can see the stack in ~/.pulumi/workspaces/ Some LLM chat claimed deprecation and using stack parameters all over being the way to go, but references since vanished docs. What is the official situation here? Bug? Deprecation? Am I holding it wrong?
    • 1
    • 2
  • b

    billowy-fall-69043

    05/27/2025, 5:08 PM
    Has anyone got a working example of a github action that uses uv with pulumi?
  • e

    elegant-arm-64624

    05/31/2025, 3:38 AM
    hello newbie here has anyone got pulumi automation api working with gcp i am using pulumi access token
  • e

    elegant-arm-64624

    05/31/2025, 3:39 AM
    import os from dotenv import load_dotenv import pulumi from pulumi import automation as auto from pulumi_gcp import compute # Load environment variables from .env load_dotenv(r"C:\Users\USER\OneDrive\Desktop\scaling_considerations\prod\deployment_manager\.env") # 1. Define the Pulumi program def pulumi_program(): # Create a VPC network compute_network = compute.Network("network", auto_create_subnetworks=True) # Allow HTTP and SSH access compute_firewall = compute.Firewall( "firewall", network=compute_network.self_link, allows=[compute.FirewallAllowArgs(protocol="tcp", ports=["22", "80"])], source_ranges=["0.0.0.0/0"], ) # Reserve a static external IP instance_addr = compute.Address("address", region=os.environ["GCP_REGION"]) # Define instance metadata to run a Docker container container_metadata = { "gce-container-declaration": """ spec: containers: - name: hello image: nginxdemos/hello ports: - containerPort: 80 restartPolicy: Always """, "google-logging-enabled": "true", } # Launch the VM with Container-Optimized OS and the container compute_instance = compute.Instance( "instance", machine_type="e2-medium", metadata=container_metadata, boot_disk=compute.InstanceBootDiskArgs( initialize_params=compute.InstanceBootDiskInitializeParamsArgs( image="cos-cloud/cos-stable" ) ), network_interfaces=[ compute.InstanceNetworkInterfaceArgs( network=compute_network.id, access_configs=[ compute.InstanceNetworkInterfaceAccessConfigArgs( nat_ip=instance_addr.address ) ], ) ], zone=os.environ["GCP_ZONE"], service_account=compute.InstanceServiceAccountArgs( scopes=["https://www.googleapis.com/auth/cloud-platform"] ), opts=pulumi.ResourceOptions(depends_on=[compute_firewall]), ) # Export outputs pulumi.export("instanceName", compute_instance.name) pulumi.export("instanceIP", instance_addr.address) # 2. Use the Automation API with env values def main(): stack_name = "dev" project_name = "gcp-vm-docker" # Load environment variables gcp_project = os.environ["GCP_PROJECT"] gcp_region = os.environ["GCP_REGION"] gcp_zone = os.environ["GCP_ZONE"] # Create or select a stack stack = auto.create_or_select_stack(stack_name=stack_name, project_name=project_name, program=pulumi_program,) print("Installing plugins...") stack.workspace.install_plugin("gcp", "v6.0.0") # Adjust version as needed print("Setting config from environment variables...") stack.set_config("gcp:project", auto.ConfigValue(value=gcp_project)) stack.set_config("gcp:region", auto.ConfigValue(value=gcp_region)) stack.set_config("gcp:zone", auto.ConfigValue(value=gcp_zone)) print("Refreshing stack...") stack.refresh(on_output=print) print("Updating stack...") up_result = stack.up(on_output=print) print(f"Instance name: {up_result.outputs['instanceName'].value}") print(f"Instance IP: {up_result.outputs['instanceIP'].value}") if name == "__main__": main()
  • a

    adamant-finland-93186

    06/02/2025, 1:13 PM
    Hi all, We see a lot of requests to our state backend when doing a
    pulumi up
    without any changes. Is this expected behavior? I would expect Pulumi to only make a snapshot if something changes, is that not the case? We have found the skip-checkpoints flag, but would like to better understand the underlying issue (if any) before we enable it. Our large >3000 resource stacks are currently taking a very long time (>40min) to
    up
    even if there are little or no changes and are looking to speed it up.
    e
    • 2
    • 12
  • w

    witty-battery-42692

    06/02/2025, 6:46 PM
    Is there any way to enforce on a stack or org level what pulumi client version is being used? Essentially want to confirm that users are using the same version, or at least a sufficiently updated one
    e
    • 2
    • 2
  • m

    mammoth-memory-47255

    06/03/2025, 11:21 AM
    Can a dynamic provider depend on outputs from another resource?
    l
    • 2
    • 9
  • m

    mammoth-memory-47255

    06/03/2025, 8:06 PM
    I ran into an issue where I have a set of resources with dependencies between them, where the graph I want to create is a DAG (ie. no cycles) but because of the way the resources are grouped into ComponentResources, there's no way to set up the dependencies correctly. Is there a way to add a dependency to a resource after creating it?
    e
    • 2
    • 2
  • e

    echoing-battery-61643

    06/04/2025, 5:26 PM
    What is the recommended way to promote code from one environment to another, for example from dev to stage then to prod? I can use the pulumi project and stacks constructs but im not sure if that gives me the controls that i need. For example if i create an AWS EKS cluster in a project and launched it to all stacks (dev, stage, prod). Then i need to make a change, something that is not as easy as a parameter that can be in the stack environment config, something like changing networking cni. This will be a bunch of various code changes and it could take a while to roll out with testing along the way in the various environments (dev, stage, prod). Once i have made this change in dev and it is working for me, i would like to open a PR to get it reviewed, merged and then versioned so that the next environment can use it. I would like that the project or stack can reference a github URL that can ref a tag/commit. I am coming from the Terraform world where you can do this via:
    Copy code
    module "consul" {
      source = "github.com/hashicorp/example?ref=v1.2.0"
    }
    Is there something similar in pulumi? Does this make sense to do or am i trying to follow too closely to what i have done in Terraform? I have found Pulumi Components: https://www.pulumi.com/docs/iac/using-pulumi/extending-pulumi/build-a-component/#sharing-via-git. This gets me most of the way there but i still have to run a
    Copy code
    pulumi package add <repo_url>@<release-version>
    Which means i have to run this command and the CI/CD pipeline has to run it as well. This would mean adding a script that runs this command with the version? So the person updating it would have to update the version here? Not the worst thing but the workflow seems to be just a little off as in it is making the user look into another file that is not a Pulumi file to update a version number. Other notes: • i am only using python • I dont want to publish these publicly. Not that there are any secrets or proprietary things in it. For now, we dont want to spend time to make it publicly consumable.
    l
    f
    • 3
    • 16
  • p

    purple-pencil-32998

    06/05/2025, 10:37 AM
    #C84L4E3N1 I am currently only working on ABC guest posting. If you have opportunities for that, please let me know. I am interested in link exchanges with SaaS sites. I need sites with stats, DR 50+, and Traffic: 5K+. Must be from Tier One countries. Likewise, the UK. US, CA, AU