generated from clouddrove/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from clouddrove/feat/existing_ddos
Feat/existing ddos
- Loading branch information
Showing
13 changed files
with
98 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ on: | |
- main | ||
paths: | ||
- '**.tf' | ||
- '!examples/**.tf' | ||
- '_example/**.tf' | ||
|
||
jobs: | ||
release: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
locals { | ||
name = "app" | ||
environment = "test" | ||
label_order = ["name", "environment"] | ||
} | ||
|
||
##----------------------------------------------------------------------------- | ||
## Virtual Network module call. | ||
##----------------------------------------------------------------------------- | ||
module "vnet" { | ||
source = "../../" | ||
name = local.name | ||
environment = local.environment | ||
resource_group_name = "app-test" | ||
location = "NorthEurope" | ||
address_space = "10.0.0.0/16" | ||
enable_network_watcher = false # To be set true when network security group flow logs are to be tracked and network watcher with specific name is to be deployed. | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
provider "azurerm" { | ||
features {} | ||
} | ||
|
||
locals { | ||
name = "app" | ||
environment = "test" | ||
label_order = ["name", "environment"] | ||
} | ||
|
||
##----------------------------------------------------------------------------- | ||
## Resource Group module call | ||
## Resource group in which all resources will be deployed. | ||
##----------------------------------------------------------------------------- | ||
module "resource_group" { | ||
source = "clouddrove/resource-group/azure" | ||
version = "1.0.2" | ||
name = local.name | ||
environment = local.environment | ||
label_order = local.label_order | ||
location = "North Europe" | ||
} | ||
|
||
##----------------------------------------------------------------------------- | ||
## Virtual Network module call. | ||
##----------------------------------------------------------------------------- | ||
module "vnet" { | ||
source = "../../" | ||
name = local.name | ||
environment = local.environment | ||
resource_group_name = module.resource_group.resource_group_name | ||
location = module.resource_group.resource_group_location | ||
address_space = "10.0.0.0/16" | ||
enable_network_watcher = false # To be set true when network security group flow logs are to be tracked and network watcher with specific name is to be deployed. | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.