Terraform action changed after modify the resource modules

update:

Refer to Include Providers from child modules in the root module?, after add another terraform block of

terraform {
    required_version = “>= 0.13”
    required_providers {
    vsphere = {
        version = “1.25.0”
        source = “terraform.io/hashicorp/vsphere”
       }
   }
}

in source folder/ child modules, the init and apply works.