🔥 3-day streak
HashiCorp Certified: Terraform Associate (004)80 / 150
Question 80 of 150

A DevOps engineer is writing a configuration to launch an EC2 instance and needs to install and start a web server when the instance boots. A teammate suggests using a remote-exec provisioner with an SSH connection block to run the installation commands. According to HashiCorp's guidance, what is the recommended approach in this situation?

Reviewed for accuracy · Report an issueNext question