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
contribute
  • g

    green-morning-1318

    04/08/2020, 5:51 PM
    I thought I’d share my latest blog post on using Pulumi here too 😇 some of the ideas started with the hackathon, and I finally got around to write it down properly https://www.cloudjourney.io/articles/cloudnative/building-a-serverless-fitness-shop-infrastructure-as-code-ls/
    🎉 6
    😛artypus-8bit: 2
    😛artypus: 3
  • g

    green-morning-1318

    04/08/2020, 6:07 PM
    And a big thanks to @white-balloon-205 and @lemon-agent-27707 for reviewing it 🙌
  • s

    salmon-needle-46218

    04/08/2020, 9:01 PM
    awright, it's live! i greatly appreciate any feedback/comments/promotion https://medium.com/relay-sh/command-line-ux-in-2020-e537018ebb69 thanks for the readthrough @billowy-army-68599
    🎉 8
  • s

    salmon-needle-46218

    04/08/2020, 9:13 PM
    @big-piano-35669 ^ would love to hear your take!
    🎉 1
  • l

    limited-rainbow-51650

    04/10/2020, 10:11 AM
    Can anyone from Pulumi explain why the build fails on a diff between
    go.sum
    files? https://travis-ci.com/github/pulumi/pulumi/builds/159764016 Why is that a reason to halt the build of my Pull Request?
    b
    l
    • 3
    • 4
  • a

    acceptable-stone-35112

    04/12/2020, 8:30 AM
    Hi, I'm reading contributing guidelines. I need to create a feature branch in my fork for specific issue and then create a PR on that branch. Do I get it right?
    b
    • 2
    • 3
  • m

    millions-judge-24978

    04/16/2020, 6:20 PM
    I am thinking about reviving a new version of https://github.com/ibrasho/pulumi-github with the hope of getting it under pulumi ownership. @broad-dog-22463 you helped me before to do the same for
    pulumi-spotinst
    . Would you be open to taking ownership of this one as well?
    b
    l
    b
    • 4
    • 38
  • b

    broad-dog-22463

    04/26/2020, 9:19 PM
    @millions-judge-24978 I just tried to publish an official version of pulumi-github to Pypi and it seems I can't because you alread yregistered a package with the same name 😕
    m
    l
    • 3
    • 18
  • b

    best-receptionist-98400

    05/05/2020, 1:14 PM
    Hello, Everyone! I am trying to go through the C# AWS Ec2 Tutorial and am not sure if I am doing something wrong, or if the tutorial needed some updates? I was not able to get through it the way it was, I proposed some changes here to step 2, which is what I ended up doing to get it to work but maybe I was going through it the wrong way/missing something? https://github.com/pulumi/docs/pull/3208
  • b

    best-receptionist-98400

    05/05/2020, 1:14 PM
    I will post this in the dotnet channel as well.
  • g

    green-school-95910

    05/09/2020, 2:11 AM
    Yeey my first PR to pulumi got in. So honored to contribute to such an awesome project that has helped me so much. Even if its just 8 characters 🤣
    💥 14
    👏 7
    😛artypus-8bit: 10
    b
    s
    • 3
    • 2
  • a

    alert-restaurant-79151

    05/20/2020, 8:19 AM
    Hi, I'd like to use this terraform provider[0] with pulumi, how do I go about that? [0] https://github.com/andrewchambers/terraform-provider-nix
    f
    b
    b
    • 4
    • 18
  • a

    alert-restaurant-79151

    05/22/2020, 4:00 AM
    I'm new to golang so please forgive the basic questions: https://github.com/andrewchambers/terraform-provider-nix He has no
    provider.go
    under
    ./nix
    does that mean I cannot import this package and use it as a provider for pulumi without forking it first? I cannot import the root package:
    <http://github.com/andrewchambers/terraform-provider-nix|github.com/andrewchambers/terraform-provider-nix>
    which does contain
    provider.go
    as this will result in protest from golangs package manager:
    import "<http://github.com/andrewchambers/terraform-provider-nix|github.com/andrewchambers/terraform-provider-nix>" is a program, not an importable package
    b
    • 2
    • 3
  • c

    colossal-plastic-46140

    06/17/2020, 6:08 PM
    Hi Folks, I am gonna be starting on a ns1 provider (DNS) based on the terraform bridge boilerplate. @broad-dog-22463 do I still work with you on getting a repo setup within your org?
  • b

    broad-dog-22463

    06/17/2020, 6:08 PM
    yessir - want me to create you one now?
  • c

    colossal-plastic-46140

    06/17/2020, 6:08 PM
    that would be splendid
  • c

    colossal-plastic-46140

    06/17/2020, 6:10 PM
    I found that changing the repo name after the fact becomes a pain
  • b

    broad-dog-22463

    06/17/2020, 6:10 PM
    yeah
  • b

    broad-dog-22463

    06/17/2020, 6:10 PM
    2 mins
    👍 1
  • b

    broad-dog-22463

    06/17/2020, 6:13 PM
    you should have an invite right now
  • b

    broad-dog-22463

    06/17/2020, 6:13 PM
    I've set up the initial scaffolding using the template
  • b

    broad-dog-22463

    06/17/2020, 6:13 PM
    so you can fill in the gaps!
  • c

    colossal-plastic-46140

    06/17/2020, 6:14 PM
    sweet, thanks for the quick setup
  • b

    broad-dog-22463

    06/17/2020, 6:16 PM
    👍
  • c

    colossal-plastic-46140

    06/17/2020, 6:37 PM
    is anyone else reporting issues with the following command in the makefile
    curl --silent "<https://api.github.com/repos/pulumi/pulumi-${PACK}/tags>" | jq ".[0]".name -r
  • c

    colossal-plastic-46140

    06/17/2020, 6:38 PM
    actually I am not sure how that would work during the make prepare, as nothing has been pushed to github yet
  • b

    broad-dog-22463

    06/17/2020, 6:40 PM
    yes, please ignore that for now - that is going away
  • c

    colossal-plastic-46140

    06/17/2020, 6:41 PM
    👍
  • b

    broad-dog-22463

    06/17/2020, 7:10 PM
    @colossal-plastic-46140 ping me direct when you are ready to push that code and I can hook it up with our secrets etc for CI and release
    👍 1
  • m

    magnificent-airport-52631

    06/22/2020, 8:06 AM
    Can anyone help in this thread: https://github.com/pulumi/pulumi-aws/issues/1012 I am facing a problem on WSL2 to import stack, all I got is this message from command `pulumi stack import`:
    error: could not import deployment: performing HTTP request: Post "https://api.pulumi.com/api/stacks///dev/import": stream error: stream ID 3; PROTOCOL_ERROR
    Running on: • Pulumi v2.4.0 • WSL2 Ubuntu • OS Build 19042.330 • Windows Feature Experience Pack 120.2202.130.0
    > wsl -l -v
      NAME                   STATE           VERSION
    * Ubuntu                 Running         2
    Have tried both following methods:
    $ pulumi stack export | pulumi stack import
    
    $ pulumi stack export --file o.txt
    $ pulumi stack import --file o.txt
    c
    c
    • 3
    • 6
