Skip to content

Commit

Permalink
Fix release example (#2080)
Browse files Browse the repository at this point in the history
  • Loading branch information
kfcampbell committed Jan 5, 2024
1 parent d3bc5ba commit b544e31
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/release/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
output "github_release_assets_url" {
description = "Asset URL of a GitHub release"
value = data.github_release.by_tag.assets_url
value = data.github_release.by_tag.assets[0].url
}
8 changes: 8 additions & 0 deletions examples/release/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,11 @@ provider "github" {
owner = var.organization
token = var.github_token
}

terraform {
required_providers {
github = {
source = "integrations/github"
}
}
}

0 comments on commit b544e31

Please sign in to comment.