Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module "testmodule" {
- ami = "${var.ami}"
- source = "../../modules/ec2"
- vpcsecgroups = "${var.vpcsecgroups}"
- key_name = "${var.key_name}"
- subnetid = "${var.subnetid}"
- count = "${var.count}"
- tag = "nodename"
- user_data = "${file("../user_data.tf")}"
- }
- output "hostname" { value = ${module.testmodule.aws_instance.terraform.id } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement