Error in Terraform Plan - Provisioner remote-exec

Hello all,

Hoping anyone could help me please.

I am seeing this error in my plan and not sure what the actual issue is as it used to work in v12.

Error: Incorrect attribute value type
   on main.tf line 68, in resource "vsphere_virtual_machine" "vm":
        inline = <<EOF
         ${data.template_file.user_data_source_colours.rendered}
         ${data.template_file.user_data_announcement.rendered}
         ${data.template_file.user_data_set_hostname.rendered}
         ${data.template_file.user_data_set_proxy.rendered}
         ${data.template_file.user_data_join_domain.rendered}
        EOF
 Inappropriate value for attribute "inline": list of string required.

Thank you.

No worries all. I think I may have resolved the problem by amending the resource block as:

provisioner "remote-exec" {
  inline = [
      ${data.template_file.user_data_source_colours.rendered},
      ${data.template_file.user_data_announcement.rendered},
      ${data.template_file.user_data_set_hostname.rendered},
      ${data.template_file.user_data_set_proxy.rendered},
      ${data.template_file.user_data_join_domain.rendered}
   ]
}