Skip to content
New issue

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

fix: Added apiary_extra_tags_s3 variable to the s3 checkpoint bucket to add extra tags #284

Conversation

darmandovargas
Copy link
Contributor

📝 Description

🔗 Related Issues

@darmandovargas darmandovargas requested a review from a team as a code owner October 24, 2024 03:06
@@ -42,6 +42,7 @@ locals {
enable_apiary_s3_log_management = var.apiary_log_bucket == "" ? true : false
enable_apiary_s3_log_hive = var.apiary_log_bucket == "" && var.enable_apiary_s3_log_hive ? true : false
apiary_s3_logs_bucket = local.enable_apiary_s3_log_management ? "${local.apiary_bucket_prefix}-s3-logs" : ""
apiary_s3_logs_checkpoint_bucket= "${local.apiary_bucket_prefix}-s3-logs-checkpoint"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a space before the = and then align the rest of the assignments too please

Suggested change
apiary_s3_logs_checkpoint_bucket= "${local.apiary_bucket_prefix}-s3-logs-checkpoint"
apiary_s3_logs_checkpoint_bucket = "${local.apiary_bucket_prefix}-s3-logs-checkpoint"

@@ -138,6 +138,47 @@ EOF
}
}

resource "aws_s3_bucket" "s3_logs_checkpoint" {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changelog please

@darmandovargas
Copy link
Contributor Author

After a talk with Jian Li, we figured out this new bucket was not necessary and that we can reuse a folder within system bucket, as we have limited buckets, so I will push a pr for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants