Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
holi-chat-integration
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-chat-integration
Commits
a040003f
Commit
a040003f
authored
1 year ago
by
Ole Langbehn
Browse files
Options
Downloads
Patches
Plain Diff
NOISSUE use underscore in resource names
parent
fb93a417
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
terraform/environments/init.tf
+1
-1
1 addition, 1 deletion
terraform/environments/init.tf
terraform/environments/pubsub.tf
+1
-1
1 addition, 1 deletion
terraform/environments/pubsub.tf
with
2 additions
and
2 deletions
terraform/environments/init.tf
+
1
−
1
View file @
a040003f
...
@@ -21,7 +21,7 @@ data "terraform_remote_state" "holi_infra_state" {
...
@@ -21,7 +21,7 @@ data "terraform_remote_state" "holi_infra_state" {
}
}
}
}
data
"terraform_remote_state"
"okuna
-
common_state"
{
data
"terraform_remote_state"
"okuna
_
common_state"
{
backend
=
"gcs"
backend
=
"gcs"
config
=
{
config
=
{
bucket
=
"holi-shared-terraform-state"
bucket
=
"holi-shared-terraform-state"
...
...
This diff is collapsed.
Click to expand it.
terraform/environments/pubsub.tf
+
1
−
1
View file @
a040003f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
resource
"google_pubsub_subscription"
"holi-chat-integration-okuna-sub"
{
resource
"google_pubsub_subscription"
"holi-chat-integration-okuna-sub"
{
project
=
data
.
terraform_remote_state
.
holi_infra_state
.
outputs
.
shared_project_id
project
=
data
.
terraform_remote_state
.
holi_infra_state
.
outputs
.
shared_project_id
name
=
random_id
.
main
.
hex
name
=
random_id
.
main
.
hex
topic
=
local
.
environment_name
==
"production"
?
data
.
terraform_remote_state
.
okuna
-
common_state
.
outputs
.
google_pubsub_topic_okuna_production
:
data
.
terraform_remote_state
.
okuna
-
common_state
.
outputs
.
google_pubsub_topic_okuna_staging
topic
=
local
.
environment_name
==
"production"
?
data
.
terraform_remote_state
.
okuna
_
common_state
.
outputs
.
google_pubsub_topic_okuna_production
:
data
.
terraform_remote_state
.
okuna
_
common_state
.
outputs
.
google_pubsub_topic_okuna_staging
ack_deadline_seconds
=
10
*
60
# 10 minutes, max. value
ack_deadline_seconds
=
10
*
60
# 10 minutes, max. value
expiration_policy
{
expiration_policy
{
...
...
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