Skip to content

Commit

Permalink
OPS-5596: Using Custom Private AMI
Browse files Browse the repository at this point in the history
  • Loading branch information
vikkasyousaf committed Sep 25, 2023
1 parent aeb6234 commit 4244d92
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
15 changes: 0 additions & 15 deletions data.tf
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
data "aws_region" "current" {}

data "aws_ami" "vault_consul" {
most_recent = true
owners = [var.ami_owner]

filter {
name = "name"
values = ["flaconi/devops/custome/vault-consul-*"]
}

filter {
name = "virtualization-type"
values = ["hvm"]
}
}

data "aws_elb" "vault_elb" {
name = module.vault_elb.name
}
6 changes: 0 additions & 6 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,3 @@ variable "ami_id" {
default = null
type = string
}

variable "ami_owner" {
description = "AWS account id for the AMI."
default = null
type = string
}

0 comments on commit 4244d92

Please sign in to comment.