Skip to content

Commit 1b6cb29

Browse files
committed
fix typos
1 parent bf2884c commit 1b6cb29

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ module "kafka_instance" {
5656
This module depends on these modules:
5757

5858
* [terraform-null-label](https://github.com/cloudposse/terraform-null-label)
59-
* [terraform-template-User Data-github-authorized-keys](https://github.com/cloudposse/terraform-template-user-data-github-authorized-keys)
59+
* [terraform-template-user-data-github-authorized-keys](https://github.com/cloudposse/terraform-template-user-data-github-authorized-keys)
6060

6161
It is necessary to run `terraform get` to download those modules.
6262

@@ -112,7 +112,7 @@ resource "aws_ami_from_instance" "example" {
112112
| `statistic_level` | `Maximum` | Statistic to apply to the alarm's associated metric | No |
113113
| `metric_threshold` | `1` | Value against which the specified statistic is compared | No |
114114
| `default_alarm_action` | `action/actions/AWS_EC2.InstanceId.Reboot/1.0` | String of action to execute when this alarm transitions into an ALARM state | No |
115-
| `user_data` | `[]` | `User Data` which be concated with `terraform-template-User Data-github-authorized-keys`. Conflicts with `custom_user_data` | No |
115+
| `user_data` | `[]` | `User Data` which be concated with `terraform-template-user-data-github-authorized-keys`. Conflicts with `custom_user_data` | No |
116116
| `custom_user_data` | `[]` | Specific `User Data`, for example pfsense `AMI` doesn't support classic `User Data`. Conflicts with `user_data` | No |
117117

118118

user_data.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
data "template_file" "user_data" {
2-
count = "${local.instance_count && length(var.custom_user_data) == 0 ? 1 : 0}"
2+
count = "${local.instance_count == 0 && length(var.custom_user_data) == 0 ? 1 : 0}"
33
template = "${file("${path.module}/user-data/user_data.sh")}"
44

55
vars {

0 commit comments

Comments
 (0)