Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion aws/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,17 @@ terraform {
}
}

data "aws_ami" "ubuntu_server" {
owners = ["099720109477"]
filter {
name = "name"
values = ["ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20210119.1"]
}
}

# These variables aren't meant to be changed by the end user.
locals {
ami_id = "ami-0074ee617a234808d" # Ubuntu 20.04 LTS
ami_id = data.aws_ami.ubuntu_server.id
opencti_dir = "/opt/opencti"
opencti_install_script_name = "opencti-installer.sh"
opencti_connectors_script_name = "opencti-connectors.sh"
Expand Down