cool-egg-852
04/02/2020, 3:00 PMgray-tailor-20387
04/02/2020, 3:33 PMpulumi stack import --file dev.checkpoint.json
It's a checkpoint file i edited I got following error after wanting to pulumi preview:
error: .pulumi/stacks/dev.json: snapshot integrity failure; refusing to use it: resource urn😛ulumi:dev:🇱🇸:digitalocean:index/kubernetesCluster:KubernetesCluster::staging refers to unknown provider urn😛ulumi:dev:🇱🇸😛ulumi:providers:digitalocean::default_1_6_0::*charactersequence*
I am positive i did not change "provider" and that cluster is still running on DO cloud. Does anyone have an idea what I might've done wrong or how i can fix this?flat-river-10700
04/02/2020, 4:58 PMbrave-angle-33257
04/02/2020, 5:54 PMvar bucket_name = <pulumi.Output<string>>s3.getOutput(`bucket_backup`);
var instance = new aws.ec2.Instance('instance', {
...
userData: `
#! /bin/bash
# create template for deployment
cat > vpnbackup.sed <<SED
s|--BUCKET-NAME--|${bucket_name.apply(v=>v)}|
...
"Calling [toString] on an [Output<T>] is not supported.\n\nTo get the value of an Output<T> as an Output<string> consider either:\n1: o.apply(v => prefix${v}suffix
)\n2: pulumi.interpolate `prefix${v}suffix`\n\nSee https://pulumi.io/help/outputs for more details."green-morning-1318
04/02/2020, 6:35 PMpulumi up --yes
and I can have a coffee while I know the rest is successfully updating ☺️salmon-account-74572
04/02/2020, 8:16 PMbrave-angle-33257
04/02/2020, 8:49 PMpulumi new
doesnt work:
devops@289876f91c69:/data/pulumi/infra/aws/ec2-jenkins-server$ pulumi new
error: unexpected client error: unexpected requesting "<https://github.com/pulumi/templates.git/info/refs?service=git-upload-pack>" status code: 504
https://www.githubstatus.com/early-intern-90238
04/02/2020, 11:47 PMwhite-airport-48392
04/03/2020, 3:06 AMadorable-action-51248
04/03/2020, 9:20 AMgenId
prefixing all your ids with the environment. i.e. prod-<id>
but then later you change your mind and you want to use <id>-prod
instead and change genId
i know there are aliases, however, these are not really helpful when you use a function genId
to generate these ids.
For this change you would need to go through all the code and add an aliases
section, and add the results of the old version of genId
.
Is there a better way ?
Right now the quickest solution i found without using aliases is to call pulumi destroy
. Thankfully i don’t care about uptime at the moment.gray-lawyer-89054
04/03/2020, 12:41 PMpulumi config set
command (for v1.14.0) when i tried to set value for structured configuration.
When I run:
pulumi config set --path key.prop "1002000"
Result is
proj:key:
prop: 1.002e+06
but for:
pulumi config set --path key.prop "100200"
proj:key:
prop: 100200
Some one encountered this issue? Independently from this bug it would be nice to force save as text because it impacts program flow.abundant-airplane-93796
04/03/2020, 1:55 PMpulumi preview
and/or pulumi up
as per the tutorials, and I've enabled the app for all repos in my organization, but it refuses to fire at all.
Are there some undocumented naming convention rules about org/project/stack/repo naming that I'm missing?busy-umbrella-36067
04/03/2020, 5:37 PMmillions-judge-24978
04/03/2020, 6:06 PMget()
methods without providing an ID? I’d like to be able to aws.alb.LoadBalancer.get('lb', undefined, <filters>)
to be able to lookup a load balancer having certain tags for example.brief-spoon-92183
04/03/2020, 6:07 PMpulumi up
and other actions programmatically from Nodejs (without spawning a new process)? Would love to do that and access outputs for post-processing.brief-spoon-92183
04/03/2020, 6:08 PMbig-potato-91793
04/03/2020, 6:25 PMconst configVariables: Record<string, string> = {
username: config.databaseUsername,
password: config.databasePassword,
connectionString: config.databaseConnectionString,
bucketname: config.bucketname,
bucketPrefix: `${config.appName}/${config.environment}`,
bucketRegion: config.region,
};
config.databaseUsername
is a secret. When I take a look at my secret in k8s the value is more something like
"user": "Calling [toString] on an [Output<T>] is not supported.
To get the value of an Output<T> as an Output<string> consider either:
1: o.apply(v => `prefix${v}suffix`)
2: pulumi.interpolate `prefix${v}suffix`
What should I do? thxstale-knife-36790
04/06/2020, 8:52 AMrough-tomato-98795
04/06/2020, 1:04 PMincalculable-engineer-92975
04/06/2020, 1:29 PMgray-tailor-20387
04/06/2020, 2:12 PMcool-egg-852
04/06/2020, 5:34 PMfast-whale-9064
04/06/2020, 5:51 PMreplace
some instances? In AWS, got a cluster of machines stood up over a year ago, on Pulumi 0.16.8 I think. Now on Pulumi 1.14 and it wants to replace all the instances.incalculable-engineer-92975
04/06/2020, 6:01 PMorange-boots-47327
04/06/2020, 6:27 PMfast-dinner-32080
04/06/2020, 6:41 PMType Name Plan
pulumi:pulumi:Stack k8s-courageous-cluster-asc-dev-k8s-c02
+ ├─ rancher2:index:NodePool workerNodePool1:asc-dev-k8s-c02-w1 create
+ ├─ rancher2:index:NodePool workerNodePool3:asc-dev-k8s-c02-w3 create
+ ├─ rancher2:index:NodePool masterNodePool:asc-dev-k8s-c02-m create
+ ├─ rancher2:index:NodePool workerNodePool2:asc-dev-k8s-c02-w2 create
+ ├─ rancher2:index:ClusterSync rancherClusterSync create
+ ├─ ascendlearning:rancher:SystemAddOnProject systemAddOnsProject create
+ ├─ rancher2:index:Project systemAddOnsProject:systemAddOnsProject create
+ ├─ rancher2:index:Namespace systemAddOnsProject:systemAddOnNamespace create
+ ├─ kubernetes:core:ServiceAccount descheduler:ServiceAccount create
+ ├─ kubernetes:<http://rbac.authorization.k8s.io:ClusterRole|rbac.authorization.k8s.io:ClusterRole> descheduler:ClusterRole create
+ ├─ kubernetes:<http://rbac.authorization.k8s.io:ClusterRoleBinding|rbac.authorization.k8s.io:ClusterRoleBinding> descheduler:ClusterRoleBinding create
+ ├─ kubernetes:core:ConfigMap descheduler:ConfigMap create
+ ├─ kubernetes:batch:CronJob descheduler:CronJob create
+ └─ kubernetes:<http://storage.k8s.io:StorageClass|storage.k8s.io:StorageClass> storageClass:vsphereStorageClass create
Apply
Type Name Status Info
pulumi:pulumi:Stack k8s-courageous-cluster-asc-dev-k8s-c02 **failed** 1 error
+ ├─ rancher2:index:NodePool workerNodePool2:asc-dev-k8s-c02-w2 created
+ ├─ rancher2:index:NodePool workerNodePool1:asc-dev-k8s-c02-w1 created
+ ├─ rancher2:index:NodePool masterNodePool:asc-dev-k8s-c02-m created
+ ├─ rancher2:index:NodePool workerNodePool3:asc-dev-k8s-c02-w3 created
+ └─ kubernetes:<http://storage.k8s.io:StorageClass|storage.k8s.io:StorageClass> storageClass:vsphereStorageClass **creating failed** 1 error
You can see the storage class is created before it shows it would in the preview.microscopic-application-33470
04/07/2020, 1:10 AMproject1 dev, project2 dev, project3 dev, etc.
, however once I'm logged in my S3 bucket I can only have unique stack names, which is fine, but then in each of the projects my stacks will need to be named project1-dev
, project2-dev
, etc. Is there a way to have same stack names across multiple projects?acceptable-stone-35112
04/07/2020, 8:45 AMadorable-musician-66353
04/07/2020, 12:24 PMwarning: resource plugin azure is expected to have version >=2.3.1, but has ; the wrong version may be on your path, or this may be a bug in the plugin
What to do to fix this?adorable-musician-66353
04/07/2020, 1:15 PMadorable-musician-66353
04/07/2020, 1:15 PM