go-tfe
go-tfe copied to clipboard
[Feature Request] Add "provider-binary-uploaded" to response
When dealing with Provider Platforms within the Registry, there is an attribute that is helpful to determine if a platform version has been created, but has not been uploaded with the binary.
Request to have RegistryProviderPlatforms.List()
and RegistryProviderPlatforms.Read()
functions return the "provider-binary-uploaded" attribute of a registry provider platform.
Public Docs: https://www.terraform.io/cloud-docs/api-docs/private-registry/provider-versions-platforms#get-all-platforms-for-a-single-version
Go struct: https://github.com/hashicorp/go-tfe/blob/main/registry_provider_platform.go#L35
Potential code change
ProviderBinaryUploaded bool `json:"provider-binary-uploaded"`
Thank you for submitting this issue! That seems like a reasonable request. ❤️
Addressed in merged PR.