echoing-breakfast-73834
03/02/2020, 10:59 PMfreezing-flag-53289
03/03/2020, 12:15 AMparent:
block of another resource? I got stuck because I can unwrap the promise to check the string, but I can't seem to do that and keep a reference to the resource which is what I actually need.
For example, say I created a bunch of kubernetes.core.v1.Namespace
resources in a function and now I have an array of them. What's the right way to do this:
// namespaces is an array of kubernetes.core.v1.Namespace
const myNamespace = namespaces.find(
ns => ns.metadata.name === 'mynamespace' // Usual Output<string> is not a string problem
);
// Use mynamespace as parent
new k8s.helm.v2.Chart(
'myChart',
{
path: chartPath,
},
{
parent: myNamespace
}
);
glamorous-printer-66548
03/03/2020, 1:47 AMpulumi.runtime
or some other thing at runtime and use it in my config?big-potato-91793
03/03/2020, 1:35 PMwet-sunset-4939
03/03/2020, 3:22 PMconst order = new azure.appservice.CertificateOrder('sample-dev', {
name: 'sample-dev',
csr: '*.host.dev',
autoRenew: true,
...group,
location: 'global',
productType: 'WildCard',
validityInYears: 3
});
gray-city-50684
03/03/2020, 4:11 PMgray-city-50684
03/03/2020, 4:45 PMbitter-dentist-28132
03/03/2020, 5:08 PMbitter-zebra-93800
03/03/2020, 7:32 PMbright-orange-69401
03/04/2020, 9:56 AMpulumi up
Has anyone succeeded in a similar project ? Code example would be epicfierce-cpu-94517
03/04/2020, 10:00 AMpulumi login --local
2. pulumi stack init my-stack
(entered passphrase)
3. aws-vault exec my-profile -- pulumi up
. got an error. some resources provisioned.
4. fixed stuff
5. aws-vault exec my-profile -- pulumi up
. started getting error: decrypting secret value: failed to decrypt: incorrect passphrase, please set PULUMI_CONFIG_PASSPHRASE to the correct passphrase
6. weirder: pulumi stack ls
returns empty list of stacks
what is going on?wet-sunset-4939
03/04/2020, 3:08 PMbumpy-exabyte-11757
03/04/2020, 4:46 PMbumpy-exabyte-11757
03/04/2020, 4:55 PMpulumi config set password
partbumpy-exabyte-11757
03/04/2020, 5:13 PMbumpy-exabyte-11757
03/04/2020, 5:14 PMlimited-rainbow-51650
03/04/2020, 5:29 PMearly-intern-90238
03/04/2020, 6:52 PMhelpful-advantage-49286
03/04/2020, 7:04 PMbig-potato-91793
03/04/2020, 7:24 PMdata
inside the ConfigMap to get all the keys in typescript. Need these to make the volume mounts with keys instead of the hole folder.billions-scientist-31826
03/04/2020, 7:38 PMnumerous-dream-98392
03/04/2020, 9:12 PMpulumi version
will work, but pulumi stack ls
will hang indefinitely. tried increasing verbosity but I'm not getting any extra logs of value - ideas?calm-quill-21760
03/05/2020, 1:14 AMfamous-salesmen-28835
03/05/2020, 6:22 AMclass pulumi_aws.s3.Bucket(resource_name, opts=None, acceleration_status=None, acl=None, arn=None, bucket=None, bucket_prefix=None, cors_rules=None, force_destroy=None, hosted_zone_id=None, lifecycle_rules=None, loggings=None, object_lock_configuration=None, policy=None, region=None, replication_configuration=None, request_payer=None, server_side_encryption_configuration=None, tags=None, versioning=None, website=None, website_domain=None, website_endpoint=None, __props__=None, __name__=None, __opts__=None)
In this if I pass resource_name as "mybucket" then it create s3 bucket with name "mybucket-677282" is it any way to create bucket with my bucket only. Or any one can suggest me this have policy field so if I pass policy in that "resource" needs the ARN of bucket which is not created with a single call how I can create bucket with attached policy.nutritious-shampoo-16116
03/05/2020, 10:20 AMpulumi.errors.RunError: Missing project name; for test mode, please set PULUMI_NODEJS_PROJECT
I tried to set both PULUMI_NODEJS_PROJECT and PULUMI_PYTHON_PROJECT but it seems the project name is not picked up
anybody knows how can I solve this issue?nutritious-shampoo-16116
03/05/2020, 10:24 AM_set_project
from pulumi.runtime.settingsnutritious-shampoo-16116
03/05/2020, 10:25 AMbumpy-exabyte-11757
03/05/2020, 1:14 PMbumpy-exabyte-11757
03/05/2020, 1:17 PMgreat-accountant-75189
03/05/2020, 4:46 PMpulumi up
programmatically? (i.e.: I have an http rest service to create resources)great-accountant-75189
03/05/2020, 4:46 PMpulumi up
programmatically? (i.e.: I have an http rest service to create resources)gentle-diamond-70147
03/05/2020, 4:53 PM--json
flag to get JSON output so you can parse the output easier.great-accountant-75189
03/05/2020, 5:53 PMtall-librarian-49374
03/05/2020, 7:11 PM