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

    victorious-helmet-11068

    10/15/2020, 7:54 AM
    Untitled
  • v

    victorious-helmet-11068

    10/15/2020, 7:54 AM
    that sounds strange… backslashed? a string?
    g
    • 2
    • 1
  • l

    limited-battery-10877

    10/15/2020, 2:06 PM
    Hello everyone, I'am a pulumi user since 9month and I have created a whole infra based on kubernetes, mongo atlas and gcp. Your soft is very usefull, so great thanks for your works. Recently I try to create a pulumi module using the https://github.com/pulumi/pulumi-tf-provider-boilerplate project for scaleway, a french cloud provider. But i'm stuck with errors, do you have some documentation to help me ?
  • l

    limited-battery-10877

    10/15/2020, 2:08 PM
    You can find my project here : https://github.com/Kamaradeivanov/pulumi-scaleway
  • l

    limited-battery-10877

    10/15/2020, 3:26 PM
    Apparently I got some issue with donet language, when I remove it from the for loop in build step into the Makefile, i can build my nodejs package. Do I need something more than the .net core SDK for linux ?
  • b

    billowy-army-68599

    10/15/2020, 3:29 PM
    hey @limited-battery-10877 I also made a scaleway provider a few months back! https://github.com/jaxxstorm/pulumi-scaleway you need the dotnet sdk mainly
  • l

    limited-battery-10877

    10/15/2020, 3:36 PM
    hello @billowy-army-68599 thanks for your share, I'm sad to havent find your repo by myself, it would had save me a lot of time.
  • b

    billowy-army-68599

    10/15/2020, 3:37 PM
    I will take responsibility for that, I unfortunately started the repo and didn't finish it and publish it
    😅 1
  • l

    limited-battery-10877

    10/15/2020, 3:38 PM
    apparently your not using the last version of the scaleway provider, baremetal_server is no more in beta now
  • b

    billowy-army-68599

    10/15/2020, 3:42 PM
    if you send a PR and modify this https://github.com/jaxxstorm/pulumi-scaleway/blob/master/provider/go.mod#L11 I'll push a new tag and release it
  • h

    happy-pencil-64085

    10/15/2020, 3:56 PM
    Does anyone have any examples on Github of testing Pulumi Components?
    e
    • 2
    • 2
  • l

    limited-battery-10877

    10/15/2020, 4:04 PM
    @billowy-army-68599 Done !
  • b

    billowy-army-68599

    10/15/2020, 4:07 PM
    i'll get that merged for you, thanks for the PR!
    l
    • 2
    • 31
  • e

    early-glass-64522

    10/15/2020, 4:57 PM
    I'm writing units tests with Jest that I have working when creating a basic as Vpc. I have a unit test that successfully checks a basic Vpc creation using mock objects (the
    newResource
    call). But when I switch the Vpc implementation to the Crosswalk awsx.Vpc version, the
    newResource
    now gets an empty params instead of the VpcArgs I got from the standard Vpc call. Digging in a bit, I see this may be intentional based on a particular comment in ComponentResource/resource.js. Question: Any idea how I need to change my mock setup so that I can get the awsx.Vpc mocked properly?
    l
    • 2
    • 2
  • b

    bitter-application-91815

    10/15/2020, 5:49 PM
    Hey there, i'm trying to put together env vars for some ecs tasks using the go pulumi ecs/ecr api
  • b

    bitter-application-91815

    10/15/2020, 5:50 PM
    but there doesn't seem to be any explicit support for env vars in the api, apparently we are supposed to inject a string for the 'containerDef' which is a json formatted string which can have 'environment' defined upon it
  • b

    bitter-application-91815

    10/15/2020, 5:51 PM
    my issue is that how am i supposed to get around the fact that many of the env vars that i need to be set in stone, can't be in the form of a pulumi. stringOutput
  • b

    bitter-application-91815

    10/15/2020, 5:51 PM
    they need to be just a string
  • b

    bitter-application-91815

    10/15/2020, 5:52 PM
    like for helm charts in eks you can give it a pulumi.Map
  • b

    bitter-application-91815

    10/15/2020, 5:52 PM
    but in this case i have to supply a formatted string
  • b

    bitter-application-91815

    10/15/2020, 5:53 PM
    which doesn't give me the flexibility to wait for certain variables to be set
    g
    • 2
    • 5
  • s

    sparse-intern-71089

    10/15/2020, 7:26 PM
    This message was deleted.
    l
    g
    • 3
    • 2
  • a

    ambitious-appointment-66307

    10/15/2020, 10:15 PM
    Hey team - I’m trying to get up and running with the gitlab-ci example, however it appears pulumi can’t see my stack files when running inside a docker container
    l
    • 2
    • 48
  • w

    wonderful-pager-17869

    10/15/2020, 10:53 PM
    hey folks, has anybody been deploying cloud run with Go or Python? I'm keen to see an example 🙂
    b
    • 2
    • 2
  • w

    wet-sunset-4939

    10/16/2020, 4:44 AM
    Hi all, I got a message
    error: could not deserialize deployment: decrypting secret value: failed to decrypt: incorrect passphrase, please set PULUMI_CONFIG_PASSPHRASE to the correct passphrase
    when import stack from a file. How to fix this issue?
    g
    • 2
    • 8
  • w

    wet-sunset-4939

    10/16/2020, 6:46 AM
    Hi All, Sometimes I got this issue when pulumi trying to replace the key vault secret. Not sure how to fix this permanently.
  • e

    early-glass-64522

    10/16/2020, 7:46 AM
    Does it make sense to try to use AWS Service Catalog if pulumi is the primary means of infrastructure automation?
  • t

    thankful-area-1764

    10/16/2020, 8:44 AM
    Hi All, having problems to install azurenextgen plugin, does anyone else experience same problem?
    c
    b
    • 3
    • 4
  • l

    loud-battery-37784

    10/16/2020, 3:11 PM
    Do all stack-specific config files need to be in the root of the path defined as the config in
    Pulumi.yaml
    or can they be nested?
    `config`: (optional) directory to store stack-specific configuration files, relative to location of
    Pulumi.yaml
    .
  • b

    bright-ghost-66126

    10/17/2020, 12:02 AM
    I would like to run the tests in
    pkg/tfshim/tfplugin5/provider_test.go
    from this repo
    git@github.com:pulumi/pulumi-terraform-bridge.git
    func startTestProvider(t *testing.T) (*provider, bool) {
    	testProviderPath, err := exec.LookPath("pulumi-terraform-bridge-test-provider")
    	if !assert.NoError(t, err) {
    		return nil, false
    	}
    the test fails because pulumi-terraform-bridge-test-provider is missing. Where can I find or build the provider from?
    s
    • 2
    • 2
Powered by Linen
Title
b

bright-ghost-66126

10/17/2020, 12:02 AM
I would like to run the tests in
pkg/tfshim/tfplugin5/provider_test.go
from this repo
git@github.com:pulumi/pulumi-terraform-bridge.git
func startTestProvider(t *testing.T) (*provider, bool) {
	testProviderPath, err := exec.LookPath("pulumi-terraform-bridge-test-provider")
	if !assert.NoError(t, err) {
		return nil, false
	}
the test fails because pulumi-terraform-bridge-test-provider is missing. Where can I find or build the provider from?
s

sparse-park-68967

10/17/2020, 9:16 AM
If you use the makefile: https://github.com/pulumi/pulumi-terraform-bridge/blob/master/Makefile it should go install the test provider: https://github.com/pulumi/pulumi-terraform-bridge/tree/master/cmd/pulumi-terraform-bridge-test-provider. Make sure your PATH includes your GOPATH
b

bright-ghost-66126

10/19/2020, 5:22 PM
Thank you, I didn't get a search hit for it. and I didn't run the makefile
View count: 1