wide-jackal-86020
05/06/2021, 11:29 PMwide-jackal-86020
05/06/2021, 11:29 PMcurved-summer-41191
05/07/2021, 1:09 AMvalues
section of the k8s.helm.v2.chart
resource
The issue is that every-time I run a pulumi up it looks like the secret values are changing in k8s and the checksums on the deployments are changing; any thoughts as to why?swift-telephone-15894
05/07/2021, 6:10 AM[resource plugin gcp-5.0.0] installing
Downloading plugin: 0 B / 34.41 MiB 0.00%
Downloading plugin: 3.51 MiB / 34.41 MiB 10.19% 1s
Downloading plugin: 10.03 MiB / 34.41 MiB 29.16%
Downloading plugin: 15.23 MiB / 34.41 MiB 44.25%
Downloading plugin: 20.62 MiB / 34.41 MiB 59.91%
Downloading plugin: 25.93 MiB / 34.41 MiB 75.36%
Downloading plugin: 31.06 MiB / 34.41 MiB 90.26%
Downloading plugin: 34.41 MiB / 34.41 MiB 100.00% 1s
pulumi:pulumi:Stack replayvalue-dev running
pulumi:providers:gcp default_5_2_0 error: no resource plugin 'gcp-v5.2.0' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource gcp v5.2.0`
pulumi:pulumi:Stack replayvalue-dev
pulumi:providers:gcp default_5_2_0 1 error
Diagnostics:
pulumi:providers:gcp (default_5_2_0):
error: no resource plugin 'gcp-v5.2.0' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource gcp v5.2.0`
freezing-quill-32178
05/07/2021, 8:14 AMdev
stacks and become
dev* n/a n/a
Iām trying to import the backup from dev.json.bak
but getting error: could not deserialize deployment: unexpected end of JSON input
from `pulumi stack import --file dev-bkp.json`⦠is there a way to directly import the bak
or something else beforehand should be done?⦠also pulumi refresh
doesnāt do anythingā¦some-flower-64874
05/07/2021, 12:08 PMpulumi stack output
in a file using the Azure DevOps Pipeline task
We need to do some post processing using the stack output on azure devops. I want to do this with a service connection to avoid having to worry about secrets. If I run pulumi using the azure CLI task I'm getting an error relating to connecting to the blob container that's used for the pulumi back end.
This is notionally easy to fix, run pulumi stack output --json
using the pulumi task (which I know will work because pulumi up
works) capturing the output to a file that I can then feed into the powershell that does the things we can't currently do with pulumi. Except I can't capture the output š¢
Open to suggestions at this point (before I put a feature request in to add --output to the CLI)sticky-translator-17495
05/07/2021, 12:54 PMwide-jackal-86020
05/07/2021, 12:56 PMwide-jackal-86020
05/07/2021, 1:00 PMarn:aws:sts::228886564947:assumed-role/AmazonLightsailInstanceRole/i-04f5fe371a036054d
seems to be an account that running the light sail, It's even not my account. I am running the deployment on a light sail instance. My understanding is instance role is of lower priority than the configuration in the .aws
folder. What makes the project on the right side to choose the instance role?wide-jackal-86020
05/07/2021, 1:03 PMcuddly-pharmacist-11587
05/07/2021, 2:20 PMRuntimeWarning: coroutine 'invoke.<locals>.do_rpc' was never awaited
Here's the question on stackoverflow, in case anyone has an answer or suggestion as to what I'm doing wrong here: https://stackoverflow.com/questions/67335936/how-do-you-write-a-pulumi-provider-that-makes-a-rest-api-request-in-pytyonchilly-computer-89246
05/07/2021, 8:05 PMminiature-advantage-31279
05/08/2021, 7:38 AM<https://www.pulumi.com/docs/guides/crosswalk/aws/elb/>
# what is the equivalent code for existing ALB?
const alb = new awsx.lb.ApplicationLoadBalancer("web-traffic");
clever-lawyer-94920
05/09/2021, 11:08 AMephemeral containers
in a kubernetes cluster created using eks?boundless-byte-83231
05/10/2021, 12:47 AMboundless-byte-83231
05/10/2021, 12:48 AMglamorous-tailor-34913
05/10/2021, 4:53 AMbusy-honey-73811
05/10/2021, 12:29 PMdangling
Pulumi resources in my (TypeScript) stacks, resources which are created but not used as input to any other resource and which are neither added to any output nor returned from the main inline function (using the automation api). Looking at many Pulumi examples this seems to be a common pattern. Think of something like this:
function createBucket() {
// Create AWS S3 Bucket but do neither output nor return it. It is also not used
// as input to any other resource.
new Bucket("myBucket", {...});
}
However, rather often I observe that such resources are not created on first stack deployment resp. are delete on later stack updates. It looks like it depends on some ārace conditionā (timing issue) whether those resources are registered by the Pulumi runtime or not. Usually adding such dangling
resources as dependency to another resource (using dependsOn
), or alternatively making it a stack output resp. returning it from the main inline function resolves that (racy) problem.
Now I am wondering, is this expected behaviour when using Pulumi with TypeScript/NodeJs or is this a bug in Pulumi?billowy-laptop-45963
05/10/2021, 4:29 PMnutritious-battery-42762
05/10/2021, 4:37 PMlittle-cartoon-10569
05/11/2021, 3:02 AMbillowy-laptop-45963
05/11/2021, 3:18 AMbillowy-laptop-45963
05/11/2021, 3:27 AMimportant-leather-51045
05/11/2021, 4:08 AMproud-art-41399
05/11/2021, 6:32 AMripe-room-94618
05/11/2021, 8:24 AMboundless-angle-56560
05/11/2021, 1:12 PMred-football-97286
05/11/2021, 3:06 PMripe-knife-11053
05/11/2021, 4:27 PMmany-psychiatrist-74327
05/11/2021, 5:39 PMinfra
exports a kubeconfig
for a kubernetes cluster (and itās a secret), and my project services
reads it, creates a k8s.Provider
and uses that to provision my services in the cluster.
I cannot use StackReference.getOutputValue()
because the output is a secret. If I use StackReference.getOutput()
, then I have to do Output.apply()
to transform it into a Output<k8s.Provider>
. But the k8s resources only takes `k8s.Provider`s, not `Output<k8s.Provider>`sā¦
so.. I guess one option is to put everything inside the apply()
call.. but thatās undesirable. Iām wondering if thereās a cleaner way