-
Notifications
You must be signed in to change notification settings - Fork 630
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
cloudflare_spectrum_application nested syntax for edge_ips "Error: missing expected {" #2516
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Thank you for reporting this issue! For maintainers to dig into issues it is required that all issues include the entirety of This issue has been marked with |
you'll need to remove the resource from state and reimport it to get the structure correct. there wasn't an automatic migration for this due to the resource previously allowing invalid configurations that we weren't comfortable copying forward or breaking the upgrade path. |
Confirmation
Terraform and Cloudflare provider version
Terraform v1.5.0
Provider plugins:
Affected resource(s)
cloudflare_spectrum_application
Terraform configuration files
Link to debug output
n/a
Panic output
n/a
Expected output
Successful
terraform plan
runActual output
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: missing expected {
│
│ with module.nessy.cloudflare_spectrum_application.endpoint,
│ on ../../modules/proxy/main.tf line 147, in resource "cloudflare_spectrum_application" "endpoint":
│ 147: resource "cloudflare_spectrum_application" "endpoint" {
│
╵
Steps to reproduce
cloudflare_spectrum_application
to use nested syntax foredge_ips
per https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/spectrum_applicationi.e. replace
with
terraform plan
Additional factoids
Works fine when
References
Introduced in #2219
The text was updated successfully, but these errors were encountered: