This message was deleted.
# general
s
This message was deleted.
b
Here is fine, there's #CRH5ENVDX, #CRVK66N5U, #CRFUR2DGB for the various providers or you can post in #CJ909TL6P, #CDE799L1M, #CCWP5TJ5U or #CQ2QFLNFL for the various languages
t
Thanks Piers, this is the first question of 3 With Pulumi, can I deploy on my own servers as Prem or not using Cloud Providers ?
l
Pulumi uses providers to action the deployments. If the provider can do it, then Pulumi can tell the provider to do it. I'm not aware of functionality like that in AWS, GCP or Azure. If your on-prem infra is managed using a technology with an associated Pulumi provider, then it should work. For example, I see the vSphere provider on Pulumi's site, which has a VirtualMachine resource type. Which provider were you thinking of?
b
t
For small projects I used VPSDime or Contabo, for this reason I am wondering if is possible to use Pulumi to deploy on those providers
b
You can see the list of providers we currently support here. We do provide the ability to create your own provider: https://www.pulumi.com/docs/intro/concepts/resources/#dynamicproviders if there's one that's not on your list. Or if there's already a terraform provider for it, you can use our boilerplate code for building a new Pulumi provider: https://github.com/pulumi/pulumi-tf-provider-boilerplate
t
Great Thanks!
Another question
In Terraform, when a modification on VM (GCP) or EC2 (AWS) occurs the resource is destroyed and recreated, as I seem on Youtube Videos, with Pulumi this not occurs, why is the reason of this behavior?
b
Pulumi does a create then destroy by default. That's one of the reasons you see the random characters at the end of the name created. There is an option to delete before replace if you wanted to use it
t
Thanks
Another question • In Terraform the Import of current Infrastructure do not modify the config files, in Pulumi this importation process of infrastructure update those files ?
b
in pulumi, import adds the resource to the stack and gives you a chunk of code to maintain it going forward (because if you don't have the code, pulumi assumes you're deleting the resource). We also protect it by default so the next time you run
pulumi up
you can't accidentally delete it
t
@brave-planet-10645, currently I have 2 K8s Clusters created on the UI GCP Dashboard, running, so my goal is to create those 2 enviroments with Pulumi and manage, I need to import those on my project ?
b
Do you already have all your kubernetes resources running in those clusters as well?
t
@brave-planet-10645 yes, it is correct!
b
So you'd need to import your GCP resources (including the cluster) using the GCP provider. With the kubernetes resources (so things on the cluster) then I think you'd need to run the yaml through our kube2pulumi tool
I don't believe you can import in the same way you can import with gcp.. but I'm asking internally
t
Great Piers!, I hope can I manage and move forward to GitOps, I use @codefresh for Blue/Green Deployment on those clusters
b
So you can import using
pulumi import
t
Great, I will try!