Skip to content

log_destination for static_site in digitalocean_app's #1478

@chicks-net

Description

@chicks-net

Is your feature request related to a problem? Please describe.

I was trying to configure logs for static web sites in https://github.com/fini-net/fini-infra/tree/main/l6_ingress/app-fini-domain-trust .

Describe the solution you'd like

Please support log_destination within static_site for apps.

Describe alternatives you've considered

This can be done without terraform, but I have not tried that yet.

Additional context

Like #1372 but for static sites.

When I try log_destination on a static_site I get:

╷
│ Error: Unsupported block type
│
│   on main.tf line 94, in resource "digitalocean_app" "trust_static_site":
│   94:       log_destination {
│
│ Blocks of type "log_destination" are not expected here.
╵

The database created fine. https://github.com/fini-net/fini-infra/tree/main/l4_data/fini-logs-search

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions