Terraform provider & shared config profile issue

I am currently facing some issue in jenkins pipeline related terraform provider error

1 Like

Do you have a provider block defined in the root module ?

provider "aws" {

.....
}

If you do, do check if the Terraform runs are happening from the same directory where the root module is.