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

    gorgeous-country-43026

    08/23/2022, 6:03 AM
    warning: A new version of Pulumi is available. To upgrade from version '3.37.2' to '3.38.0', visit https://pulumi.com/docs/reference/install/ for manual instructions and release notes.
    [16:25.39] ~\code\infra\live [main ≡ +0 ~1 -0 !]
    > winget search pulumi
    Name Id Version Source
    ------------------------------------
    Pulumi Pulumi.Pulumi 3.37.2 winget
    [09:02.04] ~\code\infra\live [main ≡ +0 ~1 -0 !]
    😒ad-panda: when will the new release be pushed to winget?
    e
    • 2
    • 3
  • b

    billowy-yak-63946

    08/23/2022, 6:39 AM
    is pulumi self hosted?
    r
    a
    • 3
    • 11
  • g

    great-sunset-355

    08/23/2022, 7:00 AM
    @billowy-army-68599 I just found your example repository https://github.com/jaxxstorm/secure-cloud-access/blob/main/gcp/index.ts It took me a day to figure out correct mappings for GCP, even after reading docs I had no idea. It would be great if this was golden example was mentioned somewhere in docs! Thank you!
  • a

    acoustic-alarm-43219

    08/23/2022, 8:27 AM
    Hi, does anyone know if the AKS add-on for KEDA is now supported in Pulumi? https://docs.microsoft.com/en-us/azure/aks/keda-about I cannot find it referenced anywhere in API documentation for AzureNative.managed cluster. We are currently installing this via Helm so enabling this directly would be even better, until we move to serverless anyway!! Thanks
  • e

    echoing-postman-88590

    08/23/2022, 11:12 AM
    Hi, I am using pulumi with multiple stacks: 1. gcp infrastrucuture 2. kubernetes application deployed using helm I would like to use github actions to "preview" only without creating any resources (no connection to gke required), but it complains as there is no stack from which to inherit outputs to define the kubeconfig. Is there a way to mock this variables? Thanks
  • d

    damp-honey-93158

    08/23/2022, 11:25 AM
    Hi Pulumiers... just in case I'm missing something here - is it possible to decrypt a config value using the Pulumi Service REST API? I can get the stack, and the last update/state for the stack - and my goal (for some tests I'm writing) is to be able to use the service to decrypt a config value. Context helps: this is a unit test, and I want to validate that something has been done in the underlying service, the PAT for that service is encrypted in the config.
    e
    • 2
    • 11
  • b

    billowy-yak-63946

    08/23/2022, 11:50 AM
    i need yaml file to deploy rke2 cluster
  • k

    kind-address-8184

    08/23/2022, 12:28 PM
    Hello, We are currently evaluating Pulumi for azure deployments using the
    pulumi-azure-native
    golang sdk, part of it is to deploy the azure
    Authorization/policySetDefinitions
    and
    Microsoft.Authorization/policyAssignments
    all the policies are defined using Pulumi, however during the policy-assignment we are stuck on defining identity object. How will i define a
    UserAssigned
    identity, the
    authorization.IdentityArgs
    only have “Type”! The ARM template is like below:- ---------- “identity”: { “type”: “UserAssigned”, “userAssignedIdentities”: { “[parameters(‘userAssignedIdentity’)]“: {} } } --------
    authorization.NewPolicyAssignment(ctx, "policy-name", &authorization.PolicyAssignmentArgs{
    	Identity: authorization.IdentityArgs{
    		Type: idType,
    	},
    	PolicyAssignmentName: pulumi.String("policy-name"),
    	PolicyDefinitionId:   pulumi.String("/subscriptions/xxx/providers/Microsoft.Authorization/policySetDefinitions/policy-def-name"),
    	Scope:                pulumi.String("/subscriptions/xxx"),
    })
  • g

    great-pharmacist-55508

    08/23/2022, 1:13 PM
    I'm looking into Pulumi, I really like the developer experience based on comparing it with cdktf. One problem I have is that there are a few relatively obscure terraform providers that I need regularly - with cdktf you run a single command and it generates classes for you in your local project that you can use to interact with the provider. Of course I understand that is a thing that they can do because it's still terraform under the hood. Is it right that the only way to use a tf provider that doesn't have a bridging pulumi provider yet is to create, manage and host that provider myself using https://github.com/pulumi/pulumi-terraform-bridge?
    l
    • 2
    • 3
  • e

    echoing-oil-42947

    08/23/2022, 5:08 PM
    👋 Having an issue with Docker Services, looks like this issue has already been raised on github, but if this isn't working, is there no way to have replicated services with more than one replica via pulumi? Would be a huge letdown if so. https://github.com/pulumi/pulumi-docker/issues/266

    http://share.asdn.dev/r/fk4gjU.png▾

  • l

    late-lizard-19909

    08/23/2022, 7:19 PM
    Is there a special permission required to perform a pulumi stack rename? It's giving me a 403 even though I am stack admin of this stack
  • s

    sparse-intern-71089

    08/23/2022, 7:41 PM
    This message was deleted.
    🎉 1
    b
    • 2
    • 4
  • b

    boundless-engineer-23836

    08/23/2022, 8:21 PM
    Hi Everyone, Im trying to use https://www.pulumi.com/registry/packages/kubernetes/api-docs/apps/v1/deploymentpatch/ to remove an annotation within a deployment spec. if i set the annotation to something like
    { annotations: {"annotation/fix": ""}}
    it sets it to an empty string as expected. Is there a way to remove that annotation completely?
    a
    • 2
    • 1
  • f

    fancy-spoon-7206

    08/23/2022, 8:31 PM
    On production machines we do not want to install Go or Java, is it possible in that case to run
    pulumi up
    using the Pulumi binary? I have defined the infrastructure in Go, so do I need Go to be installed on the machine?
    b
    • 2
    • 2
  • i

    icy-doctor-13719

    08/23/2022, 9:58 PM
    Greetings, everyone 👋 I’m day 2 with Pulumi so sorry if this is remedial question… Is there an equivalent of terraform ‘modules’ in Pulumi? I have some common resource types that I want to instantiate with minor configuration differences and I don’t want to re-write the same resources multiple times
    l
    • 2
    • 4
  • v

    victorious-dusk-75271

    08/23/2022, 10:07 PM
    is there anyway to hide the docker output?
  • l

    little-cartoon-10569

    08/23/2022, 10:35 PM
    Convention question: do people generally describe the type of a resource in its name? Or rely on the class and Pulumi type to describe that, and use the name only as a per-instance discriminator?
    f
    • 2
    • 1
  • s

    sparse-intern-71089

    08/24/2022, 12:13 AM
    This message was deleted.
    b
    • 2
    • 2
  • f

    fancy-spoon-7206

    08/24/2022, 4:18 AM
    Prior to using the automation API, I was using the config package (https://www.pulumi.com/docs/intro/concepts/config/) in Go to ingest config. And then a
    pulumi up
    would do the trick. I did not add any code to set the config. Now with the automation API all I see in the examples is
    // set stack configuration specifying the AWS region to deploy
    	s.SetConfig(ctx, "aws:region", auto.ConfigValue{Value: "us-west-2"})
    Is there a way to consume config using a
    Pulumi.dev.yaml
    file? instead of setting one config at a time. Pulumi.dev.yaml
    config:
      aws:region: us-east-2
      aws:profile: sandbox
      aep:config:
        bucket:
          name: dinesh-test
  • b

    brief-baker-41837

    08/24/2022, 5:22 AM
    Is there a way to append s3 bucket policies to pre existing ones?
    f
    • 2
    • 5
  • o

    orange-whale-70892

    08/24/2022, 9:28 AM
    I’m having a hard time deploying to aws getting constant aws credentials failed. Only if I add
    aws:skipCredentialsValidation: true
    to the pulumi yaml I’m able to deploy. Is this a known issue?
    a
    • 2
    • 1
  • g

    gentle-market-22852

    08/24/2022, 10:48 AM
    Looking for a good CDK and Pulumi examples in Java, don't see this site (https://www.pulumi.com/blog/aws-cdk-on-pulumi/) or the source code of this repo don't have java examples,
  • e

    echoing-dinner-19531

    08/24/2022, 11:30 AM
    Hey all I've just posted a fairly big update on our plans for hierarchal and typed config at https://github.com/pulumi/pulumi/issues/2307#issuecomment-1225592223 If you have thoughts/questions/feedback please add comments
  • p

    plain-eve-99442

    08/24/2022, 12:40 PM
    👋 Hi everyone!
  • p

    plain-eve-99442

    08/24/2022, 12:42 PM
    I AM FACING PROBLEM INSTALLING THE PULUMI IN MY MAC
  • p

    plain-eve-99442

    08/24/2022, 12:42 PM
    CAN ANY ONE HELP ME
    s
    • 2
    • 1
  • s

    swift-apple-26877

    08/24/2022, 2:14 PM
    Anyone know how to read GitHub secrets from the pulumi stack config or the pulumi code (C#) itself? I know we can read in the GitHub Action yml using: ${{ secrets.SECRET_VALUE }} But can I access secrets from the config or code? Thanks everyone 🤔
    s
    l
    • 3
    • 4
  • f

    few-plastic-88435

    08/24/2022, 2:42 PM
    👋 Hi everyone!
    👋 1
    👋🏻 2
  • f

    flaky-arm-38472

    08/24/2022, 3:44 PM
    This example seems to be wrong.
    package main
    
    import (
    	"fmt"
    
    	"<http://github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds|github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds>"
    	"<http://github.com/pulumi/pulumi/sdk/v3/go/pulumi|github.com/pulumi/pulumi/sdk/v3/go/pulumi>"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := rds.NewCluster(ctx, "default", &rds.ClusterArgs{
    			ClusterIdentifier: pulumi.String("aurora-cluster-demo"),
    			AvailabilityZones: pulumi.StringArray{
    				pulumi.String("us-west-2a"),
    				pulumi.String("us-west-2b"),
    				pulumi.String("us-west-2c"),
    			},
    			DatabaseName:   pulumi.String("mydb"),
    			MasterUsername: pulumi.String("foo"),
    			MasterPassword: pulumi.String("barbut8chars"),
    		})
    		if err != nil {
    			return err
    		}
    		var clusterInstances []*rds.ClusterInstance
    		for key0, val0 := range 2 {
    			__res, err := rds.NewClusterInstance(ctx, fmt.Sprintf("clusterInstances-%v", key0), &rds.ClusterInstanceArgs{
    				Identifier:        pulumi.String(fmt.Sprintf("aurora-cluster-demo-%v", val0)),
    				ClusterIdentifier: _default.ID(),
    				InstanceClass:     pulumi.String("db.r4.large"),
    				Engine:            _default.Engine,
    				EngineVersion:     _default.EngineVersion,
    			})
    			if err != nil {
    				return err
    			}
    			clusterInstances = append(clusterInstances, __res)
    		}
    		return nil
    	})
    }
    Specifically the ranging when creating the clusterInstances
    (for key0, val0 := range 2)
    . Range does not work like in Python. In go that range 2 will throw an error becasue first is an untyped int and second thats not how range works.
    b
    s
    • 3
    • 4
  • e

    echoing-oil-42947

    08/24/2022, 7:52 PM
    👋 Having an issue with Docker Services, looks like this issue has already been raised on github, but if this isn't working, is there no way to have replicated services with more than one replica via pulumi? Would be a huge letdown if so. https://github.com/pulumi/pulumi-docker/issues/266

    http://share.asdn.dev/r/fk4gjU.png▾

    Bumping this
Powered by Linen
Title
e

echoing-oil-42947

08/24/2022, 7:52 PM
👋 Having an issue with Docker Services, looks like this issue has already been raised on github, but if this isn't working, is there no way to have replicated services with more than one replica via pulumi? Would be a huge letdown if so. https://github.com/pulumi/pulumi-docker/issues/266

http://share.asdn.dev/r/fk4gjU.png▾

Bumping this
View count: 1