Skip to content

Account requires deprecated field defaultNameservers #1227

@dinesen-blinq

Description

@dinesen-blinq

Describe what happened

When creating or updating an Account, it will fail unless the deprecated field default_nameservers is provided.

I am using @pulumi/cloudflare: ^6.2.0.

Sample program

new cloudflare.Account(
  'account',
  {
    name: `Main Account`,
    settings: {
      // defaultNameservers: 'custom.account',
    },
  },
);

Log output

    error: failed to make http request: PUT "https://api.cloudflare.com/client/v4/accounts/<redacted>": 400 Bad Request {"success":false,"errors":[{"code":1001,"message":"Unknown setting 'default_nameservers' for account."}],"messages":[],"result":null}

Affected Resource(s)

No response

Output of pulumi about

pulumi about
CLI          
Version      3.173.0
Go Version   go1.24.3
Go Compiler  gc

Plugins
KIND      NAME        VERSION
resource  cloudflare  6.2.0
language  nodejs      3.173.0

Host     
OS       darwin
Version  15.5
Arch     arm64
...

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting-feedbackBlocked on input from the authorkind/bugSome behavior is incorrect or out of spec

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions