pulumi / pulumi-tailscale

Apache License 2.0
14 stars 3 forks source link

Using the DnsNameservers resource enables Override Local DNS #540

Open florianbeisel opened 3 days ago

florianbeisel commented 3 days ago

Describe what happened

When updating the nameserver configuration via DnsNameservers the update also enables Override Local DNS flag without a way to configure the setting.

Sample program

        this.globalNameservers = new tailscale.DnsNameservers(`${stack}-tailnet-dns-global-nameservers`, {
            nameservers: config.globalDnsConfig.globalNameservers,

        }, { parent: this });

Log output

No response

Affected Resource(s)

Output of pulumi about

CLI          
Version      3.137.0
Go Version   go1.23.2
Go Compiler  gc

Plugins
KIND      NAME       VERSION
language  nodejs     3.137.0-dev.0
resource  tailscale  0.17.4

Host     
OS       darwin
Version  15.0.1
Arch     arm64

This project is written in nodejs: executable='/Users/beisel/.local/share/mise/installs/node/20/bin/node' version='v20.18.0'

Backend        
Name           Mac.localdomain
URL            file://~
User           beisel
Organizations  
Token type     personal

Dependencies:
NAME                              VERSION
@pulumi/pulumi                    3.137.0
@pulumi/tailscale                 0.17.4
@types/js-yaml                    4.0.9
@types/node                       18.19.62
typescript                        5.6.3
typescript-eslint                 8.12.2
@typescript-eslint/eslint-plugin  8.12.2
@typescript-eslint/parser         8.12.2
eslint                            8.57.1
eslint-config-prettier            9.1.0

Pulumi locates its logs in /var/folders/4p/pnyx_yhn1lzfdfwcpwtkfxzckttqvn/T/ by default

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

iwahbe commented 3 days ago

Hi @florianbeisel. Thanks for raising an issue. This provider is generated from the official tailscale Terraform provider, so we will add this flag as soon as they do. Right now, there is an open enhancement request for this feature upstream: https://github.com/tailscale/terraform-provider-tailscale/issues/448. As soon as tailscale adds the feature to their provider, we will reflect it here.