Skip to content

[apigateway-controller] Support accessLogSettings in Stage.spec #3182

Open

Description

@arnaud-mey

Is your feature request related to a problem?

We are migrating REST APIs from Terraform to the apigateway-controller (with kro composing the resources). Several of our APIs have access logging enabled on their stages, and accessLogSettings exists only in Stage.status, so it can't be set declaratively. Those APIs can't move to ACK without losing their access logs. Terraform covers this with access_log_settings on aws_api_gateway_stage.

The generator config already anticipates this, just above Stage:

# Fields AccessLogSettings and ClientCertificateId are not in the Create API. Support for them will be added based on
# customer interest.

We'd like to register our interest in AccessLogSettings support with this issue.

Describe the solution you'd like

accessLogSettings in Stage.spec, with the shape Stage.status already has:

spec:
  stageName: prod
  accessLogSettings:
    destinationARN: arn:aws:logs:eu-central-1:111122223333:log-group:api-access
    format: '{"requestId":"$context.requestId","status":"$context.status"}'

CreateStage doesn't accept it, but UpdateStage does, and the controller already updates stages through UpdateStage patch operations. So it should mostly be a matter of applying it with an update once the stage exists.

Activity

  1. github-actions commented on Nov 18, 2026

    @github-actions

    Hello @arnaud-mey 👋 Thank you for opening an issue in ACK! A maintainer will triage this issue soon.

    We encourage community contributions, so if you're interested in tackling this yourself or suggesting a solution, please check out our Contribution and Code of Conduct guidelines.

    You can find more information about ACK on our website.

  2. added
    service/apigatewayIndicates issues or PRs that are related to apigateway-controller.
    kind/new-fieldCategorizes issue or PR as related to a new field
    on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/new-fieldCategorizes issue or PR as related to a new fieldservice/apigatewayIndicates issues or PRs that are related to apigateway-controller.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions