Skip to content

Commit

Permalink
Merge pull request #134 from ministryofjustice/nomis/DSOS-1956/re-ena…
Browse files Browse the repository at this point in the history
…ble-memory-monitoring-alarms

swap out depracated value after aws provider now ~> 5.0
  • Loading branch information
robertsweetman authored Jul 4, 2023
2 parents 2508494 + 120cd96 commit ef82a70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ resource "aws_instance" "this" {

resource "aws_eip" "this" {
#checkov:skip=CKV2_AWS_19: "EIP attachment is handled through separate resource"
count = var.instance.associate_public_ip_address ? 1 : 0
vpc = true
count = var.instance.associate_public_ip_address ? 1 : 0
domain = "vpc"
tags = merge(local.tags, {
Name = var.name
})
Expand Down

0 comments on commit ef82a70

Please sign in to comment.