jenkins-x/terraform-aws-eks-jx

S3 bucket still created when storage is disabled

msvticket opened this issue · 0 comments

Summary

If a storage is disabled by setting either of enable_logs_storage, enable_reports_storage or enable_repository_storage to false the bucket is still created, it just doesn't turn up in jx-requirements.yaml.

Steps to reproduce the behavior

Create cluster with terraform configuration where a fragment looks like:

module "eks-jx" {
    source                         = "github.com/jenkins-x/terraform-aws-eks-jx?ref=v1.17.2"
    cluster_name                   = "test"
    enable_reports_storage         = false

Expected behavior

No bucket with prefix reports-test- is created.

Actual behavior

Bucket with prefix reports-test- is created.

Module version

1.17.2