From 0d21572503d5e2335648476e8ad6566be9abf109 Mon Sep 17 00:00:00 2001 From: George Taylor Date: Fri, 31 May 2024 00:51:13 +0100 Subject: [PATCH] RAM not allowed --- .../modules/delius_environment/ssm.tf | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/terraform/environments/delius-core/modules/delius_environment/ssm.tf b/terraform/environments/delius-core/modules/delius_environment/ssm.tf index 58c3cf0f3ba..cdc450349ee 100644 --- a/terraform/environments/delius-core/modules/delius_environment/ssm.tf +++ b/terraform/environments/delius-core/modules/delius_environment/ssm.tf @@ -39,22 +39,6 @@ resource "aws_ssm_parameter" "ldap_admin_password" { tags = local.tags } -resource "aws_ram_resource_share" "ldap_admin_password" { - name = format("/%s-%s/LDAP_ADMIN_PASSWORD", var.account_info.application_name, var.env_name) - allow_external_principals = true - tags = local.tags -} - -resource "aws_ram_principal_association" "ldap_admin_password" { - principal = "${var.platform_vars.environment_management.account_ids[join("-", ["delius-nextcloud", var.account_info.mp_environment])]}" - resource_share_arn = aws_ram_resource_share.ldap_admin_password.arn -} - -resource "aws_ram_resource_association" "ldap_admin_password" { - resource_share_arn = aws_ram_resource_share.ldap_admin_password.arn - resource_arn = aws_ssm_parameter.ldap_admin_password.arn -} - resource "aws_ssm_parameter" "oasys_user" { name = format("/%s-%s/oasys_user", var.account_info.application_name, var.env_name) type = "SecureString"