forked from aws-observability/aws-otel-test-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.tf
85 lines (66 loc) · 1.68 KB
/
common.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
variable "region" {
default = "us-west-2"
}
variable "validation_config" {
default = "default-mocked-server-validation.yml"
}
variable "testcase" {
default = "../testcases/otlp_mock"
}
variable "sample_app" {
default = "spark"
}
## mocked server related
# we use mocked_server_image if it's not empty, if it's empty, the image will come from the basic component, which is built by imagebuild module
variable "mocked_server_image" {
default = ""
}
variable "mocked_server" {
default = "https"
}
# we use sample_app_image if it's not empty, if it's empty, the sample_app_image will come from the basic component, which is built by imagebuild module
# instead "sample_app" will be used to choose the image
variable "sample_app_image" {
default = ""
}
variable "aoc_image_repo" {
default = "611364707713.dkr.ecr.us-west-2.amazonaws.com/aws/aws-otel-collector"
}
variable "aoc_version" {
default = "latest"
}
variable "aws_access_key_id" {
default = ""
}
variable "aws_secret_access_key" {
default = ""
}
variable "soaking_metric_namespace" {
default = "AWSOtelCollector/SoakingTest"
}
variable "debug" {
type = bool
default = false
}
variable "soaking_data_mode" {
default = "metric"
}
variable "soaking_data_type" {
default = "otlp"
}
variable "sample_app_mode" {
default = "push"
}
variable "cortex_instance_endpoint" {
# change to your cortex endpoint
default = "https://aps-workspaces-gamma.us-west-2.amazonaws.com/workspaces/ws-31eb305d-3208-42d5-a7f4-32ce1191e699"
}
variable "aotutil" {
default = "../../cmd/aotutil/aotutil"
}
variable "aoc_vpc_name" {
default = "aoc-vpc"
}
variable "aoc_vpc_security_group" {
default = "aoc-vpc-security-group"
}