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

property refs can only use their own resource in iac #757

Closed
jhsinger-klotho opened this issue Oct 16, 2023 · 0 comments
Closed

property refs can only use their own resource in iac #757

jhsinger-klotho opened this issue Oct 16, 2023 · 0 comments

Comments

@jhsinger-klotho
Copy link
Contributor

jhsinger-klotho commented Oct 16, 2023

certain property refs like a NLB's Uri need to reference the upstream api integration to append the route to their dns name. This currently isnt possible which prevents the iac from being correct

another area which will need to solve this is the aws logging config map
we have something like

              output.conf: |
                [OUTPUT]
                    Name cloudwatch_logs
                    Match   kube.*
                    region {{ (downstream "aws:region" .Target) }}#Name
                    log_group_name /fargate/{{ .Target }}#ClusterName
                    log_stream_prefix from-fluent-bit-
                    log_retention_days 60
                    auto_create_group true

previoius code https://github.com/klothoplatform/klotho/blob/main/pkg/infra/iac2/templates_compiler.go#L740

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

No branches or pull requests

1 participant