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

cold-piano-21918

02/28/2019, 8:23 PM
Are there any examples for python and ecs using
TaskDefinition
and
Service
? all the examples I can find are for JS using @aws-infra, which seems like a shortcut. Specifically creating a ecs service, the
network_configuration
part of the documention is not clear.
w

white-balloon-205

02/28/2019, 8:41 PM
There is not an example currently (examples for Python docs are coming soon). We're also working on a longer term ability to use libraries like
awsx.ecs.FargateService
from Python (see https://github.com/pulumi/pulumi/issues/2430) In the meantime - it's not the simplest thing to follow - but you can see one example of using this from JavaScript in the implementation of
awsx.ecs.FargateService
at https://github.com/pulumi/pulumi-awsx/blob/a247370be1b016701e94f79a777c4b55249e0173/nodejs/awsx/ecs/fargateService.ts#L215.
c

cold-piano-21918

02/28/2019, 9:00 PM
thanks, it looks like if i want to be productive, i should switch over to JS