enos: support max_page_size in AWS scenarios (#4352)
This commit is contained in:
1 parent
b14cd1e864
commit
c334ec700c
10 files changed
+24
No files matched your search
@@ -89,6 +89,7 @@ resource "enos_file" "controller_config" {
|
||||
ops_port = var.listener_ops_port
|
||||
cluster_port = var.listener_cluster_port
|
||||
region = var.aws_region
|
||||
max_page_size = var.max_page_size
|
||||
})
|
||||
for_each = toset([for idx in range(var.controller_count) : tostring(idx)])
|
||||
|
||||
|
||||
@@ -152,6 +152,10 @@ output "project_scope_name" {
|
||||
value = try(enos_boundary_init.controller[0].project_scope_name, null)
|
||||
}
|
||||
|
||||
output "max_page_size" {
|
||||
value = var.max_page_size
|
||||
}
|
||||
|
||||
output "target_id" {
|
||||
description = "Generated target id from boundary init"
|
||||
value = try(enos_boundary_init.controller[0].target_id, null)
|
||||
|
||||
@@ -20,6 +20,8 @@ listener "tcp" {
|
||||
purpose = "api"
|
||||
tls_disable = true
|
||||
|
||||
max_page_size = ${max_page_size}
|
||||
|
||||
# Uncomment to enable CORS for the Admin UI. Be sure to set the allowed origin(s)
|
||||
# to appropriate values.
|
||||
#cors_enabled = true
|
||||
|
||||
@@ -20,6 +20,8 @@ listener "tcp" {
|
||||
purpose = "api"
|
||||
tls_disable = true
|
||||
|
||||
max_page_size = ${max_page_size}
|
||||
|
||||
# Uncomment to enable CORS for the Admin UI. Be sure to set the allowed origin(s)
|
||||
# to appropriate values.
|
||||
#cors_enabled = true
|
||||
|
||||
@@ -316,6 +316,12 @@ variable "healthcheck_path" {
|
||||
default = "/health"
|
||||
}
|
||||
|
||||
variable "max_page_size" {
|
||||
description = "Max allowed page size for pagination requests"
|
||||
type = number
|
||||
default = 10
|
||||
}
|
||||
|
||||
variable "alb_sg_additional_ips" {
|
||||
description = "Additional IPs to be allowed (ingress) on an ALB Security Group"
|
||||
type = list(string)
|
||||
|
||||
@@ -38,6 +38,10 @@ variable "auth_password" {
|
||||
type = string
|
||||
default = ""
|
||||
}
|
||||
variable "max_page_size" {
|
||||
description = "Max allowed page size for pagination requests"
|
||||
type = number
|
||||
}
|
||||
variable "local_boundary_dir" {
|
||||
description = "Local Path to boundary executable"
|
||||
type = string
|
||||
@@ -184,6 +188,7 @@ resource "enos_local_exec" "run_e2e_test" {
|
||||
E2E_WORKER_TAG_INGRESS = var.worker_tag_ingress
|
||||
E2E_WORKER_TAG_EGRESS = var.worker_tag_egress
|
||||
E2E_WORKER_ADDRESS = var.worker_address
|
||||
E2E_MAX_PAGE_SIZE = var.max_page_size
|
||||
}
|
||||
|
||||
inline = var.debug_no_run ? [""] : [
|
||||
|
||||
Reference in new issue
Block a user