• f

    flaky-arm-38472

    1 week ago
    In Go what are people using to get values from a config settings file (i.e
    Pulumi.dev.yaml
    ) to populate variables/values inside an inline program using the automation API?. Lets say I have the AWS region set on the config file. Then how can overwrite/populate the following values with the ones on the config file:
    s.SetConfig(ctx, "aws:region", auto.ConfigValue{Value: "us-west-2"})
    . Do I have to resort to use json parser ?.
    f
    1 replies
    Copy to Clipboard
  • m

    most-lighter-95902

    1 week ago
    Hi does anyone know if Pulumi respects the helm template values when using values in property in helm Release resource?
  • m

    most-lighter-95902

    1 week ago
    {
      key: 'aa_namespace',
      value:
        `apiVersion: v1\nkind: Namespace\nmetadata:\n  name: {{ namespace }}\nspec:\n  finalizers:\n  - kubernetes\n`,
    },
  • a

    ambitious-father-68746

    1 week ago
    Hi, I need to get the name of a resource in Pulumi, in order to generate another resource name based on it. I figure I can also get this from the URN, but I can't find a way to get the name or the URN. Any help would be appreciated, thanks.
    a
    3 replies
    Copy to Clipboard
  • w

    witty-barista-69390

    1 week ago
    I been seeing a bunch of issues like this tonight: error: could not get AWS account ID: operation error STS: GetCallerIdentity, Are there issues going on, maybe on AWS side?
    w
    1 replies
    Copy to Clipboard
  • s

    stocky-father-68249

    1 week ago
    Hey guys, I'm setting up Prometheus for ECS, is there docs which I can go through to understand the process of deploying it using pulumi?
    s
    v
    6 replies
    Copy to Clipboard
  • w

    worried-xylophone-86184

    1 week ago
    Hi all ! I have a question regarding extracting secrets from STACK configuration files. Based on this document, there is provision to store secrets based on a provided path. Something like this
    pulumi config set --path --secret endpoints[0].token accesstokenvalue
    Now, if we wish to access this secret within the Pulumi script, I am not certain if we can access it directly like the usual way mentioned in the docs:
    import pulumi
    config = pulumi.Config()
    print(config.require_secret('dbPassword'))
    w
    v
    3 replies
    Copy to Clipboard
  • f

    few-lizard-48557

    1 week ago
    Azure Application Gateway (V1) - How to load SSL certificate from PFX file into resource Hi, I have created an Azure Application Gateway using Pulumi/TypeScript in 'WAF' tier (basic tier, no support for KeyVault certificates). Unfortunately, I am not able to upload the SSL certificate for the HTTPS connection when creating the Application Gateway. I have included the relevant TypeScript code below and this is specifically about the 'sslCertificates' section.
    import * as pulumi from "@pulumi/pulumi"; 
    import * as azure from "@pulumi/azure-native";
    import * as rg from "./resource-group";
    
    //////////////////////////////////////////////////////////////////////////////
    // Azure Config variables
    //////////////////////////////////////////////////////////////////////////////
    const config = new pulumi.Config();
    const appGatewayName = config.require("appGatewayName");
    const sslCertPassword = config.requireSecret("sslCertPassword");
    
    //////////////////////////////////////////////////////////////////////////////
    // Create Azure Application Gateway
    //////////////////////////////////////////////////////////////////////////////
    const applicationGateway = new azure.network.ApplicationGateway(appGatewayName, {
        applicationGatewayName: appGatewayName,
        authenticationCertificates: [],
        location: "westeurope",
        resourceGroupName: rg.rgName,
    
        //....
    
        sslCertificates: [{
            data: "*****",
            name: "my-domain",
            password: sslCertPassword,
        }],
    
        //....
        //....
    });
    Here I need values for the properties: 'data' => Base-64 encoded pfx certificate 'name' => Name of the SSL certificate (domain name) 'password' => Password for the pfx file specified in data I have the following values available:- pfx file - domain name - password for pfx file If I assign the certificate (pfx file) the values via Azure Portal, then the HTTPS connection works correctly. But unfortunately I cannot assign the certificate/pfx file via code. How do I get from the pfx file to the data or the format I need for the 'data' property - Any help or example is appreciated!
    f
    1 replies
    Copy to Clipboard
  • c

    clean-salesclerk-32849

    1 week ago
    Hi, what's the best way to find the service IP from this code:
    export const fargate = new awsx.ecs.FargateService(NAME, {
      cluster,
      taskDefinitionArgs: {
        containers: {
          mbankrlproxy: {
            image: image,
            memory: 512,
            portMappings: [{ containerPort: 80, hostPort: 80 }],
            environment: ENVIRONMENT,
          },
        },
      },
      desiredCount: 1,
    });
    either to get the randomly generated IP, or better yet to use a reserved IP. I've been looking in the docs but can't find it ...
    c
    s
    3 replies
    Copy to Clipboard
  • v

    victorious-dusk-75271

    1 week ago
    This is not really a pulumi question. So the problem i have is with managing the
    AWS_ACCESS_KEY_ID
    and
    AWS_SECRET_ACCESS_KEY
    , so I was wondering there anything i can use with pulumi to automatically set those for pulumi stacks?
    v
    s
    8 replies
    Copy to Clipboard