Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: Add missing prefix needed for using workspaces #473

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions infra/app/service/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,17 @@ module "app_config" {

data "aws_rds_cluster" "db_cluster" {
count = module.app_config.has_database ? 1 : 0
cluster_identifier = local.database_config.cluster_name
cluster_identifier = "${local.prefix}${local.database_config.cluster_name}"
}

data "aws_iam_policy" "app_db_access_policy" {
count = module.app_config.has_database ? 1 : 0
name = local.database_config.app_access_policy_name
name = "${local.prefix}${local.database_config.app_access_policy_name}"
}

data "aws_iam_policy" "migrator_db_access_policy" {
count = module.app_config.has_database ? 1 : 0
name = local.database_config.migrator_access_policy_name
name = "${local.prefix}${local.database_config.migrator_access_policy_name}"
}

# Retrieve url for external incident management tool (e.g. Pagerduty, Splunk-On-Call)
Expand Down