Skip to content

Commit dd513de

Browse files
committed
Improve doc
1 parent 970440e commit dd513de

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Usage
77
-----
88

99
```hcl
10-
module "ami_id" {
11-
source =
12-
distribution = "ecs"
10+
module "ami-ids" {
11+
source = "devops-workflow/ami-ids/aws"
12+
distribution = "ecs"
1313
}
1414
```

outputs.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
output "ami_id" {
2-
description = "AMI ID for Linux distribution"
2+
description = "AMI ID for Linux distribution requested"
33
value = "${element(data.aws_ami.ami.*.id, index(split(",", local.names), var.distribution))}"
44
}
55

66
output "ami_ids" {
7-
description = "All AMI IDs"
7+
description = "List of all AMI IDs"
88
value = "${data.aws_ami.ami.*.id}"
99
}
1010

1111
output "ami_names" {
12-
description = "All AMI Names"
12+
description = "List of all AMI Names"
1313
value = "${data.aws_ami.ami.*.name}"
1414
}
1515

1616
output "distro_names" {
17-
description = "All distribution names. Can be used to index the other lists"
17+
description = "List of all distribution names. Can be used to index the other lists"
1818
value = "${split(",", local.names)}"
1919
}

0 commit comments

Comments
 (0)