Changing pages source has no effect #2737
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
service/pages
Categorizes issue or PR as related to the Pages service.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
triage/debug-log-attached
Indicates an issue or PR has a complete Terraform debug log.
Milestone
Confirmation
Terraform and Cloudflare provider version
Terraform v1.5.6
on linux_amd64
Affected resource(s)
cloudflare_pages_project
Terraform configuration files
Link to debug output
https://gist.github.com/rsyring/074c880f915495c502a21a040957cac6
Panic output
No response
Expected output
When the plan shows that the github
repo_name
should be changed, and I run apply, I expect the repo_name to be updated in Cloudflare. Subsequently, if I run plan again, I expect to see no changes.Actual output
When the plan shows that the github
repo_name
should be changed, and I run apply, the repo_name value in Cloudflare is not updated. A subsequentplan
shows the same change needing to be applied again.Steps to reproduce
Additional factoids
The root problem IMO is that the API accepts these values and ignores them. A consequence of only PATCH being available for a pages project and not PUT?
Best bet would be to figure out what values the CF API will actually set on a project and, if anything else needs modification in the plan, indicate the resource will need to be destroyed and re-created.
References
No response
The text was updated successfully, but these errors were encountered: