Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
holi-geo-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-geo-api
Commits
b33c62b9
Commit
b33c62b9
authored
2 years ago
by
Taha Cherfia
Browse files
Options
Downloads
Patches
Plain Diff
NOISSUE: add GEOAPIFY_API_KEY
parent
cec46068
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+4
-2
4 additions, 2 deletions
README.md
terraform/environments/deployment.tf
+1
-1
1 addition, 1 deletion
terraform/environments/deployment.tf
with
5 additions
and
3 deletions
README.md
+
4
−
2
View file @
b33c62b9
...
...
@@ -133,9 +133,11 @@ JetBrains IDEs.
The server uses Geoapify Geocoding API to create autocomplete predictions for
country, region, or city names. In order to be able to use the Geoapify
Geocoding API, requests are equipped with an API key that is used by the
Geoapify API to match the project and for billing purposes.
Geoapify API to match the project and for billing purposes. Within the
deployment, two keys are in usage (managed by terraform):
This key is shared amongst all environments. You can find the key in passbolt.
1.
`geoapify-api-key-development`
2.
`geoapify-api-key-production`
## Local execution
...
...
This diff is collapsed.
Click to expand it.
terraform/environments/deployment.tf
+
1
−
1
View file @
b33c62b9
...
...
@@ -52,7 +52,7 @@ resource "google_cloud_run_service" "geo_api" {
value_from
{
secret_key_ref
{
key
=
"latest"
name
=
"GEOAPIFY_API_KEY
"
name
=
local
.
environment_name
==
"production"
?
"GEOAPIFY_API_KEY_PRODUCTION"
:
"GEOAPIFY_API_KEY_DEVELOPMENT
"
}
}
}
...
...
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