Skip to content

rmyers808/terraform-azurerm-aion

 
 

Repository files navigation

Azure RM Spirent AION Platform Terraform

Image of Spirent AION

Description

Run Spirent AION platform instances. After Terraform apply finishes you will be able to point your browser at the instance_public_ips addresses.

If you would like to configure the Spirent AION platform in a web browser set the variable enable_provisioner=false. When enable_provisioner=true the instance will be configured. However, license entitlement and product installation will need to be completed in your web browser (see below). Login to the platform instance https://<your_public_ip> using the values of admin_email and admin_password.

Add License Entitlements

  1. From Settings navigate to License Manager, Entitlements
  2. Click Install Entitlements
  3. Use one of the following methods to add entitlements (#1 is prefered)
    1. Login to <your_org>.spirentaion.com and select entitlements to host in the new instance
      Note: Hosted entitlements should be released before destroying the instance. When entitlements are not released you will need to contact Spirent support to release them for you.
    2. Install a license entitlement file obtained from Spirent support

Add Products

  1. From Settings navigate to Settings, Add New Products
  2. Click Install New Products
  3. Select products and versions and click Install

Requirements

Name Version
terraform >= 0.13.0
azurerm >=2.37.0

Providers

Name Version
azurerm >=2.37.0
null n/a
template n/a

Modules

No Modules.

Resources

Name
azurerm_image
azurerm_linux_virtual_machine
azurerm_network_interface
azurerm_network_interface_security_group_association
azurerm_network_security_group
azurerm_public_ip
null_resource
template_file

Inputs

Name Description Type Default Required
admin_email Cluster admin user email. Use this to login to instance web page. Default is obtained from AION user information. string "" no
admin_first_name Cluster admin user first name. Default is obtained from AION user information. string "" no
admin_last_name Cluster admin user last name. Default is obtained from AION user information. string "" no
admin_password Cluster admin user password. Use this to login to the instance web page. string n/a yes
admin_username Administrator user name. string n/a yes
aion_image_name AION image created from private vhd file. This variable overrides the marketplace image. string "" no
aion_password AION user password for aion_url string n/a yes
aion_url AION URL string n/a yes
aion_user AION user registered on aion_url string n/a yes
cluster_names Instance cluster names. List length must equal instance_count. list(string) [] no
dest_dir Destination directory on the instance where provisioning files will be copied string "~" no
enable_provisioner Enable provisioning. When enabled instances will be initialized with the specified variables. bool true no
http_enabled Allow HTTP access as well as HTTPS. Normally this is not recommended. bool false no
ingress_cidr_blocks List of management interface ingress IPv4/IPv6 CIDR ranges. list(string) n/a yes
instance_count Number of instances to create. number 1 no
instance_name Name assigned to the AION instance. An instance number will be appended to the name. string "aion" no
instance_size The Azure Virtual Machine SKU. string n/a yes
local_admin_password Cluster local admin password for instance SSH access. Will use admin_password if not specified. string "" no
marketplace_version The Spirent AION image version (e.g. 0517.0.0). When not specified, the latest marketplace image will be used. string "latest" no
metrics_opt_out Opt-out of Spirent metrics data collection bool false no
mgmt_plane_subnet_id Management public Azure subnet ID. string n/a yes
node_names Instance cluster node names. List length must equal instance_count. list(string) [] no
node_storage_provider Cluster node storage provider string "local" no
node_storage_remote_uri Cluster node storage URI. Leave blank for default when provider is local string "" no
os_disk_size_gb Size of the OS disk in GB. When null size will be determined from the image. number null no
private_key File path to private key string n/a yes
public_key File path to public key. string n/a yes
resource_group_location RG location in Azure string n/a yes
resource_group_name RG name in Azure string n/a yes

Outputs

Name Description
instance_ids List of instance IDs
instance_private_ips List of private IP addresses assigned to the instances, if applicable
instance_public_ips List of public IP addresses assigned to the instances, if applicable

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 49.2%
  • Python 47.7%
  • Shell 3.1%