I am using `awsx.ecs.FargateTaskDefinition` to set...
# aws
w
I am using
awsx.ecs.FargateTaskDefinition
to setup the task definition. Now I want to use cpuArchitecture: ARM64 because its better. But it seems that I have to switch over to
aws.ecs.TaskDefinition
to be able to set it. By doing that I also have to change how I setup the service (
awsx.ecs.FargateService
) because it needs to be
awsx.ecs.FargateTaskDefinition
. Am i missing something or is it that once that I want to go outside of the AWSX(crosswalk) scope I need to change all related services to AWS? Is there a work-around or something I’am missing?
The property that crosswalk is missing: runtimePlatform: { cpuArchitecture: ‘ARM64’, operatingSystemFamily: ‘LINUX’, },
h
Are you using the new 1.0.0 beta version?
w
these are my dependencies:
Copy code
"dependencies": {
    "@pulumi/aws": "^5.4.0",
    "@pulumi/aws-apigateway": "^0.0.6",
    "@pulumi/awsx": "^0.40.0",
    "@pulumi/pulumi": "^3.27.0",
    "@pulumi/random": "^4.4.2"
  }
pulumi version v3.26.1
h
You can try upgrading awsx to the latest 1.0.0-beta.4 as the new abstraction should fix this
1