Powered by Linen
Title
m

magnificent-airport-52631

06/22/2020, 8:06 AM
Can anyone help in this thread: https://github.com/pulumi/pulumi-aws/issues/1012 I am facing a problem on WSL2 to import stack, all I got is this message from command `pulumi stack import`:
error: could not import deployment: performing HTTP request: Post "https://api.pulumi.com/api/stacks///dev/import": stream error: stream ID 3; PROTOCOL_ERROR
Running on: • Pulumi v2.4.0 • WSL2 Ubuntu • OS Build 19042.330 • Windows Feature Experience Pack 120.2202.130.0
> wsl -l -v
  NAME                   STATE           VERSION
* Ubuntu                 Running         2
Have tried both following methods:
$ pulumi stack export | pulumi stack import

$ pulumi stack export --file o.txt
$ pulumi stack import --file o.txt
c

colossal-room-15708

06/22/2020, 8:36 AM
Best to ask this in #general , but I'll give it a shot in my environment.
👍 1
c

colossal-beach-47527

06/22/2020, 7:22 PM
From that error message, the URL looks rather odd, the “…stacks///dev…” especially seems strange. What version of
pulumi
are you using? (Output of
pulumi version
) As far as the syntax for importing a stack,
--file o.txt
should work if the
--help
says that is supported. I usually just run:
pulumi stack export > checkpoint.json

# hack

pulumi stack import < checkpoint.json
So that should work, let me know if you still have any issues and I can help troubleshoot.
❤️ 1
m

magnificent-airport-52631

06/23/2020, 7:02 PM
Good observation, I removed the project namespace to post here, that's why the odd "…stacks///dev…" :x Pulumi version output:
$ pulumi version
v2.4.0
I could make it done using
Windows Powershell
instead of running Pulumi on
wsl2 Ubuntu
console. The problem on
wsl2
still occurring.
Now using
PowerShell
the problem occurs too:
> pulumi stack export | pulumi stack import
warning: removing pending operation 'updating' on 'urn:pulumi:dev::project::aws:cloudfront/distribution:Distribution::cdn' from snapshot
error: could not import deployment: performing HTTP request: Post "<https://api.pulumi.com/api/stacks/namespace/project/dev/import>": read tcp 192.168.15.4:58422->52.38.45.108:443: wsarecv: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Have tried to logout and login again but did not worked.
c

colossal-beach-47527

06/25/2020, 8:30 PM
Sorry for missing this, but let me see if I understand it correctly: You aren’t able to run
pulumi stack import
when running Windows PowerShell (
ps.exe
?) when on
wsl2 Ubuntu
, right? That error message makes it look like there is a networking problem contacting https://api.pulumi.com, but if you can successfully do so in some other environment/VM on your machine… then the best guess I have is that it could be related to the certificates available and/or if HTTP proxying is setup or something. As a brief sanity check, you could run
curl
to make sure you can contact the service:
% curl <https://api.pulumi.com/api/user>
{"code":401,"message":"Unauthorized: No credentials provided or are invalid."}
If this persists, please do file an issue on github.com/pulumi/pulumi and we can take a closer look. This does seem odd.
View count: 1