-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: The block_duration_minutes
attribute under launch template spot_options
is not a required
#1847
fix: The block_duration_minutes
attribute under launch template spot_options
is not a required
#1847
Conversation
… not a required attribute
block_duration_minutes
under launch template spot_options
is not a required attributeblock_duration_minutes
attribute under launch template spot_options
is not a required
### [18.3.1](v18.3.0...v18.3.1) (2022-02-04) ### Bug Fixes * The `block_duration_minutes` attribute under launch template `spot_options` is not a required ([#1847](#1847)) ([ccc4747](ccc4747))
This PR is included in version 18.3.1 🎉 |
@@ -158,7 +158,7 @@ resource "aws_launch_template" "this" { | |||
dynamic "spot_options" { | |||
for_each = lookup(instance_market_options.value, "spot_options", null) != null ? [instance_market_options.value.spot_options] : [] | |||
content { | |||
block_duration_minutes = spot_options.value.block_duration_minutes | |||
block_duration_minutes = lookup(spot_options.value, block_duration_minutes, null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@antonbabenko block_duration_minutes should be quoted right?
block_duration_minutes = lookup(spot_options.value, "block_duration_minutes", null)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, this looks like a bug
block_duration_minutes = lookup(spot_options.value, block_duration_minutes, null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, opened a pr: #1881
### [18.3.1](terraform-aws-modules/terraform-aws-eks@v18.3.0...v18.3.1) (2022-02-04) ### Bug Fixes * The `block_duration_minutes` attribute under launch template `spot_options` is not a required ([#1847](terraform-aws-modules/terraform-aws-eks#1847)) ([85dd887](terraform-aws-modules/terraform-aws-eks@85dd887))
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
block_duration_minutes
under launch templatespot_options
is not a required attributecompelte
example, external EKS managed node group module which was missing the security group IDs and failing to join the clusterMotivation and Context
Breaking Changes
How Has This Been Tested?
examples/*
projects