Commit 484cae48 authored by A-Gordon's avatar A-Gordon

Updated readme

parent 582fc51c
......@@ -6,18 +6,11 @@ The module generates the launch configuration, the auto scaling group and two au
1.) Adding a module resource to your template, e.g. `main.tf`
```
module "asg" {
source = "../../../../steamhaus/tf_mod_aws_ec2"
module "bastion" {
source = "git::https://git.steamhaus.co.uk/steamhaus/tf_mod_aws_bastion"
lc_name = "${var.name}-app-lc-"
ami_id = "${data.aws_ami.app.id}"
iam_instance_profile = "${module.cloudwatch_logs.profile_id}"
key_name = "Bastion"
security_groups = ["${aws_security_group.app.id}"]
user_data = "${data.template_file.userdata_app.rendered}"
asg_name = "${var.name}-app"
load_balancers = ["${module.elb.elb_id}"]
vpc_zone_identifier = ["${module.vpc.private_subnets}"]
availability_zones = "${var.aws_availability_zones}"
vpc_id = "${module.vpc.vpc_id}"
subnet_ids = "${module.vpc.public_subnets}"
}
```
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment