fierce-ability-58936
12/15/2022, 7:27 PMpulumi import
but that doesn't 100% fit either. We can construct an import json from the terraform file, but making the right hierarchy will be tricky.
3. None of the above is scalable!
So I was thinking: is there an easy way to modify Pulumi in the following way:
1. Add another flag to pulumi import
, say --import-existing
or something.
2. Pulumi will have all the information about the resource hierarchy and it should be able to query for existing resources.
3. If existing resources match the code (by id?), import them into the state. Those resources don't have to be a perfect match.
Does it make sense? Does it sound hard to implement?incalculable-spring-4592
12/16/2022, 8:13 AMquick-night-9217
12/16/2022, 8:55 AMadamant-football-558
12/16/2022, 10:15 AMpulumi up
has flat --parallel
available. Does it make sense to use component resources with this flag set to 3-4 to speed up the deployment of the resources?
Currently, we are not using the Component Resources, but I'm wondering if this could help optimize deployment time. At the moment, it's around 8 minutes. I wish to cut it by at least a few minutes because, soon, we would like to set gitops pipelines.dry-keyboard-94795
12/16/2022, 11:51 AMstack import
with resources from google-native
incalculable-spring-4592
12/16/2022, 11:59 AMwooden-ice-60753
12/16/2022, 6:45 PM.Release.IsInstall
built-in object for helm. I'm currently using k8s.helm.v3.Chart for the deployment. It seems that it always sets .Release.IsInstall
to true
and .Release.IsUpgrade
to false
. k8s.helm.v3.Release does set these values right.
I'm in a bind. Either I need to get it working for k8s.helm.v3.Chart or switch to k8s.helm.v3.Release. For the former, I'm coming up empty. For the later, there isn't any docs on that. Just swapping the Chart to Release doesn't work gracefully because pulumi will try to delete resources at the same time helm will try to create resources with the same name.
Any tips?sparse-intern-71089
12/17/2022, 1:55 PMstocky-father-68249
12/19/2022, 11:22 AMgorgeous-architect-28903
12/19/2022, 12:34 PMstrong-winter-28568
12/19/2022, 12:47 PMconst ip = frontend.status.loadBalancer.apply(
(lb) => lb.ingress[0].ip || lb.ingress[0].hostname
);
I am trying to use this IP in a client (Browser) application configuration. But I am not able to convert it into a string . I tried different methods including
ip.apply(i => `http://${i}/abc`)
Second
pulumi.interpolate `http://${ip}/abc`
Third
pulumi.concat(`http://`, ip, `/abc`)
Every time I get the same error, toString()
is not supported, or toJSON()
is not supported. Can someone help me please ?enough-sunset-73069
12/19/2022, 2:09 PMfierce-xylophone-92490
12/19/2022, 6:07 PMwing
or winglang
. I'm sure it'll be a while before it's production ready, but still neat to think about.gorgeous-accountant-60580
12/20/2022, 11:55 AMstrong-match-67698
12/21/2022, 12:09 PMA new version of Pulumi is available. To upgrade from version '3.49.0' to '3.50.0'
but then in chocolatey doesn't seem to find it
Maybe it wasn't added to repo?ambitious-father-68746
12/21/2022, 12:30 PMnarrow-quill-60617
12/21/2022, 3:35 PMcuddly-hairdresser-74798
12/21/2022, 9:13 PMconsole.log()
from Pulumi TS code?little-journalist-4778
12/22/2022, 10:35 AMgreen-plastic-3690
12/22/2022, 11:21 AMclever-painter-96148
12/22/2022, 11:48 AMgentle-angle-52500
12/22/2022, 10:26 PMgentle-angle-52500
12/22/2022, 10:26 PMcuddly-computer-18851
12/22/2022, 10:56 PMenough-garden-22763
12/23/2022, 12:41 AMnarrow-cpu-35517
12/23/2022, 10:14 AMconst userpool = new aws.cognito.UserPool(`${name}-userpool`, {
usernameAttributes: ["email", "phone_number"],
accountRecoverySetting: {
recoveryMechanisms: [
{
name: "verified_phone_number",
priority: 1
}, {
name: "verified_email",
priority: 2
}
]
},
smsConfiguration: {
externalId,
snsCallerArn: snsRole.arn,
snsRegion: "us-east-1",
},
schemas: [
{
name: "given_name",
attributeDataType: "String",
mutable: true
},
{
name: "family_name",
attributeDataType: "String",
mutable: true
}
]
})
witty-vegetable-61961
12/23/2022, 3:16 PMwitty-vegetable-61961
12/23/2022, 3:16 PMsquare-laptop-45713
12/23/2022, 6:23 PMbrainy-church-78120
12/23/2022, 7:09 PM