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

Attribute 'asserts_url' should be 'assets_url' #488

Open
karol-bujacek opened this issue Jun 11, 2020 · 2 comments
Open

Attribute 'asserts_url' should be 'assets_url' #488

karol-bujacek opened this issue Jun 11, 2020 · 2 comments
Labels
d/release Status: Pinned A way to keep old or long lived issues around Type: Breaking change Used to note any change that requires a major version bump Type: Bug Something isn't working as documented

Comments

@karol-bujacek
Copy link

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

@anGie44 anGie44 linked a pull request Jun 11, 2020 that will close this issue
@jcudit jcudit added Type: Bug Something isn't working as documented d/release labels Nov 30, 2020
@github-actions
Copy link

github-actions bot commented Dec 9, 2022

👋 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!

@github-actions github-actions bot added the Status: Stale Used by stalebot to clean house label Dec 9, 2022
@kfcampbell kfcampbell added Type: Breaking change Used to note any change that requires a major version bump Priority: Normal Status: Pinned A way to keep old or long lived issues around and removed Status: Stale Used by stalebot to clean house labels Dec 9, 2022
@kfcampbell
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
d/release Status: Pinned A way to keep old or long lived issues around Type: Breaking change Used to note any change that requires a major version bump Type: Bug Something isn't working as documented
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants