File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,15 +36,15 @@ output "function_tools_secret_key" {
3636
3737output "quarantine_invoke_role_arn" {
3838 description = " The ARN of the IAM role used by the API handler to invoke quarantined functions"
39- value = var . enable_quarantine_vpc ? aws_iam_role. quarantine_invoke_role [0 ]. arn : null
39+ value = one ( aws_iam_role. quarantine_invoke_role [* ]. arn )
4040}
4141
4242output "quarantine_function_role_arn" {
4343 description = " The ARN of the IAM role used by quarantined Lambda functions"
44- value = var . enable_quarantine_vpc ? aws_iam_role. quarantine_function_role [0 ]. arn : null
44+ value = one ( aws_iam_role. quarantine_function_role [* ]. arn )
4545}
4646
4747output "quarantine_lambda_security_group_id" {
4848 description = " The ID of the security group for quarantine Lambda functions"
49- value = var . enable_quarantine_vpc ? aws_security_group. quarantine_lambda [0 ]. id : null
49+ value = one ( aws_security_group. quarantine_lambda [* ]. id )
5050}
You can’t perform that action at this time.
0 commit comments