I am trying to import Cloudflare IP Access Rules for each zone but it seems to fail!
I can import properly IP Access Rules on the Account Level but not on the Zone Level!
Eg.
This works:
pulumi import cloudflare:index/accessRule:AccessRule \<name> account/\<account-id>/\<rule-id>
This doesn't:
pulumi import cloudflare:index/accessRule:AccessRule \<name> zone/\<zone-id>/\<rule-id>
For the Zone import I get the following:
cloudflare:index:AccessRule (testingrule):
error: Preview failed: importing zone/\<zone-id>/\<rule-id>: importer for zone/\<zone-id>/\<rule-id> returned a empty resource state. This is always the result of a bug in the resource provider - please report this as a bug in the Pulumi provider repository.
Pulumi locates its logs in /var/folders/6f/z7t5cc955t9br00qwmk36trr0000gq/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).
What happened?
I am trying to import Cloudflare IP Access Rules for each zone but it seems to fail!
I can import properly IP Access Rules on the Account Level but not on the Zone Level!
Eg.
This works: pulumi import cloudflare:index/accessRule:AccessRule \<name> account/\<account-id>/\<rule-id>
This doesn't: pulumi import cloudflare:index/accessRule:AccessRule \<name> zone/\<zone-id>/\<rule-id>
For the Zone import I get the following:
cloudflare:index:AccessRule (testingrule): error: Preview failed: importing zone/\<zone-id>/\<rule-id>: importer for zone/\<zone-id>/\<rule-id> returned a empty resource state. This is always the result of a bug in the resource provider - please report this as a bug in the Pulumi provider repository.
Expected Behavior
Non-Empty Resource Response!
Steps to reproduce
Try with both to verify that:
Account level works: pulumi import cloudflare:index/accessRule:AccessRule \<name> account/\<account-id>/\<rule-id>
Zone level doesn't: pulumi import cloudflare:index/accessRule:AccessRule \<name> zone/\<zone-id>/\<rule-id>
Output of
pulumi about
CLI
Version 3.78.1 Go Version go1.20.7 Go Compiler gc
Plugins NAME VERSION cloudflare 5.8.0 python unknown
Host
OS darwin Version 13.4.1 Arch arm64
This project is written in python: executable='/usr/bin/python3' version='3.9.6 '
Current Stack: lodgify_devops/pulumi-cloudflare/pulumi-cloudflare
TYPE URN pulumi:pulumi:Stack urn:pulumi:pulumi-cloudflare::pulumi-cloudflare::pulumi:pulumi:Stack::pulumi-cloudflare-pulumi-cloudflare
Found no pending operations associated with pulumi-cloudflare
Backend
Name pulumi.com URL https://app.pulumi.com/lodgify_devops User lodgify_devops Organizations lodgify_devops
Dependencies: NAME VERSION chardet 3.0.4 cloudflare 2.11.6 dnspython 2.3.0 future 0.18.2 macholib 1.15.2 pip 21.2.4 pulumi-cloudflare 5.8.0 pycurl 7.45.2 pytest 6.0.1 setuptools 58.0.4 wheel 0.37.0
Pulumi locates its logs in /var/folders/6f/z7t5cc955t9br00qwmk36trr0000gq/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).