Skip to content

An argument named "allow_disabled" is not expected here. #3416

@pixelari

Description

@pixelari

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

OpenTofu v1.9.0
on darwin_arm64

  • provider registry.opentofu.org/hashicorp/random v3.7.2
  • provider registry.opentofu.org/scaleway/scaleway v2.60.4

Affected Resource(s)

Terraform Configuration Files

data "scaleway_baremetal_offer" "vpn" {
  name                = "EM-A115X-SSD"
  subscription_period = "monthly"
  allow_disabled      = true
}

Debug Output

https://gist.github.com/pixelari/478f6744b7778d98c15438c93ebbe0c0

Panic Output

Expected Behavior

Allow to set the value and it doesn't break the Terraform/Tofu run

Actual Behavior

Tofu validate fails, does not allow to create plan

Steps to Reproduce

  1. Add allow_disabled=true
  2. tofu validate
  3. tofu plan
  4. tofu apply

Important Factoids

N/A

References

N/A

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions