Skip to content

Commit

Permalink
v260 (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
new23d authored Jul 28, 2023
1 parent 3e94eb1 commit 6a98cfb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions discriminat.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ variable "tags" {

variable "instance_size" {
type = string
description = "The default of t3.small should suffice for light to medium levels of usage. Anything less than 2 CPU cores and 2 GB of RAM is not recommended. For faster access to the Internet and for accounts with a large number of VMs, you may want to choose a machine type with more CPU cores. Valid values are t3.small , t3.xlarge , c5.large , c5.xlarge , c5.2xlarge and c5.4xlarge ."
description = "The default of t3.small should suffice for light to medium levels of usage. Anything less than 2 CPU cores and 2 GB of RAM is not recommended. For faster access to the Internet and for accounts with a large number of VMs, you may want to choose a machine type with more CPU cores. Valid values are t3.small , c6i.large , c6i.xlarge , c6i.2xlarge , c6a.large , c6a.xlarge , c6a.2xlarge , c5.large , c5.xlarge , c5.2xlarge ."
default = "t3.small"
}

Expand Down Expand Up @@ -69,13 +69,13 @@ data "aws_ami" "discriminat" {
}

filter {
name = var.ami_owner == null ? "product-code" : "name"
values = [var.ami_owner == null ? "a83las5cq95zkg3x8i17x6wyy" : var.ami_name]
name = var.ami_owner == null ? "product-code" : "owner-id"
values = [var.ami_owner == null ? "a83las5cq95zkg3x8i17x6wyy" : var.ami_owner]
}

filter {
name = "name"
values = var.ami_name == null ? ["DiscrimiNAT-2.5.*"] : [var.ami_name]
values = var.ami_name == null ? ["DiscrimiNAT-2.6.*"] : [var.ami_name]
}
}

Expand Down

0 comments on commit 6a98cfb

Please sign in to comment.