Requirements

No requirements.

Providers

NameVersion
awsn/a
localn/a
tlsn/a

Modules

No modules.

Resources

NameType
aws_instance.bastionresource
aws_instance.skywalking-oapresource
aws_instance.skywalking-uiresource
aws_key_pair.ssh-userresource
aws_security_group.bastionresource
aws_security_group.skywalking-oapresource
aws_security_group.skywalking-uiresource
local_file.ssh-userresource
tls_private_key.ssh-userresource
aws_ami.amazon-linuxdata source

Inputs

NameDescriptionTypeDefaultRequired
bastion_enabledEnable bastion host, if you want to access the instances via SSH, you must enable it.booltrueno
bastion_instance_typeCPU, memory, storage and networking capacity for bastion hoststring"t2.micro"no
bastion_ssh_cidr_blocksCIDR blocks for SSH access to bastion hostlist(string)[
“0.0.0.0/0”
]
no
cluster_nameName of the clusterstring"skywalking-cluster"no
create_lbCreate a load balancer for UI instancesbooltrueno
extra_tagsAdditional tags to be added to all resourcesmap(string){}no
oap_instance_ami_idAMI ID for OAP instances, if not set, a suitable AMI ID will be selected automatically.string""no
oap_instance_countNumber of OAP instances, if you want to use H2 storage, you must set it to 1.number1no
oap_instance_security_group_idsAdditional security groups for OAP instanceslist(string)[]no
oap_instance_subnet_idSubnet ID for OAP instancesstringn/ayes
oap_instance_typeCPU, memory, storage and networking capacity for OAP instancesstring"c5.xlarge"no
public_key_pathPath to store the key file for SSH access to the instances.string"~/.ssh"no
storageStorage type for SkyWalking OAP, can be h2, or rds-postgresqlstring"rds-postgresql"no
ui_instance_ami_idAMI ID for UI instances, if not set, a suitable AMI ID will be selected automatically.string""no
ui_instance_countNumber of UI instancesnumber1no
ui_instance_security_group_idsAdditional security groups for UI instanceslist(string)[]no
ui_instance_subnet_idSubnet ID for UI instancesstringn/ayes
ui_instance_typeCPU, memory, storage and networking capacity for UI instancesstring"t2.medium"no
vpc_bastion_subnet_idSubnet ID for bastion hoststringn/ayes
vpc_idVPC IDstringn/ayes

Outputs

NameDescription
bastion_instancesThe bastion instances
bastion_ipsThe public IP that can be used to SSH into the bastion host
oap_instance_idsThe IDs of the OAP instances
oap_instancesThe OAP instances
oap_ipsThe private IPs of the OAP instances
oap_security_groupsThe security groups of the OAP instances
ssh_user_key_fileThe SSH key file that can be used to connect to the bastion instance.
ui_instance_idsThe IDs of the SkyWalking UI instances
ui_instancesThe SkyWalking UI instances
ui_ipsThe IPs of the SkyWalking UI instances
ui_security_groupsThe security groups of the SkyWalking UI instances