stocky-motorcycle-65008
04/22/2020, 3:21 PMstocky-motorcycle-65008
04/22/2020, 3:22 PMstocky-motorcycle-65008
04/22/2020, 3:22 PMstocky-motorcycle-65008
04/22/2020, 3:22 PMstocky-motorcycle-65008
04/22/2020, 3:23 PMstocky-motorcycle-65008
04/22/2020, 3:23 PMfast-dinner-32080
04/22/2020, 3:23 PMstocky-motorcycle-65008
04/22/2020, 3:24 PMmillions-judge-24978
04/22/2020, 3:33 PMvpc.privateSubnetIds
and vpc.publicSubnetIds
are promises, can’t just call .concat
cool-egg-852
04/22/2020, 4:29 PMpulumi config -s LinioIT/pr1234 set --path <http://app.reviewApp.pr|app.reviewApp.pr> 1234
error: a map was expected for key "pr"
?adventurous-park-10099
04/22/2020, 9:15 PMapply
termination, recovering from state mismatches, and the like?mysterious-australia-14256
04/23/2020, 9:39 AMbland-lamp-16797
04/23/2020, 10:59 AMterraform_remote_state
?
so for example, if I would have dev/staging
i would like to import from staging some dev outputs ?eager-pillow-75917
04/23/2020, 11:19 AMrhythmic-finland-36256
04/23/2020, 11:50 AMeager-pillow-75917
04/23/2020, 12:03 PMTo 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`
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.