Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
holi-unified-api
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
app
holi-unified-api
Commits
1f39702e
Commit
1f39702e
authored
6 months ago
by
Ole Langbehn
Browse files
Options
Downloads
Patches
Plain Diff
NOISSUE add labels on service level next to existing resource level
parent
75b62a89
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
terraform/environments/deployment.tf
+9
-0
9 additions, 0 deletions
terraform/environments/deployment.tf
with
9 additions
and
0 deletions
terraform/environments/deployment.tf
+
9
−
0
View file @
1f39702e
...
...
@@ -198,6 +198,7 @@ resource "google_cloud_run_service" "unified_api" {
# this needs to be set to all-traffic in order to route a cloud run url correctly, since it does resolve to a non-private ip address.
"run.googleapis.com/vpc-access-egress"
=
"all-traffic"
}
# labels set on the revision level
labels
=
{
"environment_type"
=
local
.
environment_type
"holi_service"
=
"unified-api"
...
...
@@ -205,6 +206,14 @@ resource "google_cloud_run_service" "unified_api" {
}
}
metadata
{
# labels set on the service level
labels
=
{
"environment_type"
=
local
.
environment_type
"holi_service"
=
"unified-api"
}
}
traffic
{
percent
=
100
latest_revision
=
true
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment