fierce-beach-49649
04/23/2020, 12:15 PMkubernetes:helm.sh:Chart (ig-traefik):
error: Pulumi.ResourceException: The system cannot find the file specified.
at Pulumi.Kubernetes.Helm.ChartBase.<>c__DisplayClass0_0.<.ctor>b__1(ValueTuple`2 values)
at Pulumi.Output`1.ApplyHelperAsync[U](Task`1 dataTask, Func`2 func)
at Pulumi.Output`1.Pulumi.IOutput.GetDataAsync()
at Pulumi.Serialization.Serializer.SerializeAsync(String ctx, Object prop)
at Pulumi.Deployment.SerializeFilteredPropertiesAsync(String label, IDictionary`2 args, Predicate`1 acceptKey)
at Pulumi.Deployment.SerializeAllPropertiesAsync(String label, IDictionary`2 args)
at Pulumi.Deployment.RegisterResourceOutputsAsync(Resource resource, Output`1 outputs)
at Pulumi.Deployment.Runner.WhileRunningAsync()
I have pulumi 2.0.0 and the latest nuget packages.fierce-beach-49649
04/23/2020, 12:15 PMvar igTraefik = new Chart("ig-traefik", new ChartArgs
{
Namespace = "ig-system",
Chart = "traefik",
Repo = "stable",
Values = new InputMap<object>
{
{"kubernetes.ingressEndpoint.useDefaultPublishedService", true},
{"rbac.enabled", true},
{"imageTag", "1.7.11"}
}
});
wonderful-dog-9045
04/23/2020, 12:25 PMOutput
fields:
type Config = {
someValue: Ouput<string>,
otherValue: string,
andSomeMoreValues: Output<object>,
}
Does pulumi private and helper function that that would in this particular case would do:
function helperFunction(config: Config) => Output<{
someValue: string,
otherValue: string,
andSomeMoreValues: string,
}>
so that i don't have to make a messy convolution of .apply()
calls?cold-coat-35200
04/23/2020, 12:35 PMmax_versions
option for a kv secret engine?
the following does not work:
new vault.Mount(name,{
type: 'kv-v2',
path: "something",
options: {
max_versions: 100
}
})
that's the only way I found, can't see any related resource or option for the config endpoint: https://www.vaultproject.io/api-docs/secret/kv/kv-v2#configure-the-kv-engineclever-crowd-18899
04/23/2020, 3:12 PMacceptable-army-69872
04/23/2020, 3:36 PMplain-cat-88025
04/23/2020, 3:43 PMcool-egg-852
04/23/2020, 4:22 PMwitty-vegetable-61961
04/23/2020, 4:58 PMhelpful-processor-86468
04/23/2020, 5:11 PMacoustic-river-98339
04/23/2020, 5:35 PMlimited-rainbow-51650
04/23/2020, 7:01 PMComponentResource
abstracting a set of regular resources, I use this abstraction in the stacks where the resources need to be created. But I also have stacks where the abstracted resources need to be used as inputs. Does Pulumi allow to implement a data source for my ComponentResource that provides an abstraction for the set of data sources?gray-yak-9058
04/23/2020, 11:36 PMpulumi preview --stack main
, but I am getting this error:
error: failed to load checkpoint: blob (key ".pulumi/stacks/main.json") (code=Unknown): MissingRegion: could not find region configuration
I am running CircleCI locally like this:
circleci local execute \
--job build \
-e AWS_ACCESS_KEY_ID=<redacted>\
-e AWS_SECRET_ACCESS_KEY=<redacted> \
-e AWS_REGION=us-east-1
I'm also using aws as my backend.. any idea why I would be getting this error about a missing region configuration when I am clearly passing in the region as an environment variable?polite-student-92901
04/24/2020, 6:11 AMpulumi up
from my local for GCP project
Diagnostics:
gcp:storage:BucketObject (metadata-func-zip):
error: Error uploading object metadata-func-zip-7361f3c: Post <https://www.googleapis.com/upload/storage/v1/b/source-prod-0b3010d/o?alt=json&name=metadata-func-zip-7361f3c&prettyPrint=false&uploadType=resumable&upload_id=AAANsUlDMiMgbtovO9tV-WBAxeoUNUIpdnXUep2V6FZYkqd-vNiOKgVOz-rtsmUhHuxDPC9ggFzORAocsOGtyEet_lg>: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
The source code is:
const bucketObjectMetadata = new gcp.storage.BucketObject('metadata-func-zip', {
bucket: sourceBucket.name,
source: new pulumi.asset.AssetArchive({
'.': new pulumi.asset.FileArchive('../functions/metadata')
})
})
Anyone can help to resolve the error? Thanks.elegant-dusk-37631
04/24/2020, 6:50 AMchilly-terabyte-21485
04/24/2020, 10:04 AMchilly-terabyte-21485
04/24/2020, 10:06 AMchilly-terabyte-21485
04/24/2020, 10:06 AMfaint-motherboard-95438
04/24/2020, 10:51 AMOUTPUT VALUE
componentProps {"foo": "something", "bar": "whatever", ...}
And I want to get it like pulumi stack output componentProps.foo
or pulumi stack output componentProps:foo
but didn’t find the right way to do it.
Obviously I can do a pulumi stack output componentProps | jq -r '.foo'
but I was wondering if there was a “native” way in pulumi
CLI to do it (and avoid the jq
dependency)steep-angle-29984
04/24/2020, 11:53 AMhelpful-processor-86468
04/24/2020, 11:57 AMpulumi destroy
? I have a cloud endpoint resource that is causing problems when it's deleted.mysterious-australia-14256
04/24/2020, 12:15 PMsteep-angle-29984
04/24/2020, 2:16 PMcuddly-secretary-5371
04/24/2020, 3:17 PMimportant-morning-41038
04/24/2020, 9:24 PMable-zoo-58396
04/24/2020, 11:55 PMaws-javascript
template, and every time I try to run pulumi up
or pulumi preview
it fails with this error:
error: an unhandled error occurred: Program exited with non-zero exit code: -1
/usr/local/bin/node[9740]: ../src/env.cc:435:virtual node::Environment::~Environment(): Assertion `(base_object_count()) == (0)' failed.
1: 0x100b8ff9a node::Abort() (.cold.1) [/usr/local/bin/node]
2: 0x1000832c4 node::FatalError(char const*, char const*) [/usr/local/bin/node]
3: 0x10008307c node::AppendExceptionLine(node::Environment*, v8::Local<v8::Value>, v8::Local<v8::Message>, node::ErrorHandlingMode) [/usr/local/bin/node]
4: 0x10003e4bc node::Environment::~Environment() [/usr/local/bin/node]
5: 0x10003e606 node::Environment::~Environment() [/usr/local/bin/node]
6: 0x1000b4ac2 node::NodeMainInstance::Run() [/usr/local/bin/node]
7: 0x100060f13 node::Start(int, char**) [/usr/local/bin/node]
8: 0x7fff71d33cc9 start [/usr/lib/system/libdyld.dylib]
Even if I remove all of the actual resources so it has nothing to deploy, it will still crash on the preview. Basically, it never gets to the state where it asks me to proceed or not. Any reports of something like this?gray-yak-9058
04/25/2020, 3:51 PMfancy-ice-8211
04/26/2020, 5:16 AMTypeError: startswith first arg must be bytes or a tuple of bytes, not str
So I guess I'm doing something wrong with the config, but I can't see it (fixed, see thread).eager-vase-43200
04/26/2020, 6:57 AMcuddly-lizard-88530
04/26/2020, 7:36 AMcuddly-lizard-88530
04/26/2020, 7:36 AMwhite-balloon-205
04/26/2020, 4:11 PMcuddly-lizard-88530
05/01/2020, 4:23 AM