cloudflare.AccessApplication not using the self_hosted_domains input #858
Labels
area/import
An issue related to `pulumi import` or the import resource option.
kind/bug
Some behavior is incorrect or out of spec
Describe what happened
I was importing Cloudflare ZTNA resources into our Pulumi repository with Python when I realized that only one application domain was being imported with several of these.
For example, using
pulumi import cloudflare:index/accessApplication:AccessApplication other_admin_panels [ACCOUNT_ID]/[APPLICATION_ID]
it returns this code:This application has five subdomain, this is an example:
Running
pulumi up
indicates that there are no changes to be made. In the web panel there are 5 domains, in the repository there is only one, so supposedly both states are the same:If I make a change, in
service_auth401_redirect
for example, the status of the resource is updated and all domains are removed from the application except the one specified in the "domain" input. What this means is that this Pulumi's Cloudflare package does take the domain status from the application but does not give you the full code on the import.Sample program
I hope I have detailed the problem well enough. If you can explain to me how I can make a self-contained Pulumi program from a Cloudflare ZTNA, I will be happy to do so.
Log output
No response
Affected Resource(s)
No response
Output of
pulumi about
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).
The text was updated successfully, but these errors were encountered: