How to skip an EBExtension config file

0

I'm using CDK to manage my resources and environment, currently i have 2 elastic beanstalk environments that is being created when i run

CDK deploy command

One of the environment is load balanced and the other is single instance. I have multiple config files one of them for creating cloud watch alarms for scaling the load balanced environment. The problem is when deploying the config file is executed on both environments and i get an error on the single instance environment because the config file have parameters that are designed for the load balanced environment like "EvaluationPeriod"

So my question is how to skip this config file on the single instance environment.

note: I have an environment variable that i can use to know which environment is this one.

demandé il y a 2 ans80 vues
Aucune réponse

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions