Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
pysysops committed Jan 16, 2019
1 parent 6df0c58 commit b4f9843
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion examples/simple/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Run `terraform destroy` when you don't need these resources.
| Name | Description |
|------|-------------|
| db\_ids | List of IDs of DB Droplets |
| db\_ipv4\_address\_private | List of IPv4 addresses of db Droplets |
| db\_ipv4\_address\_private | List of IPv4 addresses of DB Droplets |
| db\_tags | List of tags of DB Droplets |
| db\_volume\_attachment\_id | List of volume attachment IDs of DB Droplets |
| web\_ids | List of IDs of web Droplets |
Expand Down
32 changes: 16 additions & 16 deletions examples/simple/outputs.tf → examples/simple/output.tf
Original file line number Diff line number Diff line change
@@ -1,28 +1,13 @@
output "web_ids" {
description = "List of IDs of web Droplets"
value = "${module.web.droplet_id}"
}

output "db_ids" {
description = "List of IDs of DB Droplets"
value = "${module.db.droplet_id}"
}

output "web_ipv4_address" {
description = "List of IPv4 addresses of web Droplets"
value = "${module.web.ipv4_address}"
}

output "db_ipv4_address_private" {
description = "List of IPv4 addresses of db Droplets"
description = "List of IPv4 addresses of DB Droplets"
value = "${module.db.ipv4_address_private}"
}

output "web_ipv6_address" {
description = "List of IPv6 addresses of web Droplets"
value = "${module.web.ipv6_address}"
}

output "db_tags" {
description = "List of tags of DB Droplets"
value = "${module.db.tags}"
Expand All @@ -32,3 +17,18 @@ output "db_volume_attachment_id" {
description = "List of volume attachment IDs of DB Droplets"
value = "${module.db.volume_attachment_id}"
}

output "web_ids" {
description = "List of IDs of web Droplets"
value = "${module.web.droplet_id}"
}

output "web_ipv4_address" {
description = "List of IPv4 addresses of web Droplets"
value = "${module.web.ipv4_address}"
}

output "web_ipv6_address" {
description = "List of IPv6 addresses of web Droplets"
value = "${module.web.ipv6_address}"
}
50 changes: 25 additions & 25 deletions output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,21 @@ output "droplet_id" {
value = ["${local.droplet_id}"]
}

output "droplet_ids" {
description = "List of associated Droplet IDs of Volumes"
value = ["${local.volume_droplet_ids}"]
}

output "filesystem_type" {
description = "List of initial filesystem types of Volumes"
value = ["${local.volume_filesystem_type}"]
}

output "image" {
description = "List of images of Droplets"
value = ["${local.droplet_image}"]
}

output "ipv4_address" {
description = "List of public IPv4 addresses assigned to the Droplets"
value = ["${local.droplet_ipv4_address}"]
Expand All @@ -40,47 +55,32 @@ output "ipv6_address_private" {
value = ["${local.droplet_ipv6_address_private}"]
}

output "region" {
description = "List of regions of Droplets"
value = ["${local.droplet_region}"]
}

output "name" {
description = "List of names of Droplets"
value = ["${local.droplet_name}"]
}

output "region" {
description = "List of regions of Droplets"
value = ["${local.droplet_region}"]
}

output "size" {
description = "List of sizes of Droplets"
value = ["${local.droplet_size}"]
}

output "image" {
description = "List of images of Droplets"
value = ["${local.droplet_image}"]
}

output "tags" {
description = "List of tags of Droplets"
value = ["${local.droplet_tags}"]
}

output "volume_id" {
description = "List of IDs of Volumes"
value = ["${local.volume_id}"]
}

output "filesystem_type" {
description = "List of initial filesystem types of Volumes"
value = ["${local.volume_filesystem_type}"]
}

output "droplet_ids" {
description = "List of associated Droplet IDs of Volumes"
value = ["${local.volume_droplet_ids}"]
}

output "volume_attachment_id" {
description = "List of IDs of Volume Attachments"
value = ["${local.volume_attachment_id}"]
}

output "volume_id" {
description = "List of IDs of Volumes"
value = ["${local.volume_id}"]
}

0 comments on commit b4f9843

Please sign in to comment.