|
2 | 2 |
|
3 | 3 | # terraform-azure-ampere-vm |
4 | 4 |
|
| 5 | +[](https://github.com/AmpereComputing/terraform-azure-ampere-vm) |
| 6 | + |
| 7 | +[](https://github.com/AmpereComputing/terraform-gcp-ampere-t2a/actions/workflows/pages/pages-build-deployment) |
| 8 | +[](https://github.com/AmpereComputing/terraform-azure-ampere-vm/tags) |
| 9 | +[](https://github.com/AmpereComputing/terraform-azure-ampere-vm/issues) |
| 10 | + |
| 11 | + |
| 12 | +[](https://github.com/AmpereComputing/terraform-azure-ampere-vm/network) |
| 13 | + |
| 14 | + |
5 | 15 | [](https://opensource.org/licenses/Apache-2.0) |
| 16 | + |
| 17 | + |
6 | 18 |
|
7 | 19 | ## Description |
8 | 20 |
|
@@ -49,72 +61,6 @@ terraform init && terraform plan && terraform apply -auto-approve |
49 | 61 | ``` |
50 | 62 |
|
51 | 63 | <!-- BEGIN_TF_DOCS --> |
52 | | -## Requirements |
53 | | - |
54 | | -No requirements. |
55 | | - |
56 | | -## Providers |
57 | | - |
58 | | -| Name | Version | |
59 | | -|------|---------| |
60 | | -| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | n/a | |
61 | | -| <a name="provider_local"></a> [local](#provider\_local) | n/a | |
62 | | -| <a name="provider_random"></a> [random](#provider\_random) | n/a | |
63 | | -| <a name="provider_tls"></a> [tls](#provider\_tls) | n/a | |
64 | | - |
65 | | -## Modules |
66 | | - |
67 | | -No modules. |
68 | | - |
69 | | -## Resources |
70 | | - |
71 | | -| Name | Type | |
72 | | -|------|------| |
73 | | -| [azurerm_network_interface.nic](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/network_interface) | resource | |
74 | | -| [azurerm_network_security_group.nsg](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/network_security_group) | resource | |
75 | | -| [azurerm_public_ip.pip](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/public_ip) | resource | |
76 | | -| [azurerm_resource_group.rg](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/resource_group) | resource | |
77 | | -| [azurerm_subnet.subnet](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/subnet) | resource | |
78 | | -| [azurerm_virtual_machine.vm](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/virtual_machine) | resource | |
79 | | -| [azurerm_virtual_network.vnet](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/virtual_network) | resource | |
80 | | -| [local_file.azure-ssh-privkey](https://registry.terraform.io/providers/hashicorp/local/latest/docs/resources/file) | resource | |
81 | | -| [local_file.azure-ssh-pubkey](https://registry.terraform.io/providers/hashicorp/local/latest/docs/resources/file) | resource | |
82 | | -| [random_uuid.random_id](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/uuid) | resource | |
83 | | -| [tls_private_key.azure](https://registry.terraform.io/providers/hashicorp/tls/latest/docs/resources/private_key) | resource | |
84 | | -| [azurerm_public_ip.pip](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/public_ip) | data source | |
85 | | -| [azurerm_subscription.current](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/subscription) | data source | |
86 | | - |
87 | | -## Inputs |
88 | | - |
89 | | -| Name | Description | Type | Default | Required | |
90 | | -|------|-------------|------|---------|:--------:| |
91 | | -| <a name="input_address_space"></a> [address\_space](#input\_address\_space) | The address space that is used by the virtual network. You can supply more than one address space. Changing this forces a new resource to be created. | `string` | `"10.2.0.0/16"` | no | |
92 | | -| <a name="input_azure_os_image"></a> [azure\_os\_image](#input\_azure\_os\_image) | Default OS Image From the Local Vars | `string` | `"ubuntu2004"` | no | |
93 | | -| <a name="input_azure_vm_count"></a> [azure\_vm\_count](#input\_azure\_vm\_count) | Azure Ampere Virtual machine Config | `number` | `1` | no | |
94 | | -| <a name="input_cloud_init_template_file"></a> [cloud\_init\_template\_file](#input\_cloud\_init\_template\_file) | Optional path for a cloud-init file | `string` | `null` | no | |
95 | | -| <a name="input_instance_prefix"></a> [instance\_prefix](#input\_instance\_prefix) | Name prefix for vm instances | `string` | `"azure-ampere-vm"` | no | |
96 | | -| <a name="input_location"></a> [location](#input\_location) | The location/region where the virtual network is created. Changing this forces a new resource to be created. | `string` | `"westus2"` | no | |
97 | | -| <a name="input_resource_group"></a> [resource\_group](#input\_resource\_group) | The name of the resource group in which to create the virtual network. | `string` | `"Terraform-Ampere-on-Azure"` | no | |
98 | | -| <a name="input_rg_prefix"></a> [rg\_prefix](#input\_rg\_prefix) | The shortened abbreviation to represent your resource group that will go on the front of some resources. | `string` | `"rg"` | no | |
99 | | -| <a name="input_subnet_prefix"></a> [subnet\_prefix](#input\_subnet\_prefix) | The address prefix to use for the subnet. | `string` | `"10.2.1.0/24"` | no | |
100 | | -| <a name="input_subscription_id"></a> [subscription\_id](#input\_subscription\_id) | Azure Credentials | `string` | `"Azure Subscription ID"` | no | |
101 | | -| <a name="input_tags"></a> [tags](#input\_tags) | n/a | `map` | <pre>{<br> "environment": "Public Cloud"<br>}</pre> | no | |
102 | | -| <a name="input_tenant_id"></a> [tenant\_id](#input\_tenant\_id) | n/a | `string` | `"Azure Tenant ID"` | no | |
103 | | -| <a name="input_virtual_network_name"></a> [virtual\_network\_name](#input\_virtual\_network\_name) | The name for the virtual network. | `string` | `"vnet"` | no | |
104 | | -| <a name="input_vm_size"></a> [vm\_size](#input\_vm\_size) | Specifies the size of the Azure Ampere virtual machine. | `string` | `"Standard_D16ps_v5"` | no | |
105 | | - |
106 | | -## Outputs |
107 | | - |
108 | | -| Name | Description | |
109 | | -|------|-------------| |
110 | | -| <a name="output_azure_ampere_vm_private_ipaddresses"></a> [azure\_ampere\_vm\_private\_ipaddresses](#output\_azure\_ampere\_vm\_private\_ipaddresses) | Output the Azure VM(s)) private/internal ip address | |
111 | | -| <a name="output_azure_ampere_vm_public_ipaddresses"></a> [azure\_ampere\_vm\_public\_ipaddresses](#output\_azure\_ampere\_vm\_public\_ipaddresses) | Output the Azure VM(s)) public/external ip address | |
112 | | -| <a name="output_azure_ampere_vm_ssh_private_key"></a> [azure\_ampere\_vm\_ssh\_private\_key](#output\_azure\_ampere\_vm\_ssh\_private\_key) | Output the Azure SSH private key | |
113 | | -| <a name="output_azure_ampere_vm_ssh_public_key"></a> [azure\_ampere\_vm\_ssh\_public\_key](#output\_azure\_ampere\_vm\_ssh\_public\_key) | Output the Azure SSH public key | |
114 | | -| <a name="output_azure_current_subscription_display_name"></a> [azure\_current\_subscription\_display\_name](#output\_azure\_current\_subscription\_display\_name) | Output the Display Name for the current Azure Subscription | |
115 | | -| <a name="output_azure_ssh_private_key"></a> [azure\_ssh\_private\_key](#output\_azure\_ssh\_private\_key) | output the Azure SSH private key | |
116 | | -| <a name="output_azure_ssh_pubic_key"></a> [azure\_ssh\_pubic\_key](#output\_azure\_ssh\_pubic\_key) | output the Azure SSH public key | |
117 | | -| <a name="output_random_uuid"></a> [random\_uuid](#output\_random\_uuid) | Output: A randomly generated uuid | |
118 | 64 | <!-- END_TF_DOCS --> |
119 | 65 |
|
120 | 66 | ## References |
|
0 commit comments