Skip to content
This repository was archived by the owner on Nov 23, 2021. It is now read-only.

Commit 8a68140

Browse files
example added
1 parent 6d10bd9 commit 8a68140

File tree

1 file changed

+20
-9
lines changed

1 file changed

+20
-9
lines changed

main.tf

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,31 @@
88
99
* ## Usage example
1010
11-
* A full example leveraging other community modules is contained in the [examples/ebs_optimized_test_fixture](https://github.com/run-at-scale/terraform-utils-ebs-optimized/tree/master/examples/ebs_optimized_fixture). Here's the gist of using it via the Terraform registry:
11+
* A full example leveraging other community modules is contained in the [examples/ebs_optimized_test_fixture](https://github.com/terraform-aws-modules/terraform-aws-ebs-optimized/tree/master/examples/ebs_optimized_fixture). Here's the gist of using it via the Terraform registry:
1212
1313
* ```hcl
14+
* variable "web_type" {
15+
* description = "Size/type of the host."
16+
* default = "m1.large"
17+
* }
18+
*
1419
* module "ebs_optimized" {
15-
source = ""
16-
version =
20+
* source = "terraform-aws-modules/ebs-optimized/aws"
21+
* instance_type = "${var.web_type}"
22+
* }
23+
*
24+
* resource "aws_instance" "web" {
25+
* ami = "${data.aws_ami.ubuntu.id}"
26+
* instance_type = "${var.web_type}"
27+
* ebs_optimized = "${module.ebs_optimized.answer}"
1728
* }
1829
* ```
1930
2031
* ## Testing
2132
2233
* This module has been packaged with inspec tests through [kitchen](https://kitchen.ci/) and [kitchen-terraform](https://newcontext-oss.github.io/kitchen-terraform/). To run them:
2334
24-
* 1. Install [rvm](https://rvm.io/rvm/install) and the ruby version specified in the [Gemfile](https://github.com/run-at-scale/terraform-utils-ebs-optimized/tree/master/Gemfile).
35+
* 1. Install [rvm](https://rvm.io/rvm/install) and the ruby version specified in the [Gemfile](https://github.com/terraform-aws-modules/terraform-aws-ebs-optimized/tree/master/Gemfile).
2536
* 2. Install bundler and the gems from our Gemfile:
2637
*
2738
* ```bash
@@ -46,22 +57,22 @@
4657
4758
* ## Contributing
4859
49-
* Report issues/questions/feature requests on in the [issues](https://github.com/run-at-scale/terraform-utils-ebs-optimized/issues/new) section.
60+
* Report issues/questions/feature requests on in the [issues](https://github.com/terraform-aws-modules/terraform-aws-ebs-optimized/issues/new) section.
5061
51-
* Full contributing [guidelines are covered here](https://github.com/run-at-scale/terraform-utils-ebs-optimized/blob/master/CONTRIBUTING.md).
62+
* Full contributing [guidelines are covered here](https://github.com/terraform-aws-modules/terraform-aws-ebs-optimized/blob/master/CONTRIBUTING.md).
5263
5364
* ## Change log
5465
55-
* The [changelog](https://github.com/run-at-scale/terraform-utils-ebs-optimized/tree/master/CHANGELOG.md) captures all important release notes.
66+
* The [changelog](https://github.com/terraform-aws-modules/terraform-aws-ebs-optimized/tree/master/CHANGELOG.md) captures all important release notes.
5667
5768
* ## Authors
5869
5970
* Created and maintained by [Brandon O'Connor](https://github.com/brandoconnor) - brandon@atscale.run.
60-
* Many thanks to [the contributors listed here](https://github.com/run-at-scale/terraform-utils-ebs-optimized/graphs/contributors)!
71+
* Many thanks to [the contributors listed here](https://github.com/terraform-aws-modules/terraform-aws-ebs-optimized/graphs/contributors)!
6172
6273
* ## License
6374
64-
* MIT Licensed. See [LICENSE](https://github.com/run-at-scale/terraform-utils-ebs-optimized/tree/master/LICENSE) for full details.
75+
* MIT Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-aws-ebs-optimized/tree/master/LICENSE) for full details.
6576
*/
6677

6778
locals {

0 commit comments

Comments
 (0)