Skip to content

Instantly share code, notes, and snippets.

@solarce
Last active August 29, 2015 14:17
Show Gist options
  • Save solarce/b77110786e5dbd5dc2b9 to your computer and use it in GitHub Desktop.
Save solarce/b77110786e5dbd5dc2b9 to your computer and use it in GitHub Desktop.
Example of testing out https://github.com/solarce/tf_zookeeper with terraform.io
thq-d-bburt01 福 ~/code/lookout/terraform/tf_zookeeper_github ➤ 9aeb663|master✓
4331 ± : cp terraform.tfvars.example terraform.tfvars ⏎ [0m]
thq-d-bburt01 福 ~/code/lookout/terraform/tf_zookeeper_github ➤ 9aeb663|master✓
4332 ± : terraform get -update [0m]
Get: git::https://github.com/terraform-community-modules/tf_aws_sg.git?ref=stable (update)
Get: git::https://github.com/terraform-community-modules/tf_aws_asg.git?ref=stable (update)
4334 ± : touch /tmp/bootstrap_stage0_zk_default.sh ⏎ [0m]
thq-d-bburt01 福 ~/code/lookout/terraform/tf_zookeeper_github ➤ 9aeb663|master✓
4335 ± : terraform plan [0m]
Refreshing Terraform state prior to plan...
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed.
Note: You didn't specify an "-out" parameter to save this plan, so when
"apply" is called, Terraform can't guarantee this is what will execute.
+ module.sg_zookeeper
1 resource(s)
+ module.zookeeper_autoscaling_group
2 resource(s)
thq-d-bburt01 福 ~/code/lookout/terraform/tf_zookeeper_github ➤ 9aeb663|master✓
4336 ± : terraform plan -module-depth=-1 [0m]
Refreshing Terraform state prior to plan...
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed.
Note: You didn't specify an "-out" parameter to save this plan, so when
"apply" is called, Terraform can't guarantee this is what will execute.
+ module.sg_zookeeper.aws_security_group.main_security_group
description: "" => "Security Group zk-stage0-stage0"
egress.#: "" => "<computed>"
ingress.#: "" => "7"
ingress.1663094005.cidr_blocks.#: "" => "0"
ingress.1663094005.from_port: "" => "0"
ingress.1663094005.protocol: "" => "udp"
ingress.1663094005.security_groups.#: "" => "0"
ingress.1663094005.self: "" => "1"
ingress.1663094005.to_port: "" => "65535"
ingress.1963779062.cidr_blocks.#: "" => "1"
ingress.1963779062.cidr_blocks.0: "" => "10.0.0.0/8"
ingress.1963779062.from_port: "" => "3888"
ingress.3738418453.protocol: "" => "tcp"
ingress.3738418453.security_groups.#: "" => "0"
ingress.3738418453.self: "" => "1"
ingress.3738418453.to_port: "" => "65535"
ingress.4149627623.cidr_blocks.#: "" => "1"
ingress.4149627623.cidr_blocks.0: "" => "10.0.0.0/8"
ingress.4149627623.from_port: "" => "2181"
ingress.4149627623.protocol: "" => "tcp"
ingress.4149627623.security_groups.#: "" => "0"
ingress.4149627623.self: "" => "0"
ingress.4149627623.to_port: "" => "2181"
name: "" => "zk-stage0-stage0"
owner_id: "" => "<computed>"
vpc_id: "" => "vpc-26a44a43"
+ module.zookeeper_autoscaling_group.aws_autoscaling_group.main_asg
availability_zones.#: "" => "2"
availability_zones.221770259: "" => "us-west-2b"
availability_zones.2487133097: "" => "us-west-2a"
default_cooldown: "" => "<computed>"
desired_capacity: "" => "3"
force_delete: "" => "<computed>"
health_check_grace_period: "" => "300"
health_check_type: "" => "EC2"
launch_configuration: "" => "${aws_launch_configuration.launch_config.id}"
max_size: "" => "3"
min_size: "" => "0"
name: "" => "zk-stage0-asg"
termination_policies.#: "" => "<computed>"
vpc_zone_identifier.#: "" => "2"
vpc_zone_identifier.1771469189: "" => "subnet-3c3dce59"
vpc_zone_identifier.54942480: "" => "subnet-f57b6881"
+ module.zookeeper_autoscaling_group.aws_launch_configuration.launch_config
associate_public_ip_address: "" => "0"
iam_instance_profile: "" => "arn:aws:iam::XXXXXXXXXXXX:instance-profile/chef-node"
image_id: "" => "ami-35143705"
instance_type: "" => "m3.large"
key_name: "" => "rundeck-stage"
name: "" => "zk-stage0-lc"
security_groups.#: "" => "<computed>"
user_data: "" => "da39a3ee5e6b4b0d3255bfef95601890afd80709"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment