Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
danischm committed Jan 25, 2024
1 parent de1f999 commit a2121d3
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 34 deletions.
20 changes: 4 additions & 16 deletions modules/terraform-aci-login-domain/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,6 @@ module "aci_login_domain" {
priority = 10
}]
}
module "aci_login_domain" {
source = "netascode/nac-aci/aci//modules/terraform-aci-login-domain"
version = ">= 0.8.0"
name = "RADIUS1"
description = "My Description"
realm = "radius"
radius_providers = [{
hostname_ip = "10.2.1.10"
priority = 10
}]
}
```

## Requirements
Expand All @@ -55,11 +42,11 @@ module "aci_login_domain" {
|------|-------------|------|---------|:--------:|
| <a name="input_name"></a> [name](#input\_name) | Login domain name. | `string` | n/a | yes |
| <a name="input_description"></a> [description](#input\_description) | Description. | `string` | `""` | no |
| <a name="input_realm"></a> [realm](#input\_realm) | Realm. Choices: `local`, `tacacs`, `ldap`, `radius`. | `string` | n/a | yes |
| <a name="input_realm"></a> [realm](#input\_realm) | Realm. Choices: `local`, `tacacs`, `radius`, `ldap`. | `string` | n/a | yes |
| <a name="input_auth_choice"></a> [auth\_choice](#input\_auth\_choice) | Authentication choice. Choices: `CiscoAVPair`, `LdapGroupMap`. | `string` | `"CiscoAVPair"` | no |
| <a name="input_ldap_group_map"></a> [ldap\_group\_map](#input\_ldap\_group\_map) | LDAP group map. | `string` | `""` | no |
| <a name="input_tacacs_providers"></a> [tacacs\_providers](#input\_tacacs\_providers) | List of TACACS providers. Allowed values `priority`: 0-16. Default value `priority`: 0 | <pre>list(object({<br> hostname_ip = string<br> priority = optional(number, 0)<br> }))</pre> | `[]` | no |
| <a name="input_radius_providers"></a> [radius\_providers](#input\_radius\_providers) | List of RADIUS providers. Allowed values `priority`: 0-16. Default value `priority`: 0 | <pre>list(object({<br> hostname_ip = string<br> priority = optional(number, 0)<br> }))</pre> | `[]` | no |
| <a name="input_radius_providers"></a> [radius\_providers](#input\_radius\_providers) | List of Radius providers. Allowed values `priority`: 0-16. Default value `priority`: 0 | <pre>list(object({<br> hostname_ip = string<br> priority = optional(number, 0)<br> }))</pre> | `[]` | no |
| <a name="input_ldap_providers"></a> [ldap\_providers](#input\_ldap\_providers) | List of LDAP providers. Allowed values `priority`: 0-16. Default value `priority`: 0 | <pre>list(object({<br> hostname_ip = string<br> priority = optional(number, 0)<br> }))</pre> | `[]` | no |

## Outputs
Expand All @@ -78,6 +65,7 @@ module "aci_login_domain" {
| [aci_rest_managed.aaaLoginDomain](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/rest_managed) | resource |
| [aci_rest_managed.aaaProviderRef](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/rest_managed) | resource |
| [aci_rest_managed.aaaProviderRef_ldap](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/rest_managed) | resource |
| [aci_rest_managed.aaaTacacsPlusProviderGroup](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/rest_managed) | resource |
| [aci_rest_managed.aaaProviderRef_radius](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/rest_managed) | resource |
| [aci_rest_managed.aaaRadiusProviderGroup](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/rest_managed) | resource |
| [aci_rest_managed.aaaTacacsPlusProviderGroup](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/rest_managed) | resource |
<!-- END_TF_DOCS -->
13 changes: 0 additions & 13 deletions modules/terraform-aci-login-domain/examples/complete/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,5 @@ module "aci_login_domain" {
priority = 10
}]
}
module "aci_login_domain" {
source = "netascode/nac-aci/aci//modules/terraform-aci-login-domain"
version = ">= 0.8.0"
name = "RADIUS1"
description = "My Description"
realm = "radius"
radius_providers = [{
hostname_ip = "10.2.1.10"
priority = 10
}]
}
```
<!-- END_TF_DOCS -->
6 changes: 3 additions & 3 deletions modules/terraform-aci-radius/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Location in GUI:
```hcl
module "aci_radius" {
source = "netascode/nac-aci/aci//modules/terraform-aci-radius"
version = ">= 0.8.0"
version = ">= 0.8.1"
hostname_ip = "1.1.1.1"
description = "My Description"
Expand Down Expand Up @@ -52,7 +52,7 @@ module "aci_radius" {
| <a name="input_monitoring_username"></a> [monitoring\_username](#input\_monitoring\_username) | Monitoring username. | `string` | `""` | no |
| <a name="input_monitoring_password"></a> [monitoring\_password](#input\_monitoring\_password) | Monitoring password. | `string` | `""` | no |
| <a name="input_key"></a> [key](#input\_key) | Key. | `string` | `""` | no |
| <a name="input_port"></a> [authPort](#input\_port) | Port. Minimum value: 0, Maximum value: 65535. | `number` | `1812` | no |
| <a name="input_port"></a> [port](#input\_port) | Port. Minimum value: 0, Maximum value: 65535. | `number` | `1812` | no |
| <a name="input_retries"></a> [retries](#input\_retries) | Retries. Minimum value: 0, Maximum value: 5. | `number` | `1` | no |
| <a name="input_timeout"></a> [timeout](#input\_timeout) | Timeout. Minimum value: 0, Maximum value: 60. | `number` | `5` | no |
| <a name="input_mgmt_epg_type"></a> [mgmt\_epg\_type](#input\_mgmt\_epg\_type) | Management EPG type. Choices: `inb`, `oob`. | `string` | `"inb"` | no |
Expand All @@ -68,6 +68,6 @@ module "aci_radius" {

| Name | Type |
|------|------|
| [aci_rest_managed.aaaRsSecProvToEpg](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/rest_managed) | resource |
| [aci_rest_managed.aaaRadiusProvider](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/rest_managed) | resource |
| [aci_rest_managed.aaaRsSecProvToEpg](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/rest_managed) | resource |
<!-- END_TF_DOCS -->
2 changes: 1 addition & 1 deletion modules/terraform-aci-radius/examples/complete/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Note that this example will create resources. Resources can be destroyed with `t
```hcl
module "aci_radius" {
source = "netascode/nac-aci/aci//modules/terraform-aci-radius"
version = ">= 0.8.0"
version = ">= 0.8.1"
hostname_ip = "1.1.1.1"
description = "My Description"
Expand Down
2 changes: 1 addition & 1 deletion modules/terraform-aci-radius/examples/complete/main.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module "aci_radius" {
source = "netascode/nac-aci/aci//modules/terraform-aci-radius"
version = ">= 0.8.0"
version = ">= 0.8.1"

hostname_ip = "1.1.1.1"
description = "My Description"
Expand Down

0 comments on commit a2121d3

Please sign in to comment.