Skip to content

Commit

Permalink
Added support for platform_feature_enable_override
Browse files Browse the repository at this point in the history
  • Loading branch information
dunefro committed Nov 28, 2023
1 parent a5f4380 commit 010a4c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ resource "aws_iam_policy" "truefoundry_platform_feature_user_ecr_policy" {

resource "aws_iam_role" "truefoundry_platform_feature_iam_role" {
count = var.platform_feature_enabled ? 1 : 0
name = "${local.truefoundry_unique_name}-iam-role"
name = var.platform_role_enable_override ? var.platform_role_override_name : "${local.truefoundry_unique_name}-iam-role"
description = "IAM role for TrueFoundry to access S3 bucket, SSM and ECR"
force_detach_policies = true
assume_role_policy = jsonencode({
Expand Down

0 comments on commit 010a4c6

Please sign in to comment.