Skip to content

Commit

Permalink
Merge pull request #53 from hazelops/CORE-811-resource-aws-eip-autosc…
Browse files Browse the repository at this point in the history
…aling-update-deprecated-parameters

Deprecated EIP parameter updated/ domain parameter added
  • Loading branch information
kobrikx authored Jan 16, 2025
2 parents ee82ad9 + ac06dd2 commit d00b408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoscaling.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ resource "aws_eip" "autoscaling" {
# If ec2_eip_count is set, use that number for number of EIPs, otherwise use var.max_size + 1 (but that might not be the best during downscaling and deletion of EIPs
count = var.ec2_eip_enabled ? (var.ec2_eip_count > 0 ? var.ec2_eip_count : var.max_size + 1) : 0
public_ipv4_pool = "amazon"

domain = "vpc"
tags = {
Name = "${local.name}-${count.index + 1}"
env = var.env
Expand Down

0 comments on commit d00b408

Please sign in to comment.