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

add NSG flow logs and remove network watcher module #93

Merged
merged 4 commits into from
Mar 19, 2021

Conversation

glennmusa
Copy link
Contributor

Description

Network Watcher resources get created automatically (by default) when the first virtual network is created in a region. The platform only allows for a single NetworkWatcherRG resource group per subscription and a single Network Watcher per region within a sub.

This branch removes the code that would create a Network Watcher resource group and resource, removes the Network Watcher Terraform module, removes the create_network_watcher parameter from the tfvars sample templates, and adds the NSG Flow Log resource to the subnets module using the default platform generated names for Network Watcher resource groups and resources.

Issue reference

The issue this PR will close: #66

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles or validates correctly
  • BASH scripts have been validated using shellcheck
  • All tests pass (manual and automated)
  • The documentation is updated to cover any new or changed features
  • Markdown files have been linted using the recommended linter. (See .vscode/extensions.json.)
  • Relevant issues are linked to this PR

- Added Flow Log variables to subnet module
- Added subnet module inputs to tier-0 deployment
- Added outputs to Network Watcher module
- Changed name format for flow log resource
- Removed name inputs in subnet main
- Removed networkwatcher resource from saca-hub
- Removed networkwatcher resource from tier-0
- Removed networkwatcher resource from tier-1
- Removed networkwatcher resource from tier-2
- Modified all tier tfvars templates to remove networkwatcher
@glennmusa glennmusa merged commit 08eae8e into main Mar 19, 2021
@glennmusa glennmusa deleted the byboudre/NSG_logs branch March 19, 2021 15:21
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.

Add NetworkSecurityGroupFlowEvent to subnet module
2 participants