• p

    plain-eve-99442

    1 month ago
    CAN ANY ONE HELP ME
    p
    1 replies
    Copy to Clipboard
  • f

    few-plastic-88435

    1 month ago
    👋 Hi everyone!
  • s

    stocky-restaurant-98004

    1 month ago
    I would try storing the secret value in Pulumi and then writing it to GH using the ActionsSecret resource. GH does not allow you to retrieve a secret's value outside of referencing it in an Action, so I think what you're trying to do is not possible due to how GHA secrets work. https://www.pulumi.com/registry/packages/github/api-docs/actionssecret/
    s
    s
    +1
    3 replies
    Copy to Clipboard
  • b

    brief-baker-41837

    1 month ago
    Is there a way to append s3 bucket policies to pre existing ones?
    b
    f
    5 replies
    Copy to Clipboard
  • f

    flaky-arm-38472

    1 month ago
    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.
    f
    b
    4 replies
    Copy to Clipboard
  • d

    damp-honey-93158

    1 month ago
    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.
    d
    e
    11 replies
    Copy to Clipboard
  • e

    echoing-oil-42947

    1 month ago
    👋 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
  • o

    orange-whale-70892

    1 month ago
    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?
    o
    1 replies
    Copy to Clipboard
  • f

    future-refrigerator-88869

    1 month ago
    Hi all, I am trying to create a lambda within a vpc but it seems like the vpc configuration is not applied. The lambda was already created once by pulumi and the only change I did was to add
    vpcConfig: {
          subnetIds: lambdaVpcConfig.apply(lvc => lvc.lambdaVpcPrivateSubnetIds),
          securityGroupIds: [
            lambdaVpcConfig.apply(lvc => lvc.lambdaSecurityGroupId),
          ],
        },
    Which
    lambdaVpcConfig
    is an output from a stack ref. When I run
    pulumi up
    , the changes appear in the diff but when it actually applies, nothing changes in regards to the vpc of the lambda (it's still on no vpc). Any idea what might be wrong ?
    f
    l
    5 replies
    Copy to Clipboard
  • f

    flaky-arm-38472

    1 month ago
    Is it possible to have different backends per stack?. Lets say we store our state in S3 but want to keep dev/prd in different buckets. Can we add :
    backend:
      url: <s3://xxxx>
    To each stack settings file?.
    f
    s
    +1
    3 replies
    Copy to Clipboard