https://pulumi.com logo
#general
Title
# general
p

proud-tiger-5743

02/20/2019, 9:48 PM
As in
Copy code
const ffmpegThumbnailTask = new cloud.Task("ffmpegThumbTask", {
    build: "./",  // folder containing the Dockerfile
    memoryReservation: 512,
});
l

lemon-spoon-91807

02/20/2019, 10:10 PM
No, there is not. our recommendation is to move to using awsx, where you can create resources much more closely related to their aws equivalents
and where we've tried to expose all this flexbility
the issue with 'cloud' is that it attempts to be cross-cloud. but things like TaskExecutionRoles are aws specific
awsx is the converse of this. it is highly aws opinionated
p

proud-tiger-5743

02/20/2019, 10:10 PM
Got it - can you point me in the awsx direction?
l

lemon-spoon-91807

02/20/2019, 10:11 PM
but offers a more convenient and flexible ways to create things.
For creating a task?
p

proud-tiger-5743

02/20/2019, 10:12 PM
Perfect - that should be plenty to get started with!
Thank you @lemon-spoon-91807
l

lemon-spoon-91807

02/20/2019, 10:13 PM
sure!
p

proud-tiger-5743

02/20/2019, 11:35 PM
I'm sure it's possible - but I'm not seeing options to pass environmental variables to
FargateTaskDefinition.run()
- does that work similarly to how it's defined in the
cloud
sdk?
Wait - nevermind - I found it!
l

lemon-spoon-91807

02/21/2019, 12:01 AM
All good?
p

proud-tiger-5743

02/21/2019, 12:02 AM
Yup - had to do some digging, but I found it.