Skip to content
Snippets Groups Projects
Commit a040003f authored by Ole Langbehn's avatar Ole Langbehn
Browse files

NOISSUE use underscore in resource names

parent fb93a417
No related branches found
No related tags found
No related merge requests found
...@@ -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"
......
...@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment