-
Notifications
You must be signed in to change notification settings - Fork 626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support redirect lists #1700
Support redirect lists #1700
Conversation
This project handles dependency version bumps (including upstream changes from cloudflare-go) independently of the standard PR process using automation. This allows the dependency upgrades to land without causing merge conflicts in multiple branches and handled in a consistent way. The exception to this is security related dependency upgrades but they should be co-ordinated with the maintainer team privately. Please remove the changes to the go.mod or go.sum files from this PR in order to proceed with review and merging. |
changelog detected ✅ |
f8edb50
to
438e821
Compare
4690a53
to
cd7c11c
Compare
acceptance tests are all green
|
thanks @orium! |
Thanks 😆 |
Any ideas when this version will be publicly available? |
@KevinM2k There's likely going to be a new release tomorrow. |
This functionality has been released in v3.18.0 of the Terraform Cloudflare Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
Hey thanks for releasing so quickly... This enables me to create the redirect lists, however how do we actually create the bulk redirects that use the list that we've created? Thanks |
Also once the list has been created, ive gone in to make a change to it, the plan works but it fails on apply with the following error:
Update: Reason for this one is that I didn't specify the status code when creating the list, it gets set to 0, which is actually an invalid state, so this should be defaulted to 301 or made a required metadata field |
Thanks for reporting. I'll open a PR with a fix today. |
@KevinM2k I'm not able to reproduce it. Can you post a tf file that reproduces the problem? |
Then modify one of the entires, and you should get the problem. The fix for this was to simply add the status_code as 301. I found that the changes it was making in the plan was:
With regards to the actual creation of the bulk list, the docs in TF just doesn't mention how to use the redirect kind and the list_from option isn't available (is in api) - hence issue #1342 shouldnt be closed just yet. |
Hi @KevinM2k. This should be fixed in the new release. Let me know if you have any issues. |
Thanks :)
…On Wed, 13 Jul 2022, 10:31 Diogo Sousa, ***@***.***> wrote:
Hi @KevinM2k <https://github.com/KevinM2k>. This should be fixed in the
new release. Let me know if you have any issues.
—
Reply to this email directly, view it on GitHub
<#1700 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACUAN7CJFTKJGGRVUBP4HLVT2EGZANCNFSM5Y3K2ZVA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
This is a draft because we are waiting for a cloudflare-go release.Closes #1342