HiveBrain v1.2.0
Get Started
← Back to all entries
snippetterraformMinor

Does it make sense to create CloudFormation Stack using Terraform?

Submitted by: @import:stackexchange-devops··
0
Viewed 0 times
createstackmakecloudformationsenseusingdoesterraform

Problem

I am not very familiar with AWS, but I know the basics. So please forgive me for any newbie mistakes in the question.

I am trying to integrate our AWS accounts with a vendor app. The vendor has provided a CloudFormation template to create a CF stack that will create the required IAM role, S3 bucket, SNS topic etc for the integration. I looked at the CF template, broke down the steps in the CF template, and wrote the resources that need to be created in our AWS for our vendor (after incorporating changes to suit our environment). When I gave the broken down steps along with the CF template to our DevOps team, I was expecting them to Terraformize the CF template and create the IAM role, etc through terraform. But I see that they are trying to write a Terraform code to create the CloudFormation Stack. No one else in our organization would log into AWS account's console and create stuff, only the DevOps team does it and they do everything through Terraform.

Does it make sense to use Terraform to create CF stack since they can create the IAM role, S3 bucket etc using Terraform itself?

Solution

Initially, I though no it does not make sense to use Terraform to create the infra structure to run Cloud Formation script to do create resources you can do using Terraform.

If you are experience in Terraform and use it for your other infrastructure, it does not make sense to introduce another way of doing it,

The only reason I could see to create the Cloud Formation stack and run their provide script would to be to remove the possibility of the introductions of errors during the conversion to Terraform.

If their Cloud Formation script is complex this could be an issue, but if it is just creating an IAM role and some policies it is probably not much of a concern.

Context

StackExchange DevOps Q#14047, answer score: 1

Revisions (0)

No revisions yet.