I have a user-data file attached to the main.tf. Whenever I make changes to the user-data file, and then run the terraform apply, the changes do not reflect on the server until I destroy and recreate the resources. Please is this the default operation or am I missing something. Thank you for answers.
After making the changes on the user date file, I expect that terraform apply will create a new instance with the updated user-data file content, but that is not happening.