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

Feature Request: Enable ELB Access Logging via Terraform #2842

Open
tputrove opened this issue Feb 26, 2025 · 2 comments
Open

Feature Request: Enable ELB Access Logging via Terraform #2842

tputrove opened this issue Feb 26, 2025 · 2 comments
Labels
enhancement otc-issue Blocked by OTC issues

Comments

@tputrove
Copy link

Hello,

We currently have a problem with Elastic Load Balancer (ELB) missing an access logging option in the Terraform provider. This means we cannot directly enable logging and reference an LTS log group and log topic for ELB access logs within Terraform.

Expected Behavior
The ability to enable access logging when defining an ELB in Terraform.
The ability to reference an LTS log group and log topic in the ELB resource.

Existing Workarounds
We can manually configure ELB access logging in the OTC console.
There is no direct Terraform support, meaning automation must be handled outside Terraform (e.g., via API calls or CLI scripts).

Relevant Documentation
OTC Documentation (Feature Details):
Access Logging for Elastic Load Balancers
Terraform LTS Resources (For Reference):
LTS Log Group
LTS Log Topic

Why This is Important
This feature would allow full automation of ELB setup, ensuring logs are captured and stored in LTS without requiring manual configuration. This is critical for compliance, observability, and debugging.

Would it be possible to add this feature to the Terraform provider?
We appreciate any updates or plans for this functionality.

Thanks in advance for considering this request!

@artem-lifshits
Copy link
Member

Hello @tputrove we don't have corresponding APIs to update the resources, please contact [email protected] with a demand to implement these APIs as this is OTC request and not TF issue.

@artem-lifshits artem-lifshits added the otc-issue Blocked by OTC issues label Feb 26, 2025
@CHS-OTC
Copy link

CHS-OTC commented Mar 4, 2025

Hello, the OTC has now an public API to set the LTS logging for ELB. Note that this currently only works for layer 7 listeners.
https://docs.otc.t-systems.com/elastic-load-balancing/api-ref/apis_v3/log/creating_a_log.html#createlogtank

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement otc-issue Blocked by OTC issues
Projects
None yet
Development

No branches or pull requests

3 participants