Skip to content

Attribute 'asserts_url' should be 'assets_url' #488

@karol-bujacek

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

Metadata

Metadata

Assignees

Labels

Status: PinnedA way to keep old or long lived issues aroundType: Breaking changeUsed to note any change that requires a major version bumpType: BugSomething isn't working as documentedd/release

Type

No type

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions