Skip to content

Commit

Permalink
ami minor version pinned (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
new23d committed Nov 6, 2022
1 parent 9a02b6d commit b31e664
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ec2:DescribeAddresses
ec2:AssociateAddress
```

An EC2 VPC Endpoint is needed for this mechanism to work though – since making the association needs access to the EC2 API. In the [aws_vpc example](examples/aws_vpc/), this is demonstrated by deploying the endpoint alongwith with the VPC.
An EC2 VPC Endpoint is needed for this mechanism to work though – since making the association needs access to the EC2 API. In the [aws_vpc example](examples/aws_vpc/), this is demonstrated by deploying the endpoint along with the VPC.

It is always possible to not choose this mechanism and have a Public IP associated with the network interfaces of the discrimiNAT right from the onset. This also used to be the case before v2.4 of the discrimiNAT.

Expand Down
5 changes: 5 additions & 0 deletions discriminat.tf
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ data "aws_ami" "discriminat" {
name = var.ami_owner == null ? "product-code" : "name"
values = [var.ami_owner == null ? "a83las5cq95zkg3x8i17x6wyy" : var.ami_name]
}

filter {
name = "name"
values = ["discrimiNAT-2.4.*"]
}
}

##
Expand Down

0 comments on commit b31e664

Please sign in to comment.