sticky-salesmen-55696
12/14/2020, 5:27 PMacceptable-energy-6360
12/14/2020, 7:20 PMbucketName
) during runtime such as from a lambda handler from a separate file using the pulumi SDK?sparse-gold-89283
12/14/2020, 8:52 PMpulumi up
? Use case is a larger project based on serverless framework that's workflow is specific to the serverless framework. I would still like to be able to use getOutputValue
like we do for sharing values across pulumi projects or cli to dump outputs to a file for setting vpc settings and s3 buckets created by our pulumi infrastructure project.loud-battery-37784
12/14/2020, 9:14 PMpulumi up
run gracefully? Use case is we’re setting an env variable in a shell script in CICD. If that variable doesn’t exist I want to not kick out of the process. I implemented this (JS/TS):
const imageVersion = process.env.IMAGE_VERSION || '';
if (!imageVersion) {
throw new Error(`Image version is not present!`);
}
Which works but when up
exits this way the outputs are destroyed which I don’t want to have happen.mysterious-oyster-86659
12/15/2020, 1:02 AMpulumi refresh
. The following block shows the error:
Diagnostics:
aws:redshift:SnapshotScheduleAssociation (redshift-snapshot-schedule-association):
error: Preview failed: refreshing urn:pulumi:dev1::ucboitlake::aws:redshift/snapshotScheduleAssociation:SnapshotScheduleAssociation::redshift-snapshot-schedule-association: 1 error occurred:
* Unable to find Redshift Cluster (dim-redshift-cluster) Snapshot Schedule (redshift-snapshot-schedule) Association
pulumi:pulumi:Stack (ucboitlake-dev1):
error: preview failed
This is occurring (I assume) because I manually used the console to delete my Redshift cluster, which automatically removed all snapshot information. That's all good and well. I've done this kind of thing before and pulumi refresh
detects the changes without errors occurring. However, after introducing custom snapshot functionality and manually deleting via the console, this is the outcome.
Does anyone know a workaround or solution for this type of problem?colossal-easter-73659
12/15/2020, 3:35 AMlittle-cartoon-10569
12/15/2020, 4:24 AMsteep-angle-29984
12/15/2020, 10:27 AMmysterious-oyster-86659
12/15/2020, 3:06 PMprehistoric-nail-50687
12/15/2020, 4:04 PMeager-lion-7694
12/15/2020, 6:24 PMpulumi up
with the error after about 10 minutes:
error waiting for service (service arn) to reach a steady state: ResourceNotReady: exceeded wait attempts
I see one task in ithe service with the status RUNNING
, but the task definition starts with [INACTIVE]
. I noticed that my working fargate service includes the message has reached a steady state.
in the Events tab. What determines a “steady state” for a Fargate service? Does this have anything to do with the desiredCount
of tasks while deploying?rhythmic-pillow-13935
12/15/2020, 6:31 PMworried-queen-62794
12/15/2020, 7:46 PMfreezing-finland-22895
12/15/2020, 9:30 PMpulumi up
in my CI environment. Using AWS CodeBuild 4.0 image, with the latest version of pulumi. Anyone else seeing something similar? AFAICT my deployment hasn't changed much. Increasing resources on the build machine didn't help (so doesn't seem to be a memory issue).worried-queen-62794
12/15/2020, 11:00 PMicy-london-56932
12/16/2020, 1:20 AMmysterious-oyster-86659
12/16/2020, 4:53 PMtall-jackal-67163
12/17/2020, 4:14 AMfuture-megabyte-14556
12/17/2020, 5:21 AMerror: Running program '/Users/…/myproject' failed with an unhandled exception:
Error: invocation of kubernetes:helm:template returned an error: failed to generate YAML for specified Helm chart: failed to load chart from temp directory: stat /var/folders/pm/ftb5j1d51_gbr3cdxfpl1v4r0000gn/T/helm179799543/nginx-ingress: no such file or directory
unhandled rejection: CONTEXT(516): Invoking function: tok=kubernetes:helm:template asynchronously
creamy-country-23426
12/17/2020, 7:06 AMbored-flower-84342
12/17/2020, 1:52 PMmysterious-oyster-86659
12/17/2020, 5:34 PMkind-mechanic-53546
12/17/2020, 11:19 PMhandler and runtime must be set when PackageType is Zip
Runtime is set (.NET Core 3.1 (C#/PowerShell)
), handler is set (Stevie.Cloud.Api::Stevie.Cloud.Api.LambdaEntryPoint::FunctionHandlerAsync
)
Any ideas?proud-pizza-80589
12/18/2020, 10:44 AMlimited-pager-46264
12/18/2020, 12:07 PMmagnificent-restaurant-51456
12/18/2020, 1:42 PMaverage-school-38756
12/18/2020, 3:11 PMimport
values and stack dependencies. But how do i handle resources like pulumi_aws.acm.CertificateValidation
which don't have corresponding cloud provider IDs? i'd like it to continue to be defined in IaC so that a new stack can be spun up with that same code, but Pulumi wants to create a new one.gifted-student-18589
12/18/2020, 5:51 PMStackReference
resource type, but it seems it only works when your state files are stored in the Pulumi cloud (Pulumi backend). Is there something we could use to reference other stacks, but for the case in which the state files are stored locally? Thanks!jolly-vr-53742
12/18/2020, 6:16 PMfull-mouse-82324
12/18/2020, 7:58 PM