-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.tfvars.example
More file actions
57 lines (48 loc) · 2.15 KB
/
env.tfvars.example
File metadata and controls
57 lines (48 loc) · 2.15 KB
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
service_account_key_path = "xxxx/path/to/service-account.json"
bootstrap_project_id = "xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
create_project = true
target_project_name = "cmf-rehost-springboot"
target_project_owner_email = "xxxx@sa.stackit.cloud"
# Set this when the service account cannot read bootstrap project metadata:
# parent_container_id = "organization-xxxxxxxx"
region = "eu01"
availability_zone = "eu01-1"
server_name = "rehost-springboot-vm"
# Required if auto_discover_compute_defaults = false
machine_type = ""
image_id = ""
auto_discover_compute_defaults = false
ssh_user = "ubuntu"
public_ssh_key_path = "~/.ssh/id_rsa.pub"
private_ssh_key_path = "~/.ssh/id_rsa"
jar_local_path = "ansible/files/springboot-app.jar"
run_ansible = true
# Optional observability rollout
enable_observability = false
observability_instance_name = "rehost-observability"
observability_plan_name = "Observability-Starter-EU01"
observability_scrape_interval = "30s"
observability_scrape_timeout = "10s"
# VM/app monitoring on the provisioned server
enable_node_exporter = true
node_exporter_port = 9100
expose_node_exporter_port = true
springboot_app_port = 8080
# Optional local, irregular load generation directly from inside the VM
enable_local_load_generator = false
springboot_loadgen_target_path = "/"
springboot_loadgen_base_interval_seconds = 8
springboot_loadgen_randomized_delay_seconds = 8
springboot_loadgen_burst_min_requests = 40
springboot_loadgen_burst_max_requests = 160
springboot_loadgen_enable_stress = true
springboot_loadgen_stress_cpu_workers = 2
springboot_loadgen_stress_vm_workers = 1
springboot_loadgen_stress_vm_bytes = "40%"
springboot_loadgen_stress_timeout_seconds = 15
# Optional direct scrape of Spring Boot actuator metrics
enable_springboot_metrics_scrape = false
springboot_metrics_port = 8080
springboot_metrics_path = "/actuator/prometheus"
# Automatically import a default Grafana dashboard via API
create_grafana_dashboard = true