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 ...@@ -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` 1.) Adding a module resource to your template, e.g. `main.tf`
``` ```
module "asg" { module "bastion" {
source = "../../../../steamhaus/tf_mod_aws_ec2" source = "git::https://git.steamhaus.co.uk/steamhaus/tf_mod_aws_bastion"
lc_name = "${var.name}-app-lc-" availability_zones = "${var.aws_availability_zones}"
ami_id = "${data.aws_ami.app.id}" vpc_id = "${module.vpc.vpc_id}"
iam_instance_profile = "${module.cloudwatch_logs.profile_id}" subnet_ids = "${module.vpc.public_subnets}"
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}"]
} }
``` ```
\ 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