Skip to content

Commit

Permalink
fix: update terraform resources (#85)
Browse files Browse the repository at this point in the history
* fix: update terraform resources

* chore: pre-commit docs changes

* chore: pre-commit docs update
  • Loading branch information
regiluze authored Nov 7, 2022
1 parent 0e2dde2 commit f9e0d6e
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions examples/single-subscription-k8s/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ See [inputs summary](#inputs) or module module [`variables.tf`](./variables.tf)

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.24.0 |
| <a name="provider_helm"></a> [helm](#provider\_helm) | 2.6.0 |
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.30.0 |
| <a name="provider_helm"></a> [helm](#provider\_helm) | 2.7.1 |
| <a name="provider_sysdig"></a> [sysdig](#provider\_sysdig) | 0.5.40 |

## Modules
Expand Down
2 changes: 1 addition & 1 deletion examples/single-subscription/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ $ terraform apply

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.24.0 |
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.30.0 |
| <a name="provider_sysdig"></a> [sysdig](#provider\_sysdig) | 0.5.40 |

## Modules
Expand Down
4 changes: 2 additions & 2 deletions examples/tenant-subscriptions-k8s/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ See [inputs summary](#inputs) or module module [`variables.tf`](./variables.tf)

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.24.0 |
| <a name="provider_helm"></a> [helm](#provider\_helm) | 2.6.0 |
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.30.0 |
| <a name="provider_helm"></a> [helm](#provider\_helm) | 2.7.1 |
| <a name="provider_sysdig"></a> [sysdig](#provider\_sysdig) | 0.5.40 |

## Modules
Expand Down
2 changes: 1 addition & 1 deletion examples/tenant-subscriptions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ $ terraform apply

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.24.0 |
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.30.0 |
| <a name="provider_sysdig"></a> [sysdig](#provider\_sysdig) | 0.5.40 |

## Modules
Expand Down
2 changes: 1 addition & 1 deletion examples/trigger-events/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Notice that:

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.24.0 |
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.30.0 |
| <a name="provider_random"></a> [random](#provider\_random) | 3.4.3 |

## Modules
Expand Down
2 changes: 1 addition & 1 deletion modules/infrastructure/container_registry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Deploys a container registry and creates an Event Grid to send Image Push and Ch

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.24.0 |
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.30.0 |
| <a name="provider_random"></a> [random](#provider\_random) | 3.4.3 |

## Modules
Expand Down
2 changes: 1 addition & 1 deletion modules/infrastructure/enterprise_app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Creates an enterprise application as contributor role to run the inline scanning
| Name | Version |
|------|---------|
| <a name="provider_azuread"></a> [azuread](#provider\_azuread) | 2.7.0 |
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.24.0 |
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.30.0 |

## Modules

Expand Down
2 changes: 1 addition & 1 deletion modules/infrastructure/eventhub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Deploys an Event Hub and a diagnostic setting.

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.24.0 |
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.30.0 |
| <a name="provider_random"></a> [random](#provider\_random) | 3.4.3 |

## Modules
Expand Down
2 changes: 1 addition & 1 deletion modules/infrastructure/eventhub/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ resource "random_string" "random" {
lower = true
upper = false
special = false
number = false
numeric = false
}

resource "azurerm_eventhub_namespace" "evn" {
Expand Down
2 changes: 1 addition & 1 deletion modules/infrastructure/resource_group/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Deploys a resource group where deploy all the stack. If the name variable is not

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.24.0 |
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.30.0 |

## Modules

Expand Down
2 changes: 1 addition & 1 deletion modules/services/cloud-bench/trust_relationship/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.24.0 |
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.30.0 |
| <a name="provider_sysdig"></a> [sysdig](#provider\_sysdig) | 0.5.40 |

## Modules
Expand Down
2 changes: 1 addition & 1 deletion modules/services/cloud-connector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ A **Container instance** deployment that will detect events in your infrastructu

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.24.0 |
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.30.0 |
| <a name="provider_random"></a> [random](#provider\_random) | 3.4.3 |

## Modules
Expand Down
16 changes: 8 additions & 8 deletions modules/services/cloud-connector/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ resource "azurerm_virtual_network" "vn" {
}

resource "azurerm_subnet" "sn" {
name = "${var.name}-vn"
resource_group_name = var.resource_group_name
virtual_network_name = azurerm_virtual_network.vn.name
address_prefixes = ["10.0.2.0/24"]
service_endpoints = ["Microsoft.ContainerRegistry"]
enforce_private_link_endpoint_network_policies = true
name = "${var.name}-vn"
resource_group_name = var.resource_group_name
virtual_network_name = azurerm_virtual_network.vn.name
address_prefixes = ["10.0.2.0/24"]
service_endpoints = ["Microsoft.ContainerRegistry"]
private_endpoint_network_policies_enabled = true

delegation {
name = "${var.name}-delegation"
Expand All @@ -50,7 +50,7 @@ resource "random_string" "random" {
lower = true
upper = false
special = false
number = false
numeric = false
}

resource "azurerm_network_profile" "np" {
Expand All @@ -74,7 +74,7 @@ resource "azurerm_container_group" "cg" {
resource_group_name = var.resource_group_name
ip_address_type = "Private"
os_type = "Linux"
network_profile_id = azurerm_network_profile.np.id
subnet_ids = [azurerm_subnet.sn.id]

container {
name = "${var.name}-container"
Expand Down

0 comments on commit f9e0d6e

Please sign in to comment.