root / main.cf
module "vpc_dtap" {
source = "../modules/aws-vpc-dtap"
}
module "aws-ec2-instance-domain-controller-server" {
source = "../modules/aws-ec2-instance-domain-controller-server"
}
root / multi-domain-controller-серверы / main.cf
module "ec2_instance_domain_controller_servers" {
source = "D:/Users/user/terraform/modules/aws-ec2-instance-domain-controller-server"
### Instance Name and AMI
instance_names = "${var.ec2_instance_domain_controller_server_names}"
ami = "${lookup(var.ami_windows_base, var.region_name)}"
### Tags
env_name = "${var.env_name}"
global_tags = "${var.global_tags}"
instance_tags = "${var.ec2_instance_domain_controller_server_instance_tags}"
### VPC Data
vpc_id = "${module.vpc_dtap.vpc_id}"
availability_zones = "${module.vpc_dtap.availablity_zones}"
}
и получение: module 'ec2_instance_domain_controller_servers': неизвестный модуль, на который ссылается: vpc_dtap
Как ссылаться на модуль vpc_dtap на модуль aws-ec2-instance-domain-controller-server? *