Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/add ddos protection plan id var non global to ddos #1831

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

rfernandezdo
Copy link
Contributor

@rfernandezdo rfernandezdo commented Oct 17, 2023

Issue-id

PR Checklist


Description

DDOS protection plan id variable non global added

Does this introduce a breaking change

  • YES
  • NO
## Testing

#You need to create DDOS Plan before
#I have commented the example to avoid errors in tests

global_settings = {
default_region = "region1"
regions = {
region1 = "australiaeast"
}
}

resource_groups = {
ddosrg = {
name = "ddos"
region = "region1"
}
}

ddos_services = {
ddos = {
name = "ddos-testplan"
resource_group_key = "ddosrg"
}
}

vnets = {
vnet1 = {
ddos_services_lz_key = "" #If the reference of Remote DDOS subscription plan is being inferred
ddos_services_key = "ddos"
# ddos_protection_plan_id = "/subscriptions/00000000-0000-0000-0000-0000000/resourceGroups/rgname/providers/Microsoft.Network/ddosProtectionPlans/planname" # uncomment and complete for use
resource_group_key = "ddosrg"
vnet = {
name = "test-vnet"
address_space = ["10.0.0.0/16"]
}
specialsubnets = {}
}
}

ddos_protection_plan_id added like non global value
Create configuration.tfvars for ddos reusing existing plan id, non global variable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant