Do you have a provider
block in infrastructure-modules\internus\main.tf
?
provider "aws" {
# The AWS region in which all resources will be created
region = "${var.aws_region}"
# Only these AWS Account IDs may be operated on by this template
allowed_account_ids = ["${var.aws_account_id}"]
}
You need that in every module too!