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

    able-train-72108

    04/13/2022, 1:16 AM
    Hello, I have pulumi cli (on windows powershell 7) at version v3.28.0 and pulumi refresh is printing "Do you want to perform this refresh?" each time I navigate from yes->no->details. Not a big issue, but I don't have this behaviour with pulumi up.
  • e

    eager-keyboard-30823

    04/13/2022, 10:21 AM
    Getting a 404 when trying to create a secret version in GCP, anyone know why this might be happening? Using Pulumi 3.28 and F#
    m
    • 2
    • 15
  • r

    rhythmic-branch-12845

    04/13/2022, 11:48 AM
    hi, is there a way for Pulumi to read from a terraform state file? (so Terraform is the producer, and Pulumi is the consumer of the state file)
    m
    • 2
    • 7
  • r

    rhythmic-branch-12845

    04/13/2022, 12:13 PM
    Not sure who to contact or where to send feedback to, but the link for “Pulumi secrets” at https://www.pulumi.com/docs/guides/adopting/from_terraform/ is wrong.
    b
    • 2
    • 2
  • w

    white-chef-55657

    04/13/2022, 1:26 PM
    @broad-dog-22463 @faint-table-42725 hi guys could someone re-build https://github.com/pulumi/pulumi-kubernetes-cert-manager/issues/4 so the arm64 binary is available?
    b
    • 2
    • 4
  • r

    refined-king-6688

    04/13/2022, 1:52 PM
    Hello! First time engaging in any kind of slack community. I’m following a AWS guide about cross-account role access for Amazon ECS tasks (see https://aws.amazon.com/premiumsupport/knowledge-center/ecs-iam-role-another-account/). It tells me to “modify the trust policy of the IAM role in the destination account”. However, I can’t find a way of modifying an existing role’s trust relationship via Pulumi. When creating a role I can provide the “AssumeRolePolicy” argument, but I can’t find a way to modify the role when it already exists. Would anyone be so helpful and point me in the right direction on how to proceed here? For context I’m writing Pulumi in Go.
    v
    • 2
    • 9
  • q

    quick-coat-75430

    04/13/2022, 2:28 PM
    👋 Hi everyone!
  • q

    quick-coat-75430

    04/13/2022, 2:30 PM
    I am having some weird issue with SQL database provisioning in Azure. Sometimes it provisions another Sku size than I set. Is this the correct channel to ask for support?
    b
    • 2
    • 1
  • m

    mammoth-art-6111

    04/13/2022, 2:56 PM
    is there a way to change the config via the command line/not with an
    up
    ? a co-worker set the aws profile in a stack and pulumi keeps trying to use that 'profile' for the preview; i could rename it but it got me thinking, there might be situations like this in the future
  • n

    narrow-vr-58841

    04/13/2022, 3:25 PM
    👋 Hi everyone! Is there a timeline for when
    pulumi-eks
    will support
    pulumi-aws >=5.0.0
    ? We are using
    pulumi-aws=5.1.0
    and
    pulumi-eks 0.37.1
    (latest) depends on
    pulumi-aws<5.0.0 and >=4.15.0
    Thanks!
  • g

    green-crowd-42127

    04/13/2022, 3:48 PM
    Hi everyone. Does anyone know if there's a way to prevent the GUID from being added to the end of lambda function names? I'm already using a stage safe naming convention and I'd rather not have to set a reference for each lambda name in the env setting for a lambda
    v
    • 2
    • 7
  • d

    damp-honey-93158

    04/13/2022, 4:25 PM
    Hi, I'm trying to get pulumi to build a docker image and then publish it to my newly created (in the same stack) ACR instance. The ACR has AdminUserEnable = true, and I figured I might be able to use the code in the pulumi docs (https://www.pulumi.com/blog/build-publish-containers-iac/) to get the credentials, then tag/publish the image. However, when I deploy I get this Diagnostics: pulumi😛ulumi:Stack (traffic-app-basic): error: Running program 'G:\src\aks-pulumi\infrastructure\bin\Debug\netcoreapp3.1\infrastructure.dll' failed with an unhandled exception: Grpc.Core.RpcException: Status(StatusCode="Unknown", Detail="invocation of azure-native:containerregistry:getRegistryCredentials returned an error: request failed /subscriptions/50d3206e-7317-4bce-b8ac-34ac81 4fd0f5/resourceGroups/aksrg-basic9f0f894e/providers/Microsoft.ContainerRegistry/registries/registrybasic303721fe/getCredentials: autorest/azure: Service returned an error. Status=400 Code="NoRegisteredProviderFou nd" Message="No registered resource provider found for location 'switzerlandnorth' and API version '2016-06-27-preview' for type 'registries/GetCredentials'. The supported api-versions are '2016-06-27-preview'. T he supported locations are 'westus, eastus, southcentralus, westeurope'."") at async Task<InvokeResponse> Pulumi.GrpcMonitor.InvokeAsync(InvokeRequest request) at async Task<SerializationResult> Pulumi.Deployment.InvokeRawAsync(string token, SerializationResult argsSerializationResult, InvokeOptions options) at async Task<OutputData<T>> Pulumi.Deployment.RawInvoke<T>(string token, InvokeArgs args, InvokeOptions options) at async Task<OutputData<U>> Pulumi.Output<T>.ApplyHelperAsync<U>(Task<OutputData<T>> dataTask, Func<T, Output<U>> func)
    a
    • 2
    • 4
  • d

    damp-honey-93158

    04/13/2022, 4:26 PM
    drat, it sent it already.
  • d

    damp-honey-93158

    04/13/2022, 4:27 PM
    is it really true? that switzerlandnorth DOES NOT support getting the registry credentials - using GetRegistryCredentials?
    var getCredsTask = GetRegistryCredentials.Invoke(new GetRegistryCredentialsInvokeArgs()
    {
        RegistryName = registryName,
        ResourceGroupName = resourceGroupName
    });
  • d

    damp-honey-93158

    04/13/2022, 4:28 PM
    Thanks a bunch for any pointers - I'm only about 5 hours into using Pulumi, it's still a rats nest in my head but I'm loving it so far!
  • i

    incalculable-thailand-44404

    04/13/2022, 8:05 PM
    I am getting :
    aws:ecr:Repository (abc-staging_trial_Mayuresh):
        error: 1 error occurred:
        	* failed creating ECR Repository (abc-staging_trial_Mayuresh-f8a8c04): InvalidParameterException: Invalid parameter at 'repositoryName' failed to satisfy constraint: 'must satisfy regular expression '(?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*''
    when trying to create an AWS ECR repo... apparently
    abc-staging_trial
    was working fine, till yesterday
    ✅ 1
    • 1
    • 1
  • m

    mammoth-art-6111

    04/13/2022, 9:18 PM
    just curious; can you get information from pulumi stacks without using
    pulumi up
    ? example: can i tie a CDK project to something i orchestrated in pulumi?
    i
    m
    • 3
    • 7
  • n

    nice-father-44210

    04/13/2022, 10:39 PM
    Is it possible to obtain a sha256 hash of the resulting archive file represented by an
    AssetArchive
    object? Thanks in advance.
  • r

    rhythmic-branch-12845

    04/14/2022, 4:53 AM
    I’m following along in the tutorial, fyi, and I have a few issues with the deploy step when adding a file to the bucket (https://www.pulumi.com/docs/get-started/aws/deploy-changes/):
    Previewing update (dev):
         Type                    Name          Plan       Info
         pulumi:pulumi:Stack     pulumi-t-dev             1 warning
     +   └─ aws:s3:BucketObject  index.html    create     2 warnings
    
    Diagnostics:
      pulumi:pulumi:Stack (pulumi-t-dev):
        warning: bucket is deprecated: Use the aws_s3_object resource instead
    
      aws:s3:BucketObject (index.html):
        warning: urn:pulumi:dev::pulumi-t::aws:s3/bucketObject:BucketObject::index.html verification warning: Argument is deprecated
        warning: urn:pulumi:dev::pulumi-t::aws:s3/bucketObject:BucketObject::index.html verification warning: Argument is deprecated
    
    
    Do you want to perform this update?  [Use arrows to move, enter to select, type to filter]
    1. the object deploys fine.. but why the warning, and can we fix this? (should we be using
    BucketObjectv2
    ?) 2. I dug a bit into the docs and found https://www.pulumi.com/registry/packages/aws/api-docs/s3/bucketobject/ (which I assume is the right doc for aws_pulumi.s3.BucketObject?). There are deprecation warnings, sure (specifically:
    Deprecated: Use the aws_s3_object resource instead
    ), but how about giving an actual link to this “aws_s3_object resource” so we actually have more info, and hopefully know what to do?
    b
    • 2
    • 4
  • r

    rhythmic-branch-12845

    04/14/2022, 6:44 AM
    one thing that’s not clear to me based on what I’ve read so far: can 1 pulumi project only contain one pulumi program?
    v
    • 2
    • 7
  • h

    helpful-account-44059

    04/14/2022, 7:00 AM
    Hi, i found the pulumi will update the monitoringInterval everytime even i don't change anything, is it normal? it took a long time
    export const rds = new aws.rds.Instance(baseTags.Name, {
        tags: baseTags,
        engine: "postgres",
        engineVersion: "13.6",
        allocatedStorage: 500,
        maxAllocatedStorage: 2000,
        instanceClass: "db.m5.xlarge",
        backupRetentionPeriod: 7,
        backupWindow: "00:00-01:00",
        maintenanceWindow: "Mon:02:00-Mon:04:00",
        monitoringRoleArn: enhancedMonitoringRole.arn,
        monitoringInterval: 15,
        username: "postgres",
        password: baseConfig.dbPassword,
        dbName: baseConfig.dbName,
        finalSnapshotIdentifier,
        storageType: "gp2",
        skipFinalSnapshot: false,
        dbSubnetGroupName: subnetGroup.name,
        vpcSecurityGroupIds: [networkingStack.getOutput("peeredSecurityGroupId")],
    });
    v
    a
    • 3
    • 5
  • r

    rhythmic-branch-12845

    04/14/2022, 8:34 AM
    hi, I would like some help clarifying the definition of a “Pulumi Credit”, and how it is calculated. To set some context, I am assuming (let me know if I’m wrong) that the number of “hours” / length of time will be taken from the “Duration: ” output at the end of a
    pulumi up
    command. Also, assume that I just have one resource for the moment for simplicity’s sake. 1. besides
    pulumi up
    , are there any other operations that would draw down on the number of credits I have? 2. if I run
    pulumi up
    twice, and the first duration is 3s, and then second is 10s, does that equate to 1 hour at the end of the month (3s + 10s = 13s, which in total is a “partial hour”)… or 2 hours, with each of 3s and 10s counting as individual separate “partial hours”? https://www.pulumi.com/pricing/ says
    Each partial hour used is billed as a full hour.
    , but the definition of a “partial hour” could be clarified
    p
    b
    • 3
    • 16
  • m

    microscopic-article-30157

    04/14/2022, 3:16 PM
    Hi, apologies but I recall seeing some message about an online event (webinar? Twitch?) every Thursday on Pulumi. I was hoping to join today
    b
    a
    l
    • 4
    • 8
  • m

    many-spring-73557

    04/14/2022, 10:05 PM
    Does pulumi have any way to check that the state storage backend is part of the project being modified? We have two projects in GCP. I was modifying one project, not realizing that I was currently logged in to the other project. Things got weird, but we were able to recover. I’m wondering if there’s some way for pulumi to catch that, so I don’t have to “just be more careful.”
    r
    • 2
    • 3
  • s

    strong-intern-84363

    04/15/2022, 1:27 AM
    Hi everyone, getting my head around deploying a gcp dynamic hosting stack. My setup: Python, custom network, two compute engine instances over two zones, one instance group with one instance, deployed over two zones …this works fine. Now i want to create a backend service that uses those two instance groups for HA, and i don’t know how to add both in the same backend service. Anyone familiar with this setup ?
    webserver_backend_service = gcp.compute.BackendService(
        f"bak-web{x}-{projectName}-{regionShort}-{environment}",
        name= f"bak-web{x+1}-{projectName}-{regionShort}-{environment}",
        health_checks=webservers_hc,
        backends=
        [gcp.compute.BackendServiceBackendArgs(
            group=[webserversTgList[0], webserversTgList[1]],    >>>>> these are my two instances groups
        )],
  • g

    great-sunset-355

    04/15/2022, 9:00 AM
    How can I find out why am I not able to remove the empty stack?
    error: [403] You do not have permission to perform this operation.
    The stack has been created by a former member of organization and I'm a member as well. EDIT: So it looks like that only org admin can delete stacks. I hope that Pulumi IAM will be released soon because this is a mildly annoying issue.
    q
    • 2
    • 1
  • h

    hallowed-army-79430

    04/15/2022, 10:11 AM
    Hi I am migrate state from Pulumi server to local. I export state file from Pulumi server and import to local. But it cannot works:

    screenshot▾

    q
    • 2
    • 8
  • g

    great-sunset-355

    04/15/2022, 10:27 AM
    Is it possible to set the default Pulumi WebUI page to projects? Because the "Dashboard" is completely useless in most cases.
    q
    b
    • 3
    • 4
  • g

    great-sunset-355

    04/15/2022, 11:40 AM
    We have a team subscription and we are unable to set multiple admins due to this message, which is quite annoying.
    This organization can only have one administrator. By making '<name>' the administrator, you will no longer be able to manage this organization's subscription or permissions.
    Why is this limitation a thing in the first place?
  • j

    jolly-thailand-71855

    04/15/2022, 12:15 PM
    Hi i am trying to run existing docker using pulumi import command by giving name and container id but i get this error...
Powered by Linen
Title
j

jolly-thailand-71855

04/15/2022, 12:15 PM
Hi i am trying to run existing docker using pulumi import command by giving name and container id but i get this error...
View count: 1