Video upload date:  · Duration: PT1H46M27S  · Language: EN

You have recently refactored your Terraform hashicorp video

terraform-associate-003 video for you have recently refactored your Terraform configuration, and a resource has been changed to be created within a module. As a

This is a dedicated watch page for a single video.

Full Certification Question

You have recently refactored your Terraform configuration, and a resource has been changed to be created within a module. As a result, the resource has changed from aws_instance.web to module.servers.aws_instance.web . To ensure that Terraform updates the state file correctly and does not recreate the resource, which block should you use in your configuration?