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
  • a

    adorable-gpu-98268

    02/28/2022, 3:28 PM
    Does the pulumi project name have to be unique in an organization or can I have the same project name in different git repositories?
    e
    b
    • 3
    • 5
  • a

    adorable-waitress-13708

    02/28/2022, 3:51 PM
    Hi, are there any Pulumi staff on this channel
    e
    b
    • 3
    • 9
  • h

    happy-cat-93167

    02/28/2022, 9:02 PM
    Hi I am part of an organization working with Pulumi. I created a support ticket for it but it's not assigned to my org. Can someone help me there?
    b
    b
    • 3
    • 2
  • a

    agreeable-doctor-28278

    03/01/2022, 12:02 AM
    Hi all! is there any recommended way to deploy resources to only one stack in your project? for example, i only want to deploy an SNS topic and Cloudwatch alarms to my production stack, but not to my development or test stack. Thanks the help!
    l
    p
    • 3
    • 10
  • e

    echoing-activity-32278

    03/01/2022, 11:50 AM
    HI team, the doc is still from 2017, but the recent preview is 2021, https://www.pulumi.com/registry/packages/azure-native/api-docs/dbforpostgresql/server/. any reason not to update it ?
    g
    • 2
    • 2
  • p

    prehistoric-kite-30979

    03/01/2022, 12:20 PM
    Hi, is there a correct way to model internal dependencies in a component resource? My example here is I create a private endpoint and the postgres instance in the same component resource. Things that depend on the postgres instance try to connect to it as soon as the postgres instance is created, but obviously can’t reach it until the private link has been created.
    e
    • 2
    • 1
  • s

    some-continent-1577

    03/01/2022, 12:33 PM
    Hello, is it possible to modify the ASG tags of an EKS cluster? I’ve tried a few things but am worried that I’ll have to recreate the entire nodegroups for this
    g
    • 2
    • 7
  • p

    proud-art-41399

    03/01/2022, 1:17 PM
    Hi, I have the following use case. In the Pulumi program, I first provision an S3 bucket (with website hosting enabled) and a user who has permissions to access it. The bucket policy denies other access. Then I need to build a frontend web application and provide the user's access and secret key as env varibles for the build process. The web app is bundled as a single HTML file which servers as a bucket's index document. I'd like to provision this
    index.html
    (frontend web app build artifact) as a bucket object in the Pulumi program. How to achieve this? I'm thinking of running the build process with Command provider but I'm not sure if that's the right way. The two other alternatives I thought of: • Run a process (I'm using Python) in the Pulumi program but I'm not sure how to wait for the result before provisioning the bucket object. • Export the user's credentials as Pulumi outputs, run the build after Pulumi provision step and finally use AWS CLI to upload the
    index.html
    . Being able to do it all in Pulumi program seems like the most elegant way, though. Any ideas?
    e
    • 2
    • 5
  • a

    adorable-gpu-98268

    03/01/2022, 1:45 PM
    Does the aws:region from the config take precedence over AWS_DEFAULT_REGION (or AWS_REGION)?
    e
    • 2
    • 2
  • l

    little-library-54601

    03/01/2022, 3:20 PM
    Is there any more detailed documentation, or are there any more detailed examples, of using Pulumi with Azure Devops and Github Actions as CI/CD platforms? I've read the documents available under https://www.pulumi.com/docs/guides/continuous-delivery/. But to me they seem lacking in detail and in addressing real-world scenarios, e.g. a release pipeline which accounts for Test, UAT, and Production environments (since each would be a different Pulumi stack). We're at the point in our Pulumi research where I'm reasonably comfortable with how to write a Pulumi program that will define all our resources and that can be used for different environments / stacks. But unless we're super confident with how Pulumi would fit into our use of CI/CD, we won't be able to go forward with adopting Pulumi. So any help on this front? Thank you.
    g
    p
    • 3
    • 5
  • f

    future-window-78560

    03/01/2022, 7:13 PM
    Hey everyone! I have followed this https://www.pulumi.com/blog/build-publish-containers-iac/ documentation 100 percent but I have no idea why am I continuously getting this error on image push to the artifact repository. Although this was working fine for me, a few months back. Any idea anyone?
    b
    g
    • 3
    • 5
  • i

    important-belgium-68902

    03/01/2022, 8:00 PM
    Hi, I've been evaluating the product and love everything about it, but I'm struggling to see how I can fit my usecase around it. I want to build a simple Go app that when run, creates a S3 bucket using the Automation API. I want to be able to ship this utility to other people without asking them to also install and configure the Pulumi CLI. Is there any way this scenario is possible ?
    b
    s
    +2
    • 5
    • 9
  • h

    hallowed-cpu-30324

    03/02/2022, 9:32 AM
    How to use the command line to list the resources currently managed by pulumi
    e
    • 2
    • 3
  • b

    breezy-bear-50708

    03/02/2022, 9:58 AM
    Hello! I think I must be missing something obvious. How does one use
    aliases
    with multiple stacks in the same project? The URN includes the stack name, so there doesn't seem to be a way to alias something that got moved, at least using URNs. Can't use parent/name since it moved to an earlier component in the dep tree.
    b
    e
    • 3
    • 10
  • s

    salmon-musician-20405

    03/02/2022, 10:46 AM
    👋 Hi everyone!
    👋 2
  • b

    big-potato-91793

    03/02/2022, 1:54 PM
    Hey 👋 , thx for the new locking feature for s3 pulumi backend. I was wondering if you have any functionality to delete the lock builtin the pulumi cli?
    e
    r
    b
    • 4
    • 9
  • w

    white-airport-78661

    03/02/2022, 2:39 PM
    Hi all! Not sure if that’s the right place but need help with running a one time task (db migration) as part of my ECS deployment. I came across https://npm.io/package/pulumi-run-fargate-task but not sure if that’s still the way + how it’s being executed. Can anyone please help?
    g
    • 2
    • 3
  • q

    quaint-garden-29833

    03/02/2022, 3:52 PM
    Hello. I am trying to deploy a custom container to fargate and want to automate this using pulumi. https://www.pulumi.com/blog/get-started-with-docker-on-aws-fargate-using-pulumi/ I am referring this article but my custom image comprises of 2 images (frontend and backend) and they are built using docker-compose. Is there a way to point to the docker-compose file in the new ecs image instantiation code in pulumi ?
    const img = awsx.ecs.Image.fromPath("app-img", "./app");
    Ideally, i need this to build the image from docker-compose rather than taking the dockerfile.
    m
    • 2
    • 9
  • k

    kind-room-82948

    03/02/2022, 5:06 PM
    Hi all, has anyone worked with deploying to GKE with a large amount of K8s resources? I seem to be running into some limits on the API and have had to limit my parallelism to prevent timeouts to the cluster. Would prefer to not have to throttle since it makes it quite slow.
    • 1
    • 1
  • s

    salmon-musician-20405

    03/02/2022, 5:25 PM
    Need some help . I have installed new pulumi version pulumi 3.25.0. But have problem with providers.
    In the middle of building stack the provider assumes a different role ( or provider is switched to different account, Eg: below code
    
    provider = Provider(
            resource_name="different_account",
            region="eu-west-1",
            assume_role=ProviderAssumeRoleArgs(role_arn=role_arn),
        )
     self._JobScript = BucketObject(
                resource_name=f"{name}-glue-job-script",
                opts=ResourceOptions(depends_on=[self._rolePolicy], provider=provider),
                bucket=destination_bucket.name,
                key=f"glue-job-scripts/{glue_script.split('/')[-1]}",
                server_side_encryption="AES256",
                source=FileAsset(glue_script),
                tags=tagger.create_tags(f"{name}-glue-script"),
    Fails while doing above operation and following error occurs - Access denied error
    
    aws:s3:BucketObject test-ab40dc-glue-job-script creating failed '
    'Diagnostics:'
    Error uploading object to S3 bucket (test-ab40dc-curated): '
    'AccessDenied: Access Denied'
    g
    • 2
    • 2
  • s

    salmon-musician-20405

    03/02/2022, 5:25 PM
    The same code works at 3.22.1
  • s

    salmon-musician-20405

    03/02/2022, 5:25 PM
    Does provide assume role not seems to work
  • s

    salmon-musician-20405

    03/02/2022, 5:26 PM
    is there any extra parameters i should we add for provider
  • a

    adorable-gpu-98268

    03/02/2022, 6:16 PM
    How do I specify the main entrypoint for a typescript pulumi program? I tried setting the
    main
    option in the config but this changes the whole directory, which I don’t want (as then e.g. my
    tsconfig.json
    also has to live in that directory, etc.) I just want to put my
    .ts
    files under
    src
    to reduce the clutter in the project. Using
    "main": "src/index.ts"
    in
    package.json
    seems to work but that’s rather non-standard, isn’t it?
    g
    a
    • 3
    • 21
  • l

    loud-river-79607

    03/02/2022, 7:19 PM
    Hi comunity
  • l

    loud-river-79607

    03/02/2022, 7:20 PM
    i have a proble, i used pulumi with aws and create a clusterCache (redis) the script its working, but i need to get the url of redis to push to the other settings in my app in a form dinamic ¿Do you know how to resolve that problema? Add my example
    b
    • 2
    • 14
  • l

    loud-river-79607

    03/02/2022, 7:21 PM
  • l

    loud-river-79607

    03/02/2022, 7:21 PM
  • s

    sparse-intern-71089

    03/02/2022, 8:09 PM
    This message was deleted.
    b
    • 2
    • 1
  • a

    adorable-gpu-98268

    03/02/2022, 8:16 PM
    Another question, this time AWS related: How do I “EnableSharingWithAwsOrganization” using pulumi? Or is this something that I have to enable manually?
    l
    b
    • 3
    • 9
Powered by Linen
Title
a

adorable-gpu-98268

03/02/2022, 8:16 PM
Another question, this time AWS related: How do I “EnableSharingWithAwsOrganization” using pulumi? Or is this something that I have to enable manually?
l

little-cartoon-10569

03/02/2022, 8:28 PM
The docs (built from the equivalent Terraform docs) don't explicitly say, but I infer that this has to be done outside Pulumi: https://www.pulumi.com/registry/packages/aws/api-docs/ram/principalassociation/
Provides a Resource Access Manager (RAM) principal association. Depending if RAM Sharing with AWS Organizations is enabled, the RAM behavior with different principal types changes.
a

adorable-gpu-98268

03/02/2022, 8:29 PM
👍 Will do that
l

little-cartoon-10569

03/02/2022, 8:29 PM
And https://www.pulumi.com/registry/packages/aws/api-docs/ram/resourceassociation/
NOTE: Certain AWS resources (e.g., EC2 Subnets) can only be shared in an AWS account that is a member of an AWS Organizations organization with organization-wide Resource Access Manager functionality enabled. See the Resource Access Manager User Guide and AWS service specific documentation for additional information.
b

billowy-army-68599

03/02/2022, 8:35 PM
could easily write a dynamic provider for this I think
l

little-cartoon-10569

03/02/2022, 8:37 PM
Since it's once-and-once-only per account, even that might be more effort than needed...
a

adorable-gpu-98268

03/02/2022, 8:37 PM
For me it’s not worth it, as it’s just:
aws ram enable-sharing-with-aws-organization
but for pulumi it would be a nice-to-have, as you can stay in the code
Anyway I’m not really sure at what level people start using infrastructure as code and what level is manual setup
l

little-cartoon-10569

03/02/2022, 8:50 PM
It's more likely to come to AWS Native than AWS Classic. Might already be there, in fact?
Nope, not there yet.
View count: 3