I am not sure that I can just ask question here, but please help!
I have module setting like this
root module has provider setting like this
provider “aws” {
region = “ap-northeast-2”
}
provider “aws” {
region =“ap-northeast-2” ( same region)
alias = “security”
profile = “###”
assume_role {
role_arn = " #### " ( this is for security account )
}
}
in root setting, everything works find. and i have a module.
it doesn’t have any provider setting to inherit root provider and
it doesn’t have terraform setting neither because it don’t need to be deployed itself.
if i run “terraform plan” , it shows Provider configuration not present.
as i understand, if there are no provider setting, then root module setting is inherited to it
please help me!