cancel
Showing results for 
Search instead for 
Did you mean: 
Login & Join the DevCentral Connects Group to watch the Recorded LiveStream (May 12) on Basic iControl Security - show notes included.
Marek_228998
Historic F5 Account

Problem this snippet solves:

Terraform template - AWS instance

Code :

resource "aws_instance" "f5" {
    ami = "ami-id"
    instance_type = "m3.xlarge"
    associate_public_ip_address = true
    private_ip = "10.0.0.21"
    availability_zone = "${aws_subnet.management.availability_zone}"
    subnet_id = "${aws_subnet.management.id}"
    security_groups = ["${aws_security_group.allow_all.id}"]
    vpc_security_group_ids = ["${aws_security_group.allow_all.id}"]
    #user_data = "${file("cloud-config.yaml")}"
    key_name = "key-name"
    root_block_device { delete_on_termination = true }
    tags {
        Name = "f5"
        License = "License"
    }
}
Version history
Last update:
‎29-Sep-2016 01:05
Updated by:
Contributors