We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting '*_s3_key_prefix' variables to empty string results in S3 paths containing pointless duplicit slash "/"
The following is from the simple example + *_key_prefix variables set to empty string.
simple
*_key_prefix
module "secure_baseline" { source = "nozaq/secure-baseline/aws"" audit_log_bucket_name = "test-test-test-audit-log-bucket" aws_account_id = data.aws_caller_identity.current.account_id region = var.region support_iam_role_principal_arns = [] audit_log_bucket_force_destroy = true cloudtrail_s3_key_prefix = "" config_s3_bucket_key_prefix = "" vpc_flow_logs_s3_key_prefix = "" providers = { aws = aws aws.ap-northeast-1 = aws.ap-northeast-1 aws.ap-northeast-2 = aws.ap-northeast-2 aws.ap-northeast-3 = aws.ap-northeast-3 aws.ap-south-1 = aws.ap-south-1 aws.ap-southeast-1 = aws.ap-southeast-1 aws.ap-southeast-2 = aws.ap-southeast-2 aws.ca-central-1 = aws.ca-central-1 aws.eu-central-1 = aws.eu-central-1 aws.eu-north-1 = aws.eu-north-1 aws.eu-west-1 = aws.eu-west-1 aws.eu-west-2 = aws.eu-west-2 aws.eu-west-3 = aws.eu-west-3 aws.sa-east-1 = aws.sa-east-1 aws.us-east-1 = aws.us-east-1 aws.us-east-2 = aws.us-east-2 aws.us-west-1 = aws.us-west-1 aws.us-west-2 = aws.us-west-2 } }
The S3 destination paths don't contain double "/".
The S3 destination paths contain double "/" after the S3 bucket name.
I'll submit PR for this.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
Setting '*_s3_key_prefix' variables to empty string results in S3 paths containing pointless duplicit slash "/"
Versions
Reproduction
The following is from the
simple
example +*_key_prefix
variables set to empty string.Expected behavior
The S3 destination paths don't contain double "/".
Actual behavior
The S3 destination paths contain double "/" after the S3 bucket name.
Additional context
I'll submit PR for this.
The text was updated successfully, but these errors were encountered: