fix: ignore default cluster
All checks were successful
/ deploy_site (push) Successful in 2m13s

This commit is contained in:
2025-01-06 10:55:24 +09:00
parent b73bccfe1b
commit f4f5e193e0

View File

@ -81,6 +81,9 @@ export class ECSContainerInsightsEnabled implements BPSet {
const clusters = await this.getClusters(); const clusters = await this.getClusters();
for (const cluster of clusters) { for (const cluster of clusters) {
if (cluster.clusterName === 'default')
continue
const containerInsightsSetting = cluster.settings?.find( const containerInsightsSetting = cluster.settings?.find(
(setting) => setting.name === 'containerInsights' (setting) => setting.name === 'containerInsights'
); );