clever-glass-42863
04/12/2022, 6:24 PMPULUMI_CONFIG_PASSPHRASE
ahead of running $ pulumi stack select $CI_COMMIT_REF_NAME --create --secrets-provider passphrase --verbose 9
We see the initial stack get created with the following output
{
"version": 3,
"checkpoint": {
"stack": "dev"
}
}
But then immediately see the following ouput:
Created stack 'dev'
error: incorrect passphrase
Any ideas on what could be going on?thankful-coat-47937
04/12/2022, 7:16 PMhelpful-shoe-41967
04/12/2022, 8:01 PMpulumi update
the process want to update my resource (db-instance) on my gcp even when diff operations shows that everything are the same.
When I use
pulumi update --diff --json > diff-file.json
I can see the newState and oldState for resource is exactly the same but pulumi still want to update it with error like this:
... 1 error occurred:
* Error, failed to update instance settings for : googleapi: Error 412: Condition does not match., staleData
Could anyone advice me how I could track it down?calm-mechanic-93288
04/12/2022, 8:03 PMmasterAuthorizedNetworksConfig
. Anyone encountered an error below when trying to update the cidrBlocks in masterAuthorizedNetworksConfig
?
error: error sending request: googleapi: Error 400: Must provide an update.
incalculable-thailand-44404
04/13/2022, 12:24 AM> [2/2] COPY ./abc/abc_bin.jar app.jar:
------
failed to compute cache key: "./abc/abc_bin.jar" not found: not found
when trying to build a docker image with Pulumi. My DockerFile (ExampleProject/abc/DockerFile
)looks like this :
FROM openjdk:8-jdk-alpine
ARG JAR_FILE=./abc/abc_bin.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]
My top level Bazel project is named ExampleProject
under which I have abc
as follows : ExampleProject/abc
. When I run bazel build //abc/...
from ExampleProject
it creates a new directory called /ExampleProject/bazel-bin/abc
which has all the jars including abc_bin.jar
victorious-tiger-25684
04/13/2022, 12:34 AMIDInput
, e.g. for https://www.pulumi.com/registry/packages/gcp/api-docs/container/cluster/#look-up?able-train-72108
04/13/2022, 1:16 AMeager-keyboard-30823
04/13/2022, 10:21 AMrhythmic-branch-12845
04/13/2022, 11:48 AMrhythmic-branch-12845
04/13/2022, 12:13 PMwhite-chef-55657
04/13/2022, 1:26 PMrefined-king-6688
04/13/2022, 1:52 PMquick-coat-75430
04/13/2022, 2:28 PMquick-coat-75430
04/13/2022, 2:30 PMmammoth-art-6111
04/13/2022, 2:56 PMup
? 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 futurenarrow-vr-58841
04/13/2022, 3:25 PMpulumi-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!green-crowd-42127
04/13/2022, 3:48 PMdamp-honey-93158
04/13/2022, 4:25 PMdamp-honey-93158
04/13/2022, 4:26 PMdamp-honey-93158
04/13/2022, 4:27 PMvar getCredsTask = GetRegistryCredentials.Invoke(new GetRegistryCredentialsInvokeArgs()
{
RegistryName = registryName,
ResourceGroupName = resourceGroupName
});
damp-honey-93158
04/13/2022, 4:28 PMincalculable-thailand-44404
04/13/2022, 8:05 PMaws: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 yesterdaymammoth-art-6111
04/13/2022, 9:18 PMpulumi up
? example: can i tie a CDK project to something i orchestrated in pulumi?nice-father-44210
04/13/2022, 10:39 PMAssetArchive
object? Thanks in advance.rhythmic-branch-12845
04/14/2022, 4:53 AMPreviewing 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?rhythmic-branch-12845
04/14/2022, 6:44 AMhelpful-account-44059
04/14/2022, 7:00 AMexport 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")],
});
rhythmic-branch-12845
04/14/2022, 8:34 AMpulumi 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 clarifiedmicroscopic-article-30157
04/14/2022, 3:16 PMmany-spring-73557
04/14/2022, 10:05 PM