Hi guys,
I just started my job in a company and person who worked before used Pulumi and typescript to automate infrastructure in EKS.
He configured 5 EKS clusters and when I try to add a resource under stack path, it is getting deployed into those 5 clusters. I am not able to figure out how to deploy the resource in single cluster.
Can some one please guide me, thanks a lot in advance.
I have attached the folder structure.
Stack name and stack path are defined in a yaml file to deploy infrastructure using github actions.
b
billowy-army-68599
11/07/2021, 8:38 PM
hi there Madhu, there's unfortunately not enough information here to fiogure this out. They may have uses explicit providers to target every cluster
b
brainy-appointment-20633
11/07/2021, 11:22 PM
Hi Jaxx, Thanks for reply.
{ provider: eksCluster.provider }
I see this is defined below the resource defination, and also an import statement in the starting for file as below
import { eksCluster } from "../eksCluster/eksCluster"
and i see a file eksCluster in this location. Please let me know if I can provide anything to help me understand this
b
billowy-army-68599
11/08/2021, 3:22 AM
hey @brainy-appointment-20633 - unfortunately this seems to be way outside the scope of our community help 😞 if you need further help please DM me and we'll see what we can do