Related issue: Resolves https://github.com/fleetdm/fleet/issues/26225 ## Testing - [x] QA'd all new/changed functionality manually <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added an Android AMAPI mock service for load testing. - Added configurable image version selection and optional Google API request forwarding. - Added routing for mock and API requests through the internal load balancer. - Added secure storage and optional access to Google service-account credentials. - Exposed the mock service endpoint for downstream load-test configuration. - Configured the load-testing environment to use the new internal proxy endpoint. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
16 lines
630 B
Terraform
16 lines
630 B
Terraform
variable "tag" {
|
|
description = "The git branch/tag to build the android-amapi-mock image from. Must be Docker-tag-safe (no forward slashes)."
|
|
type = string
|
|
|
|
validation {
|
|
condition = can(regex("^[0-9A-Za-z_.-]+$", var.tag)) && length(var.tag) <= 128
|
|
error_message = "var.tag must be a non-empty Docker-tag-safe string (letters, digits, '.', '_', '-' only, max 128 chars). Replace slashes with dashes."
|
|
}
|
|
}
|
|
|
|
variable "enable_google_forwarding" {
|
|
description = "Enable forwarding real device requests to Google AMAPI using credentials from the shared secret"
|
|
type = bool
|
|
default = false
|
|
}
|