rhythmic-tailor-27305
06/15/2020, 7:47 AMrhythmic-tailor-27305
06/15/2020, 7:48 AMvictorious-gigabyte-4729
06/15/2020, 5:56 PMnumerous-lifeguard-13411
06/15/2020, 6:45 PMsalmon-needle-46218
06/15/2020, 6:49 PMpulumi/actions
docker container?miniature-petabyte-40567
06/15/2020, 7:19 PMAccessLogs = new Aws.LB.Inputs.LoadBalancerAccessLogsArgs
{
Bucket = aws_s3_bucket.Lb_logs.Bucket,
Enabled = true,
Prefix = "test-lb",
},
numerous-lifeguard-13411
06/15/2020, 7:28 PMastonishing-quill-88807
06/15/2020, 7:49 PMexisting_vpc = ec2.get_vpc(tags={'Name': 'my-vpc-name'})
if existing_vpc and existing_vpc.not_in_stack():
import_opts = ResourceOption(import_=existing_vpc.id)
astonishing-quill-88807
06/15/2020, 7:50 PMnot_in_stack
functionality can do some broad lookup of whether Pulumi is already managing the given VPC?white-beard-6027
06/15/2020, 7:52 PMpulumi config set --path "path/of/secret-key/"
and entered a weird looking 16 char pwgen
random password.
And Pulumi detected that it looks like a password and asked me to use --secret
flag to save it securely.
How cool is that! 🙂
Pleasant surprise. And a DX.mysterious-pilot-36551
06/15/2020, 10:38 PMgreat-byte-67992
06/15/2020, 11:39 PMDate.now + N days
that won’t update on every deployment, perhaps only updating when it’s within a week of the expiry date?future-daybreak-2871
06/16/2020, 8:32 AMfuture-daybreak-2871
06/16/2020, 8:33 AMecs_cluster = aws.ecs.Cluster("ecsCluster", name="cluster-name", tags=default_tags)
and trying to refer to it using ecs_cluster.name
(tried ecs_cluster.name.apply(lambda name: name)
too.future-daybreak-2871
06/16/2020, 8:34 AM<pulumi.output.Output object at 0x7f717c021d30>
future-daybreak-2871
06/16/2020, 8:35 AMfamous-kite-69533
06/16/2020, 12:50 PMconst apiToken = pulumi.output(args.apiToken || config.getSecret('apiToken') || "blah")
then I am trying to interpolate its value in a string:
secretInline: `HCLOUD_API_TOKEN: '${apiToken}'`
Instead of the expected value, the following is stored (it's a Kubernetes secret):
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`
See <https://pulumi.io/help/outputs> for more details. This function may throw in a future version of @pulumi/pulumi.
How can I fix? I've read a bit and tried adding .apply(v => v)
but nothing changes. Thanks!quick-terabyte-13013
06/16/2020, 1:51 PMpulumi new aws-python -s tpilvelis-gw/aws-python/dev
I'm getting error error: unable to open bucket <azblob://pulumi>: azureblob.OpenBucket: accountName is required
is this on the pulumi side?future-daybreak-2871
06/16/2020, 1:59 PMrich-napkin-40911
06/16/2020, 3:51 PMpulumi stack ls
, it doesn't show my stack (it's present in ~/.pulumi/stacks
and also my Pulum.<stack>.json
is present in my directory); what's happening?
--- UPDATE ---
It's confusing for me as to why it should matter, but if I set PULUMI_CONFIG_PASSPHRASE
, my stack is displayedbitter-zebra-93800
06/16/2020, 4:24 PMable-crayon-21563
06/16/2020, 9:13 PMconfig:
kubernetes:context: none
The odd thing is that all my resources from k8s
have an explicit provider set, and so the ambient provider shouldn’t be needed. FYI.brash-manchester-88595
06/16/2020, 9:35 PM<http://kubernetes.io/cluster/|kubernetes.io/cluster/>
) would be ideal, but because they’re on the resource as an output and not in the props
I can’t seem to use stack transformations.damp-jelly-5493
06/17/2020, 8:23 AMpulumi preview -j > plan.json
but i cant find the equivalent of terraform apply plan
steep-alligator-79173
06/17/2020, 11:09 AMsteep-angle-29984
06/17/2020, 11:46 AMsrc/microservice/rex-common/base/BaseMicroservice.ts(5,21): error TS2532: Object is possibly 'undefined'.
src/microservice/rex-common/base/BaseMicroservice.ts(5,31): error TS2339: Property 'template' does not exist on type 'Input<DeploymentSpec>'.
The errors refer to the following line: const pod = args.spec.template.spec;
icy-jordan-58549
06/17/2020, 3:25 PMpulumi:pulumi:Stack (etl-test4):
warning: resource plugin azure is expected to have version >=3.9.2, but has ; the wrong version may be on your path, or this may be a bug in the plugin
warning: resource plugin azure is expected to have version >=3.9.2, but has ; the wrong version may be on your path, or this may be a bug in the plugin
acceptable-stone-35112
06/17/2020, 4:49 PMicy-jordan-58549
06/17/2020, 4:54 PM@pulumi/kubernetes
has issue to destroy the stack for “operator” style deployments. Probably it doesn’t know about pods/services that operator makes, so pulumi always fails to destroy the k8s. Any ideas, workarounds?mammoth-france-95463
06/17/2020, 5:02 PMmammoth-france-95463
06/17/2020, 5:02 PMgreen-school-95910
06/17/2020, 5:07 PMmammoth-france-95463
06/17/2020, 7:09 PM