Skip to content

Attribute 'asserts_url' should be 'assets_url' #488

Closed

Description

@karol-bujacek

Terraform Version

Terraform v0.12.26

Affected Resource(s)

data github_release

Terraform Configuration Files

provider "github" {
    individual = true
    anonymous = true
}


data "github_release" "terraform" {
    owner = "hashicorp"
    repository = "terraform"
    retrieve_by = "tag"
    release_tag = "v0.12.26"
}

output "url" {
    value = data.github_release.terraform.assets_url
}

Debug Output

na

Panic Output

na

Expected Behavior

Assets url displayed after executing terraform plan and terraform apply:

$ terraform apply
data.github_release.terraform: Refreshing state...

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

url = https://api.github.com/repos/hashicorp/terraform/releases/26956233/assets

Note that it’s name is assets, not asseRts.

Actual Behavior

Error: Unsupported attribute

  on main.tf line 15, in output "url":
  15:     value = data.github_release.terraform.assets_url

This object has no argument, nested block, or exported attribute named
"assets_url". Did you mean "asserts_url"?

Steps to Reproduce

  1. terraform plan

Important Factoids

na

References

na

Activity

  1. linked a pull request that will close this issuefix assets_url attribute typo #448on Jun 11, 2020
  2. added
    Type: Bug
    on Nov 30, 2020
  3. github-actions commented on Dec 9, 2022

    @github-actions

    👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!

  4. added
    Status: Stale
    on Dec 9, 2022
  5. added
    Type: Breaking change
    Status: Pinned
    and removed
    Status: Stale
    on Dec 9, 2022
  6. kfcampbell commented on Dec 9, 2022

    @kfcampbell
    Contributor

    This is still an issue. #1194 deprecated the typo'd version, but we still need to release a breaking change to remove it entirely.

  7. added this to the v7.0.0 Release milestone on Dec 1, 2025
  8. moved this from Backlog to On Deck in Terraform Provideron Dec 1, 2025
  9. self-assigned this
    on Dec 6, 2025
  10. moved this from On Deck to In Progress in Terraform Provideron Dec 6, 2025
  11. stevehipwell commented on Jan 19, 2026

    @stevehipwell
    Collaborator

    This has been fixed.

  12. moved this from In Progress to Done in Terraform Provideron Jan 19, 2026
  13. removed this from the v7.0.0 Release milestone on Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Status: PinnedType: Breaking changeType: Bugd/release

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions