https://pulumi.com logo
#aws
Title
# aws
n

narrow-xylophone-93444

12/02/2020, 6:07 PM
Hello - I'm new to Pulumi! It's particularly interesting to me because using the Automation API looks way better than shelling out to AWS CDK. The one problem I've noticed is that the docs omit any mention of support for AWS MediaLive, which is critical for my use case (even though it supports all its sister services like MediaPackage and MediaStore!). It seems like Terraform has the same limitation too. I'm not expecting to deploy general infrastructure through Pulumi in the near future - just simple video broadcast pipelines and a few S3 buckets. So my question is: should I just be hacking a solution with AWS CDK, or is there a workaround that would allow me to create MediaLive resources through Pulumi? I couldn't find anything in the Pulumi docs about this.
l

little-cartoon-10569

12/02/2020, 6:59 PM
If you're using automation-api, then you can do the Pulumi stuff first and await the stack(s), then rely on the AWS SDK for bits that aren't yet within the Terraform/Pulumi SDKs...
g

gentle-diamond-70147

12/02/2020, 7:25 PM
Another option is to use a cloudformation stack from within your Pulumi app - e.g. https://www.pulumi.com/docs/reference/pkg/aws/cloudformation/stack/.
I've not used MediaLive so if it's relatively simple then the cloudformation option would be pretty easy to do and keep everything within Pulumi's "control".
n

narrow-xylophone-93444

12/02/2020, 8:18 PM
The CloudFormation stack option might just do it, thanks for the idea!