Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
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

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Mar 29, 2021 in AWS by Amyra (12.9k points)

Browse Categories

...