Skip to content

Commit

Permalink
chore(imdsv2): mark http_tokens required by default
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
chenrui333 committed Jan 28, 2024
1 parent f3c6436 commit e4f7231
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ variable "metadata_options" {
default = {
"http_endpoint" = "enabled"
"http_put_response_hop_limit" = 1
"http_tokens" = "optional"
"http_tokens" = "required"
}
}

Expand Down
2 changes: 1 addition & 1 deletion wrappers/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module "wrapper" {
metadata_options = try(each.value.metadata_options, var.defaults.metadata_options, {
"http_endpoint" = "enabled"
"http_put_response_hop_limit" = 1
"http_tokens" = "optional"
"http_tokens" = "required"
})
monitoring = try(each.value.monitoring, var.defaults.monitoring, null)
name = try(each.value.name, var.defaults.name, "")
Expand Down

0 comments on commit e4f7231

Please sign in to comment.