Skip to content

ZoneSetting Error 1007 Invalid Value #1319

@buric

Description

@buric

Describe what happened

Hello,
there is an issue on v6 provider (tested on 6.2.1 and 6.4.1) when I update opts of ZoneSetting resources without any change of args, eg. I change ignoreChanges, the cloudflare API returns 1007 Error, Invalid value for zone setting ...
It looks like the provider is trying to patch with empty object (with the diff, which in this case is an empty object).

Sample program

new cloudflare.ZoneSetting(
    "zone-setting-" + key,
    {
        zoneId: zone.id,
        settingId: key,
        value: value,
    },
);

Log output

No response

Affected Resource(s)

No response

Output of pulumi about

CLI
Version 3.116.1
Go Version go1.22.3
Go Compiler gc

Plugins
KIND NAME VERSION
language nodejs unknown

Host
OS darwin
Version 15.5
Arch arm64

This project is written in nodejs: executable='/Users/xxxx/.asdf/shims/node' version='v20.18.1'

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