Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
gitlab-com
gitlab-com-infrastructure
Commits
fe80827c
Commit
fe80827c
authored
Feb 01, 2018
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow internal traffic.
parent
96bce7af
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
environments/gprd/main.tf
environments/gprd/main.tf
+17
-0
No files found.
environments/gprd/main.tf
View file @
fe80827c
...
...
@@ -19,6 +19,23 @@ provider "google" {
region
=
"
${
var
.
region
}
"
}
##################################
#
# Allow internal traffic
#
#################################
resource
"google_compute_firewall"
"allow-internal"
{
name
=
"allow-internal-
${
var
.
environment
}
"
network
=
"
${module
.
network
.
self_link
}
"
allow
{
protocol
=
"all"
}
source_ranges
=
[
"10.0.0.0/8"
]
}
/*
##################################
#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment