Skip to content

cloudflare_zero_trust_access_service_token - an attribute named xxx is not expected #2147

@scott-doyland-burrows

Description

@scott-doyland-burrows

Extension Version

v2.37.5

VS Code Version

Version: 1.105.0 (user setup)
Commit: 03c265b1adee71ac88f833e065f7bb956b60550a
Date: 2025-10-08T14:09:35.891Z
Electron: 37.6.0
ElectronBuildId: 12502201
Chromium: 138.0.7204.251
Node.js: 22.19.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26100

Operating System

Windows 11 / WSL

Terraform Version

Terraform v1.13.3 on linux_amd64 + provider registry.terraform.io/cloudflare/cloudflare v5.11.0

Steps to Reproduce

Image Image

Expected Behavior

Both attributes are valid and there should be no errors shown.

Actual Behavior

As per above screenshot for both underlined attributes.

Terraform Configuration

terraform {
  required_providers {
    cloudflare = {
      source  = "cloudflare/cloudflare"
      version = "5.11.0"
    }
  }
}


resource "cloudflare_zero_trust_access_service_token" "example" {
  name                              = "Scott Doyland Test Token"
  zone_id                           = data.cloudflare_zone.zone.zone_id
  client_secret_version             = 0
  duration                          = "60m"
  previous_client_secret_expires_at = "2014-01-01T05:20:00.12345Z"
}

Project Structure

Gist

No response

Anything Else?

I assume this is actually an error in a schema somewhere, but I am always confused as to where these issues need fixing.

Workarounds

No response

References

No response

Help Wanted

  • I'm interested in contributing a fix myself

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions