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

[New Resource]: AWS Glue catalog table optimizer #38035

Open
t04glovern opened this issue Jun 19, 2024 · 1 comment · May be fixed by #38052
Open

[New Resource]: AWS Glue catalog table optimizer #38035

t04glovern opened this issue Jun 19, 2024 · 1 comment · May be fixed by #38052
Labels
new-resource Introduces a new resource. service/glue Issues and PRs that pertain to the glue service.

Comments

@t04glovern
Copy link

t04glovern commented Jun 19, 2024

Description

Automatic compaction of Iceberg tables in AWS Glue was added last year (https://aws.amazon.com/blogs/aws/aws-glue-data-catalog-now-supports-automatic-compaction-of-apache-iceberg-tables/).

It would be useful if an optimizer could be created with Terraform for AWS Glue catalog tables that support this feature (iceberg).

Requested Resource(s) and/or Data Source(s)

  • aws_glue_catalog_table_optimizer

Potential Terraform Configuration

resource "aws_glue_catalog_table_optimizer" "table_optimizer" {
  catalog_id    = 123456789012
  database_name = iceberg_db
  table_name    = iceberg_table

  configuration = {
    roleArn = "arn:aws:iam::123456789012:role/example-role"
    enabled = true
  }

  type = "COMPACTION"
}

References

There appears to be supported Go SDKv2 APIs for all the functionality that would be needed to support this feature:

Would you like to implement a fix?

I will try!

Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@github-actions github-actions bot added the service/glue Issues and PRs that pertain to the glue service. label Jun 19, 2024
@terraform-aws-provider terraform-aws-provider bot added the needs-triage Waiting for first response or review from a maintainer. label Jun 19, 2024
@t04glovern t04glovern linked a pull request Jun 20, 2024 that will close this issue
@justinretzolk justinretzolk added new-resource Introduces a new resource. and removed needs-triage Waiting for first response or review from a maintainer. labels Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-resource Introduces a new resource. service/glue Issues and PRs that pertain to the glue service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants