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 PMcool-egg-852
04/07/2020, 2:40 PMmammoth-journalist-45153
04/07/2020, 4:13 PMprehistoric-account-60014
04/07/2020, 4:16 PMbillowy-laptop-45963
04/07/2020, 4:52 PMbitter-zebra-93800
04/07/2020, 5:34 PMcolossal-alarm-90650
04/07/2020, 6:56 PMmicroscopic-application-33470
04/07/2020, 8:48 PMHi everyone -- quick question: I'm using my own S3 bucket as a backend for Pulumi states. Now, I want to have multiple projects that have same stack names, for example project1 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?
polite-portugal-60022
04/07/2020, 8:56 PMswift-painter-31084
04/07/2020, 10:06 PMbreezy-butcher-78604
04/08/2020, 1:47 AMcolossal-alarm-90650
04/08/2020, 7:27 AMnarrow-author-62348
04/08/2020, 9:49 AMsk = config.getSecret("sk")
narrow-author-62348
04/08/2020, 9:52 AMBuffer.from(sk as string).toString("base64")
works, but Iâm wondering if there are other idiomatic way to do this.handsome-cat-98152
04/08/2020, 10:50 AM