No requirements.
Name | Version |
---|---|
aws | 5.10.0 |
local | 2.4.0 |
random | 3.5.1 |
Name | Source | Version |
---|---|---|
alb | terraform-aws-modules/alb/aws | ~> 8.0 |
rds | terraform-aws-modules/rds/aws | ~> 5.0 |
skywalking | ./modules/skywalking | n/a |
vpc | terraform-aws-modules/vpc/aws | ~> 5.0 |
Name | Type |
---|---|
aws_elasticsearch_domain.elasticsearch | resource |
aws_security_group.alb-skywalking-ui | resource |
aws_security_group.allow_apps | resource |
aws_security_group.elasticsearch | resource |
aws_security_group.public-egress-access | resource |
local_file.elasticsearch_vars | resource |
local_file.h2_vars | resource |
local_file.inventories | resource |
local_file.rds_postgresql_vars | resource |
random_password.rds_password | resource |
aws_availability_zones.available | data source |
aws_caller_identity.current | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
access_key | Access key of the AWS account, if you have configured AWS CLI, you can leave it empty. | string | "" | no |
bastion_enabled | Enable bastion host, if you want to access the instances via SSH, you must enable it. | bool | true | no |
bastion_instance_type | CPU, memory, storage and networking capacity for bastion host | string | "t2.micro" | no |
bastion_ssh_cidr_blocks | CIDR blocks for SSH access to bastion host | list(string) | [ “0.0.0.0/0” ] | no |
cidr | CIDR for database tier | string | "11.0.0.0/16" | no |
cluster_name | Name of the cluster | string | "skywalking-cluster" | no |
create_lb | Create load balancer for SkyWalking UI | bool | true | no |
database_subnets | CIDR used for database subnets | set(string) | [ “11.0.104.0/24”, “11.0.105.0/24”, “11.0.106.0/24” ] | no |
extra_tags | Additional tags to be added to all resources | map(string) | {} | no |
oap_instance_count | Number of OAP instances, if you want to use H2 storage, you must set it to 1. | number | 1 | no |
oap_instance_type | CPU, memory, storage and networking capacity for OAP instances | string | "c5.xlarge" | no |
private_subnets | CIDR used for private subnets | set(string) | [ “11.0.1.0/24”, “11.0.2.0/24”, “11.0.3.0/24” ] | no |
public_key_path | Path to store the key file for SSH access to the instances. | string | "~/.ssh" | no |
public_subnets | CIDR used for public subnets | set(string) | [ “11.0.101.0/24”, “11.0.102.0/24”, “11.0.103.0/24” ] | no |
region | Physical location for clustered data centers. | string | "us-east-1" | no |
secret_key | Secret key of the AWS account, if you have configured AWS CLI, you can leave it empty. | string | "" | no |
storage | Storage configuration for SkyWalking OAP | object({ h2 = optional(object({})) rds_postgresql = optional(object({ db_storage_size_gb = optional(number) db_max_storage_size_gb = optional(number) db_instance_class = optional(string) db_name = optional(string) db_username = optional(string) db_password = optional(string) })) elasticsearch = optional(object({ domain_name = optional(string) version = optional(string) instance_type = optional(string) instance_count = optional(number) additional_security_groups = optional(list(string)) zone_awareness_enabled = optional(bool) availability_zone_count = optional(number) ebs_enabled = optional(bool) })) }) | { “h2”: {} } | no |
ui_instance_count | Number of UI instances | number | 1 | no |
ui_instance_type | CPU, memory, storage and networking capacity for UI instances | string | "t2.medium" | no |
Name | Description |
---|---|
alb_dns_name | The domain name of the ALB that can be used to access SkyWalking UI. |
bastion_ips | The public IP that can be used to SSH into the bastion host |
database_address | The database address |
database_name | The database name |
database_password | The database password |
database_port | The database port |
database_username | The database username |
elasticsearch_endpoint | The elasticsearch endpoint |
oap_ips | The private IPs of the OAP instances |
ssh_user_key_file | The SSH private key file to use to connect to the bastion host |
ui_ips | The IPs of the SkyWalking UI instances |