• r

    red-scooter-62880

    2 months ago
    How do you generate dynamic names for each resource based on a similar pattern as this: <resource type>-<product>-<environment>-<region> like: func-todosaas-dev-ne
    r
    e
    6 replies
    Copy to Clipboard
  • s

    shy-rocket-89655

    2 months ago
    Hi , I am trying to use Pulumi for a specific use case , I am not sure , if it can cater it or not so please if someone can let me know it will be a great help. So basically we are trying to handover the responsibility of hitting all cloud APIs ( AWS , Azure , GCP ) like getting ec2 instances , creating new EC2 instance , or getting ec2 utilisation and many more such things that are supported by SDKs , to our cloud / platform team , who are not very good with coding languages and API hitting and parsing etc. So can Pulumi make it easier for them to do all the stuff a sdk does and then can send the JSON they got to other teams to use. Basically , can Pulumi get all the data an SDK can get ?
    s
    e
    2 replies
    Copy to Clipboard
  • c

    cuddly-magician-97620

    2 months ago
    Hi All, Setting up Reshift Cluster like this:
    const redshiftCluster = new aws.redshift.Cluster(`redshift-cluster-${stack}`, {
        clusterSubnetGroupName: redshiftSubnetGroup.id,
        clusterIdentifier: `redshift-cluster-${stack}`,
        clusterType: "multi-node",
        numberOfNodes: Number(redshiftConfig.require("number-of-nodes")),
        encrypted: true,
        logging: {
            enable: true,
        },
        publiclyAccessible: false,
        enhancedVpcRouting: true,
        databaseName: redshiftConfig.require("database-name"),
        masterPassword: redshiftConfig.require("master-password"),
        masterUsername: redshiftConfig.require("master-username"),
        nodeType: redshiftConfig.require("node-type"),
        skipFinalSnapshot: true,
        tags: {
            Pulumi: "True",
            env: stack,
        },
    });
    the
    logging
    block is giving me a hard time. AWS recommends Cloudwatch, and Pulumi docs say I should be able to use it. But Pulumi does not like this:
    logging: {
            enable: true,
            logDestinationType: "cloudwatch",
        },
    Pulumi v3.34.1 pulumi/aws 4.29.0 What am I doing wrong? Could it be that my aws provider is too old?
  • r

    red-scooter-62880

    2 months ago
    How can I delete all resources and all state for all resources? Because deployment failed I need to delete every resource manually
    r
    g
    4 replies
    Copy to Clipboard
  • b

    busy-helicopter-97413

    2 months ago
    X-posting here but tldr is this error below consistent with using the wrong version of getAMI? (deprecated vs non deprecated)
  • a

    ancient-night-64850

    2 months ago
    Looks like a recent Pulumi update to version 3.37.0 broke functionality when using the CLI in Azure pipelines. Reverting to the previous version 3.36.0 worked error: Pulumi installation failed with error 'Directory does not exist: D:\a_temp\2ee57406-8f66-477a-9f08-ca79696bd086\pulumi\bin
    a
    f
    +1
    14 replies
    Copy to Clipboard
  • f

    flat-umbrella-41594

    2 months ago
    How do you assign a namespace to a pod inside a deployment in Pulumi? It always resorts to default, I tried to set the namespace name in metadata parameter of PodTemplateSpecArgs
  • c

    colossal-vr-62639

    2 months ago
    I am trying to install a pulumi resource provider from a file but it seems that regardless of what I do, it's not accepting the file via the
    file
    parameter. e.g.
    pulumi plugin install resource sample-resource-provider --file sample-resource-provider.tar.gz
    
    error: 404 HTTP error fetching plugin from <https://api.github.com/repos/pgermishuys/sample-resource-provider/releases/latest>. If this is a private GitHub repository, try providing a token via the GITHUB_TOKEN environment variable. See: <https://github.com/settings/tokens>
    c
    e
    3 replies
    Copy to Clipboard
  • c

    colossal-vr-62639

    2 months ago
    When building your own provider, what's the link between the Provider and the SDK? More explicitly, when I run a pulumi action (e.g.
    pulumi preview
    ). Pulumi knows to download and install the appropriate provider for the SDKs i'm using in my Pulumi project.
    c
    l
    22 replies
    Copy to Clipboard
  • r

    red-scooter-62880

    2 months ago
    Have you experienced this error before, I get it when creating metric alert rule in azure monitor. ─ azure-native:insights:MetricAlert alert creating failed error: autorest/azure: Service returned an error. Status=400 Code="BadRequest" Message="Criteria field 'odata.type' is missing. Activity ID: 0e792dc4-7837-4fe2-9468-c9dddef9e3e2."
    r
    e
    2 replies
    Copy to Clipboard