Registry /
utility / hashicorp-terraform-registry-address
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
tfaddr
✓ github.com/hashicorp/terraform-registry-address
Parse a Terraform provider source address.
package main
import (
"fmt"
"github.com/hashicorp/terraform-registry-address"
)
func main() {
addr, err := tfaddr.ParseProviderSource("hashicorp/aws")
if err != nil {
panic(err)
}
fmt.Println(addr.ForDisplay())
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.4.0latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.