lambda function retrieve the output from terraform state file


One challenge that arises here is that the two tools do not have access to dynamically generated

resources from the other tool. Let's assume that a base infrastructure has been created with

Terraform and an AWS application load balancer has been provisioned here that stores a URL as an

output parameter in Terraform State. This url is required in Cloud Formation. CloudFormation Custom

Resources can be used to trigger Lambda functions and use the return values as inputs for other

cloud formation resources.


Create a Lambda function in the programming language of your choice that allows to retrieve an

arbitrary terraform state file from S3 and return terraform outputs from the state file, such as the URL

of an AWS application load balancer in the above example. The Lambda function should be managed

using Terraform IaC. By default all outputs from the terraform state should be returned and optionally

the function should accept an input parameter to return a specific output from the terraform state


Навыки: Amazon Web Services, Terraform

О клиенте:
( 0 отзыв(-а, -ов) ) GHAZIPUR, India

ID проекта: #34007886

2 фрилансеров(-а) готовы выполнить эту работу в среднем за ₹5000


Hello Dear Client, after thoroughly reading your PROJECT DESCRIPTION i have clearly understood it and i would like to work with you. I am a skilled and experienced in the named SKILLS. I consider your project DOABLE as Больше

₹7000 INR за 7 дней(-я)
(1 отзыв)

Hello! I have worked with AWS, Lambda, S3 and Terraform a lot and I fully understood the task. Using python or golang I can write lambda function and terraform code for this function also (if you want) in a short time

₹3000 INR за 7 дней(-я)
(0 отзывов(-а))