Skip to content

Commit eb2c666

Browse files
committed
update README.md
1 parent d54ea1e commit eb2c666

File tree

1 file changed

+30
-34
lines changed

1 file changed

+30
-34
lines changed

README.md

+30-34
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@
1313

1414
<p align="center">
1515

16-
<a href="https://www.terraform.io">
17-
<img src="https://img.shields.io/badge/Terraform-v1.1.7-green" alt="Terraform">
16+
<a href="https://github.com/clouddrove/terraform-azure-bastion/releases/latest">
17+
<img src="https://img.shields.io/github/release/clouddrove/terraform-azure-bastion.svg" alt="Latest Release">
18+
</a>
19+
<a href="https://github.com/clouddrove/terraform-azure-bastion/actions/workflows/tfsec.yml">
20+
<img src="https://github.com/clouddrove/terraform-azure-bastion/actions/workflows/tfsec.yml/badge.svg" alt="tfsec">
1821
</a>
1922
<a href="LICENSE.md">
2023
<img src="https://img.shields.io/badge/License-APACHE-blue.svg" alt="Licence">
@@ -51,12 +54,6 @@ We have [*fifty plus terraform modules*][terraform_modules]. A few of them are c
5154

5255
This module has a few dependencies:
5356

54-
- [Terraform 1.x.x](https://learn.hashicorp.com/terraform/getting-started/install.html)
55-
- [Go](https://golang.org/doc/install)
56-
- [github.com/stretchr/testify/assert](https://github.com/stretchr/testify)
57-
- [github.com/gruntwork-io/terratest/modules/terraform](https://github.com/gruntwork-io/terratest)
58-
59-
6057

6158

6259

@@ -71,18 +68,19 @@ This module has a few dependencies:
7168
Here are some examples of how you can use this module in your inventory structure:
7269
```hcl
7370
module "bastion" {
74-
source = "clouddrove/bastion/azure"
75-
version = "1.0.0"
76-
name = "app"
77-
environment = "test"
78-
resource_group_name = module.resource_group.resource_group_name
79-
azure_bastion_subnet_address_prefix = ["10.0.5.0/24"]
80-
virtual_network_name = module.virtual_network.vnet_name[0]
71+
source = "clouddrove/bastion/azure"
72+
version = "1.0.0"
73+
name = "app"
74+
environment = "test"
75+
resource_group_name = module.resource_group.resource_group_name
76+
location = module.resource_group.resource_group_location
77+
virtual_network_name = module.vnet.vnet_name[0]
78+
subnet_id = module.name_specific_subnet.specific_subnet_id[0]
8179
8280
#### enable diagnostic setting
83-
diagnostic_setting_enable = false
81+
diagnostic_setting_enable = true
8482
log_analytics_workspace_id = ""
85-
}
83+
}
8684
```
8785

8886

@@ -94,39 +92,37 @@ Here are some examples of how you can use this module in your inventory structur
9492

9593
| Name | Description | Type | Default | Required |
9694
|------|-------------|------|---------|:--------:|
97-
| Metric\_enable | Is this Diagnostic Metric enabled? Defaults to true. | `bool` | `true` | no |
98-
| azure\_bastion\_subnet\_address\_prefix | The address prefix to use for the Azure Bastion subnet | `list(any)` | `[]` | no |
9995
| bastion\_host\_sku | The SKU of the Bastion Host. Accepted values are `Basic` and `Standard` | `string` | `"Basic"` | no |
100-
| category | The name of a Diagnostic Log Category Group for this Resource. | `string` | `null` | no |
10196
| ddos\_protection\_mode | The DDoS protection mode of the public IP | `string` | `"VirtualNetworkInherited"` | no |
102-
| diagnostic\_log\_days | The number of days for which this Retention Policy should apply. | `number` | `"90"` | no |
103-
| diagnostic\_setting\_enable | n/a | `bool` | `false` | no |
97+
| ddos\_protection\_plan\_id | The ID of the DDoS protection plan associated with the Public IP | `string` | `null` | no |
98+
| diagnostic\_setting\_enable | n/a | `bool` | `true` | no |
99+
| domain\_name\_label | The domain name label for the Azure Bastion Service host. Leave empty for no label. | `string` | `null` | no |
104100
| enable\_copy\_paste | Is Copy/Paste feature enabled for the Bastion Host? | `bool` | `true` | no |
105101
| enable\_file\_copy | Is File Copy feature enabled for the Bastion Host. Only supported whne `sku` is `Standard` | `bool` | `false` | no |
106102
| enable\_ip\_connect | Is IP Connect feature enabled for the Bastion Host? | `bool` | `false` | no |
107103
| enable\_shareable\_link | Is Shareable Link feature enabled for the Bastion Host. Only supported whne `sku` is `Standard` | `bool` | `false` | no |
108104
| enable\_tunneling | Is Tunneling feature enabled for the Bastion Host. Only supported whne `sku` is `Standard` | `bool` | `false` | no |
109105
| enabled | Set to false to prevent the module from creating any resources. | `bool` | `true` | no |
110-
| environment | Environment (e.g. `prod`, `dev`, `staging`). | `string` | `""` | no |
111-
| eventhub\_authorization\_rule\_id | Specifies the ID of an Event Hub Namespace Authorization Rule used to send Diagnostics Data. | `string` | `null` | no |
106+
| environment | Environment (e.g. `prod`, `dev`, `staging`). | `string` | `"app-test"` | no |
107+
| eventhub\_authorization\_rule\_id | Specifies the ID of an vent Hub Namespace Authorization Rule used to send Diagnostics Data. | `string` | `null` | no |
112108
| eventhub\_name | Specifies the name of the Event Hub where Diagnostics Data should be sent. | `string` | `null` | no |
113-
| label\_order | Label order, e.g. sequence of application name and environment `name`,`environment`,'attribute' [`webserver`,`qa`,`devops`,`public`,] . | `list(any)` | <pre>[<br> "name",<br> "environment"<br>]</pre> | no |
114-
| location | A location the resources | `string` | `""` | no |
109+
| label\_order | Label order, e.g. sequence of application name and environment `name`,`environment`,'attribute' [`webserver`,`qa`,`devops`,`public`,] . | `list(string)` | <pre>[<br> "name",<br> "environment"<br>]</pre> | no |
110+
| location | A location the resources | `string` | `"Canada Central"` | no |
115111
| log\_analytics\_destination\_type | Possible values are AzureDiagnostics and Dedicated, default to AzureDiagnostics. When set to Dedicated, logs sent to a Log Analytics workspace will go into resource specific tables, instead of the legacy AzureDiagnostics table. | `string` | `"AzureDiagnostics"` | no |
116112
| log\_analytics\_workspace\_id | n/a | `string` | `null` | no |
117113
| log\_enabled | Is this Diagnostic Log enabled? Defaults to true. | `string` | `true` | no |
118-
| managedby | ManagedBy, eg ''. | `string` | `""` | no |
119-
| name | Name (e.g. `app` or `cluster`). | `string` | `""` | no |
114+
| managedby | ManagedBy, eg ''. | `string` | `"CloudDrove"` | no |
115+
| metric\_enabled | Is this Diagnostic Metric enabled? Defaults to True. | `bool` | `true` | no |
116+
| name | Name (e.g. `app` or `cluster`). | `string` | `"app"` | no |
117+
| pip\_logs | n/a | <pre>object({<br> enabled = bool<br> category = optional(list(string))<br> category_group = optional(list(string))<br> })</pre> | <pre>{<br> "category_group": [<br> "AllLogs"<br> ],<br> "description": "Is this Diagnostic logs enabled? Defaults to True.",<br> "enabled": true<br>}</pre> | no |
120118
| public\_ip\_allocation\_method | Defines the allocation method for this IP address. Possible values are Static or Dynamic | `string` | `"Static"` | no |
121119
| public\_ip\_sku | The SKU of the Public IP. Accepted values are Basic and Standard. Defaults to Basic | `string` | `"Standard"` | no |
122-
| repository | Terraform current module repo | `string` | `""` | no |
123-
| resource\_group\_name | A container that holds related resources for an Azure solution | `string` | `""` | no |
124-
| retention\_policy\_enabled | Is this Retention Policy enabled? | `bool` | `false` | no |
120+
| repository | Terraform current module repo | `string` | `"https://github.com/clouddrove/terraform-azure-bastion.git"` | no |
121+
| resource\_group\_name | A container that holds related resources for an Azure solution | `string` | `null` | no |
125122
| scale\_units | The number of scale units with which to provision the Bastion Host. Possible values are between `2` and `50`. `scale_units` only can be changed when `sku` is `Standard`. `scale_units` is always `2` when `sku` is `Basic`. | `number` | `2` | no |
126123
| storage\_account\_id | The ID of the Storage Account where logs should be sent. | `string` | `null` | no |
127-
| subnet\_id | The ID of the Subnet where this Network Interface should be located in. | `string` | `""` | no |
128-
| tags | Additional tags (e.g. map(`BusinessUnit`,`XYZ`). | `map(string)` | `{}` | no |
129-
| virtual\_network\_name | The name of the virtual network | `string` | `""` | no |
124+
| subnet\_id | The ID of the Subnet where this Network Interface should be located in. | `string` | `null` | no |
125+
| zone | The Zone for the resources (e.g., `1`, `2`, `3`). | `string` | `null` | no |
130126

131127
## Outputs
132128

0 commit comments

Comments
 (0)