2025-10-08 19:31:37 +00:00
|
|
|
data "aws_caller_identity" "current" {}
|
|
|
|
|
data "aws_region" "current" {}
|
|
|
|
|
|
|
|
|
|
data "git_repository" "tf" {
|
2025-10-23 18:53:13 +00:00
|
|
|
directory = "${path.module}/../../../../"
|
2025-10-08 19:31:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
module "osquery_perf" {
|
2025-11-14 20:35:42 +00:00
|
|
|
source = "github.com/fleetdm/fleet-terraform//addons/osquery-perf?ref=tf-mod-addon-osquery-perf-v1.2.1"
|
2025-10-08 19:31:37 +00:00
|
|
|
customer_prefix = local.customer
|
|
|
|
|
ecs_cluster = data.terraform_remote_state.infra.outputs.ecs_cluster
|
|
|
|
|
loadtest_containers = local.loadtest_containers
|
2025-11-03 17:02:15 +00:00
|
|
|
subnets = data.terraform_remote_state.infra.outputs.vpc_subnets
|
2025-10-08 19:31:37 +00:00
|
|
|
security_groups = data.terraform_remote_state.infra.outputs.security_groups
|
|
|
|
|
ecs_iam_role_arn = data.terraform_remote_state.infra.outputs.ecs_arn
|
|
|
|
|
ecs_execution_iam_role_arn = data.terraform_remote_state.infra.outputs.ecs_execution_arn
|
|
|
|
|
server_url = "http://${data.terraform_remote_state.infra.outputs.internal_alb_dns_name}"
|
2025-11-17 15:21:18 +00:00
|
|
|
osquery_perf_image = "${resource.aws_ecr_repository.loadtest.repository_url}:loadtest-${local.loadtest_tag}"
|
2025-10-08 19:31:37 +00:00
|
|
|
extra_flags = var.extra_flags
|
|
|
|
|
logging_options = data.terraform_remote_state.infra.outputs.logging_config
|
|
|
|
|
enroll_secret_arn = data.terraform_remote_state.infra.outputs.enroll_secret_arn
|
2025-11-14 20:35:42 +00:00
|
|
|
task_size = var.task_size
|
2025-10-08 19:31:37 +00:00
|
|
|
}
|