Skip to content
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

breaking changes for 4.x #1646

Closed
38 tasks done
jacobbednarz opened this issue May 25, 2022 · 11 comments · Fixed by #2246
Closed
38 tasks done

breaking changes for 4.x #1646

jacobbednarz opened this issue May 25, 2022 · 11 comments · Fixed by #2246
Assignees
Milestone

Comments

@jacobbednarz
Copy link
Member

jacobbednarz commented May 25, 2022

Tracking for all the planned cleanup in 4.x

Internal cleanup

Schema updates

  • cloudflare_byo_ip_prefix prefix_id should be internal id, not a custom attribute.

Deletions/modifications

Additions

Deprecations

@Nmishin
Copy link
Contributor

Nmishin commented Jul 20, 2022

Seems account_id should be added to the cloudflare_worker_script as well.
If I try to run terraform apply without export CLOUDFLARE_ACCOUNT_ID it fails with error:

│ Error: error creating worker script: account ID required
│ 
│   with module.workers.cloudflare_worker_script.main["cors"],
│   on .terraform/modules/workers/cloudflare/worker/main.tf line 17, in resource "cloudflare_worker_script" "main":
│   17: resource "cloudflare_worker_script" "main" {
│ 

@jacobbednarz
Copy link
Member Author

thanks @Nmishin - added.

@NJITman
Copy link

NJITman commented Aug 31, 2022

1 addition:
cloudflare_load_balancer needs to support account_id

@jacobbednarz
Copy link
Member Author

thanks, added.

@andy-paine-numan
Copy link

Another addition that needs account_id support - cloudflare_worker_route

@jacobbednarz
Copy link
Member Author

Another addition that needs account_id support - cloudflare_worker_route

thanks, updated

@andrewkrain
Copy link

andrewkrain commented Nov 3, 2022

It seems that account_id was added to most account-level resources in 3.27.0. However, this doesn't seem to enforce the use of account-level API (unlike specifying account_id on provider level or using the CLOUDFLARE_ACCOUNT_ID environment variable, both of which are now deprecated).

@jacobbednarz
Copy link
Member Author

@andrewkrain please open a new issue following the template provided for the resources you're having issues with so we can address those specifically and just link back to this larger tracking ticket.

@Cyb3r-Jak3
Copy link
Contributor

@jacobbednarz
Copy link
Member Author

thanks @Cyb3r-Jak3; added.

@github-actions
Copy link
Contributor

This functionality has been released in v4.0.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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants