Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in DevOps and Agile by (29.3k points)

It seems like I can use either user-data with a template file or a "remote-exec" provisioner with inline commands to bootstrap. So which one is considered more idiomatic?

1 Answer

0 votes
by (50.2k points)

The user-data field is native to AWS, whereas the remote-exec provisioner is specific to terraform  which is just one of many ways to call AWS-API 

User-data can be viewed in AWS-CONSOLE and is an important part of using Auto Scaling Groups in AWS,  It's not possible to do that with Terraform's remote-exec provisioner.

Related questions

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers


94k users

Browse Categories