Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cleanup for Issue #9, Code analysis errors and warnings #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions asg.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ resource "aws_autoscaling_group" "ecs_nodes" {
dynamic "initial_lifecycle_hook" {
for_each = local.lifecycle_hooks
iterator = hook
//noinspection HILUnresolvedReference
content {
name = hook.value.name
lifecycle_transition = hook.value.lifecycle_transition
Expand Down
3 changes: 2 additions & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ data "aws_ssm_parameter" "ecs_ami_arm64" {
name = "/aws/service/ecs/optimized-ami/amazon-linux-2/arm64/recommended/image_id"
}
variable "spot" {
description = "Choose should we use spot instances or on-demand to poulate ECS cluster."
description = "Choose should we use spot instances or on-demand to populate ECS cluster."
type = bool
default = false
}
Expand All @@ -44,6 +44,7 @@ variable "user_data" {
description = "A shell script will be executed at once at EC2 instance start."
default = ""
}
//noinspection TFIncorrectVariableType
variable "ebs_disks" {
description = "A list of additional EBS disks."
type = map(string)
Expand Down