flyctl icon indicating copy to clipboard operation
flyctl copied to clipboard

`--attach` generates a toml with an odd structure

Open fliepeltje opened this issue 6 months ago • 2 comments

Describe the bug

When I use the --attach flag, this is the fly.toml that I get in my fly/apps/<app-name>/fly.toml

[experimental]
  [experimental.attached]
    [experimental.attached.secrets]
      [experimental.attached.secrets.export]
        SANDWICH_CHAT_URL = 'http://${FLYCAST_URL}/sandwich-chat'

The relevant section of the original fly.toml for the attached app looks like this:

[experimental.attached.secrets.export]
  SANDWICH_CHAT_URL = "http://${FLYCAST_URL}/sandwich-chat"

Functionally this of course works, but it looks a bit weird.

fliepeltje avatar Jul 31 '24 08:07 fliepeltje