aws-samples / aws-service-catalog-terraform-reference-architecture

Apply Terraform configurations using CloudFormation through a proxy lambda
Apache License 2.0
134 stars 70 forks source link

using terraform to build SC catalog products #14

Closed dayyehm closed 4 years ago

dayyehm commented 5 years ago

Hi,

There's a use case for one of our customers to use this solution but they want to build service catalog products' templates using terraform as well.

for example how to : If cloudformation is going to work as only proxy, how would i parameterize the terraform variable within service catalog ? passing the parameters can be done via a service catalog api in terraform surely with parameters of the template .customer want to build product for client who can launched there product from their side, but most of our team are fond of using terraform for creating resources/product.

regards...

dayyehm commented 5 years ago

I see Terraform does not support provision product or even create product , so I thought maybe customizing the lambda function in the solution to use AWS boto3 to perform that as part of the logic , is that correct ? do you have any examples ?

chapmancl commented 4 years ago

Managing Service Catalog from Terraform is beyond the scope of this project. You can find examples of cloudformation for creating and managing Service Catalog here: https://github.com/aws-samples/aws-service-catalog-reference-architectures