Terraform module to set up your AWS account with the secure baseline configuration based on CIS Amazon Web Services Foundations and AWS Foundational Security Best Practices.
on bucket.tf line 10, in locals:
10: audit_log_cloudtrail_destination = join("/", [local.audit_log_bucket_arn, trim(var.cloudtrail_s3_key_prefix, "/")])
There is no function named "trim".
Error: Call to unknown function
on bucket.tf line 11, in locals:
11: audit_log_config_destination = join("/", [local.audit_log_bucket_arn, trim(var.config_s3_bucket_key_prefix, "/")])
There is no function named "trim".
Error: Call to unknown function
on bucket.tf line 12, in locals:
12: audit_log_flow_logs_destination = join("/", [local.audit_log_bucket_arn, trim(var.vpc_flow_logs_s3_key_prefix, "/")])
Error: Call to unknown function
on bucket.tf line 10, in locals: 10: audit_log_cloudtrail_destination = join("/", [local.audit_log_bucket_arn, trim(var.cloudtrail_s3_key_prefix, "/")])
There is no function named "trim".
Error: Call to unknown function
on bucket.tf line 11, in locals: 11: audit_log_config_destination = join("/", [local.audit_log_bucket_arn, trim(var.config_s3_bucket_key_prefix, "/")])
There is no function named "trim".
Error: Call to unknown function
on bucket.tf line 12, in locals: 12: audit_log_flow_logs_destination = join("/", [local.audit_log_bucket_arn, trim(var.vpc_flow_logs_s3_key_prefix, "/")])
There is no function named "trim".