Skip to content

Commit

Permalink
skip: update CI 250
Browse files Browse the repository at this point in the history
  • Loading branch information
vit-corp committed Sep 17, 2024
1 parent 76b9693 commit 7a98e5f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
10 changes: 10 additions & 0 deletions auto_policy_testing/green/spring/spring_cloud.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ resource "azurerm_subnet" "app_subnet" {
address_prefixes = ["10.1.1.0/24"]
}

resource "azurerm_role_assignment" "this" {
scope = azurerm_virtual_network.this.id
role_definition_name = "Owner"
principal_id = "e8de9221-a19c-4c81-b814-fd37c6caf9d2"

depends_on = [ azurerm_subnet.app_subnet ]
}

resource "azurerm_application_insights" "this" {
name = module.naming.resource_prefix.appinsights
location = data.terraform_remote_state.common.outputs.location
Expand All @@ -45,4 +53,6 @@ resource "azurerm_spring_cloud_service" "this" {
}

tags = module.naming.default_tags

depends_on = [ azurerm_role_assignment.this ]
}
7 changes: 0 additions & 7 deletions auto_policy_testing/red/vnet/application_gateway.tf
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,4 @@ resource "azurerm_application_gateway" "this" {
}

tags = module.naming.default_tags
}

resource "azurerm_network_ddos_protection_plan" "this" {
name = "autotestci_vnet-ddos_prot_plan1"
location = "eastus"
resource_group_name = azurerm_resource_group.this.name
tags = module.naming.default_tags
}

0 comments on commit 7a98e5f

Please sign in to comment.