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

Remove unused config value #519

Merged
merged 1 commit into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion infra/app/app-config/env-config/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ output "database_config" {
value = var.has_database ? {
region = var.default_region
cluster_name = "${var.app_name}-${var.environment}"
access_policy_name = "${var.app_name}-${var.environment}-db-access"
app_username = "app"
migrator_username = "migrator"
schema_name = var.app_name
Expand Down
1 change: 0 additions & 1 deletion infra/app/database/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ module "database" {
source = "../../modules/database"

name = "${local.prefix}${local.database_config.cluster_name}"
access_policy_name = "${local.prefix}${local.database_config.access_policy_name}"
app_access_policy_name = "${local.prefix}${local.database_config.app_access_policy_name}"
migrator_access_policy_name = "${local.prefix}${local.database_config.migrator_access_policy_name}"

Expand Down
5 changes: 0 additions & 5 deletions infra/modules/database/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ variable "name" {
}
}

variable "access_policy_name" {
description = "name of the IAM policy to create that will be provide the ability to connect to the database as a user that will have read/write access."
type = string
}

variable "app_access_policy_name" {
description = "name of the IAM policy to create that will provide the service the ability to connect to the database as a user that will have read/write access."
type = string
Expand Down