@gradientedge/cdk-utils 7.7.0 → 7.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -226,6 +226,7 @@ class SiteWithEcsBackend extends common_1.CommonConstruct {
226
226
  domainZone: this.siteHostedZone,
227
227
  healthCheck: this.props.siteHealthCheck,
228
228
  taskImageOptions: {
229
+ ...this.props.siteTask.taskImageOptions,
229
230
  environment: this.siteEcsEnvironment,
230
231
  executionRole: this.siteEcsRole,
231
232
  taskRole: this.siteEcsRole,
@@ -102,7 +102,7 @@ class EcsManager {
102
102
  proxyConfiguration: props.proxyConfiguration,
103
103
  runtimePlatform: {
104
104
  operatingSystemFamily: props.runtimePlatform?.operatingSystemFamily ?? ecs.OperatingSystemFamily.LINUX,
105
- cpuArchitecture: props.runtimePlatform?.cpuArchitecture ?? ecs.CpuArchitecture.ARM64,
105
+ cpuArchitecture: props.runtimePlatform?.cpuArchitecture ?? ecs.CpuArchitecture.X86_64,
106
106
  },
107
107
  taskRole: role,
108
108
  volumes: props.volumes,
@@ -151,7 +151,7 @@ class EcsManager {
151
151
  memoryLimitMiB: props.memoryLimitMiB,
152
152
  runtimePlatform: {
153
153
  operatingSystemFamily: props.runtimePlatform?.operatingSystemFamily ?? ecs.OperatingSystemFamily.LINUX,
154
- cpuArchitecture: props.runtimePlatform?.cpuArchitecture ?? ecs.CpuArchitecture.ARM64,
154
+ cpuArchitecture: props.runtimePlatform?.cpuArchitecture ?? ecs.CpuArchitecture.X86_64,
155
155
  },
156
156
  serviceName: `${id}-${scope.props.stage}`,
157
157
  taskImageOptions: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradientedge/cdk-utils",
3
- "version": "7.7.0",
3
+ "version": "7.9.0",
4
4
  "description": "Utilities for AWS CDK provisioning",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
@@ -251,6 +251,7 @@ export class SiteWithEcsBackend extends CommonConstruct {
251
251
  domainZone: this.siteHostedZone,
252
252
  healthCheck: this.props.siteHealthCheck,
253
253
  taskImageOptions: {
254
+ ...this.props.siteTask.taskImageOptions,
254
255
  environment: this.siteEcsEnvironment,
255
256
  executionRole: this.siteEcsRole,
256
257
  taskRole: this.siteEcsRole,
@@ -95,7 +95,7 @@ export class EcsManager {
95
95
  proxyConfiguration: props.proxyConfiguration,
96
96
  runtimePlatform: {
97
97
  operatingSystemFamily: props.runtimePlatform?.operatingSystemFamily ?? ecs.OperatingSystemFamily.LINUX,
98
- cpuArchitecture: props.runtimePlatform?.cpuArchitecture ?? ecs.CpuArchitecture.ARM64,
98
+ cpuArchitecture: props.runtimePlatform?.cpuArchitecture ?? ecs.CpuArchitecture.X86_64,
99
99
  },
100
100
  taskRole: role,
101
101
  volumes: props.volumes,
@@ -153,7 +153,7 @@ export class EcsManager {
153
153
  memoryLimitMiB: props.memoryLimitMiB,
154
154
  runtimePlatform: {
155
155
  operatingSystemFamily: props.runtimePlatform?.operatingSystemFamily ?? ecs.OperatingSystemFamily.LINUX,
156
- cpuArchitecture: props.runtimePlatform?.cpuArchitecture ?? ecs.CpuArchitecture.ARM64,
156
+ cpuArchitecture: props.runtimePlatform?.cpuArchitecture ?? ecs.CpuArchitecture.X86_64,
157
157
  },
158
158
  serviceName: `${id}-${scope.props.stage}`,
159
159
  taskImageOptions: {