dspace-group / simphera-reference-architecture-aws

In order to deploy SIMPHERA to AWS, various cloud resources, such as a Kubernetes cluster, PostgreSQL database server, etc., need to be created. This repository contains a reference architecture for these AWS resources. You can use this Terraform configuration as a starting point to create these resources in your own AWS account.
MIT License
11 stars 4 forks source link

[bug] use instancename for rds_enhanced_monitoring_role #151

Open schwichti opened 3 months ago

schwichti commented 3 months ago
resource "aws_iam_role" "rds_enhanced_monitoring_role" {
-  name = "${var.name}-rds-enhanced-monitoring"
+  name = "${local.instancename}-rds-enhanced-monitoring"
}

https://github.com/dspace-group/simphera-reference-architecture-aws/blob/main/modules/simphera_aws_instance/postgresql.tf#L99