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.

질문됨 2년 전80회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