diff --git a/README.md b/README.md index 6721c2f..4287ca4 100644 --- a/README.md +++ b/README.md @@ -23,13 +23,15 @@ make install This places the binary at `~/.terraform.d/plugins/git.unkin.net/unkin/artifactapi///`. +A `make install` build is referenced with `source = "git.unkin.net/unkin/artifactapi"` (the provider address, matching that path); the `artifactapi.example.com/terraform-unkin/artifactapi` source below is for installing from an artifactapi registry. + ## Provider Configuration ```hcl terraform { required_providers { artifactapi = { - source = "git.unkin.net/unkin/artifactapi" + source = "artifactapi.example.com/terraform-unkin/artifactapi" version = "0.0.1" } } diff --git a/examples/data-sources/artifactapi_remote/main.tf b/examples/data-sources/artifactapi_remote/main.tf index 0e5f30b..a0de77c 100644 --- a/examples/data-sources/artifactapi_remote/main.tf +++ b/examples/data-sources/artifactapi_remote/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { artifactapi = { - source = "git.unkin.net/unkin/artifactapi" + source = "artifactapi.example.com/terraform-unkin/artifactapi" version = "0.0.1" } } diff --git a/examples/data-sources/artifactapi_virtual/main.tf b/examples/data-sources/artifactapi_virtual/main.tf index 1d2c91f..885c6b8 100644 --- a/examples/data-sources/artifactapi_virtual/main.tf +++ b/examples/data-sources/artifactapi_virtual/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { artifactapi = { - source = "git.unkin.net/unkin/artifactapi" + source = "artifactapi.example.com/terraform-unkin/artifactapi" version = "0.0.1" } } diff --git a/examples/main.tf b/examples/main.tf index 9ab4da2..7be98a6 100644 --- a/examples/main.tf +++ b/examples/main.tf @@ -1,14 +1,14 @@ terraform { required_providers { artifactapi = { - source = "git.unkin.net/unkin/artifactapi" + source = "artifactapi.example.com/terraform-unkin/artifactapi" version = "0.0.1" } } } provider "artifactapi" { - endpoint = "https://artifactapi.k8s.syd1.au.unkin.net" + endpoint = "https://artifactapi.example.com" # token is read from ARTIFACTAPI_TOKEN when unset } diff --git a/examples/resources/artifactapi_remote_alpine/main.tf b/examples/resources/artifactapi_remote_alpine/main.tf index b94e23d..fd55536 100644 --- a/examples/resources/artifactapi_remote_alpine/main.tf +++ b/examples/resources/artifactapi_remote_alpine/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { artifactapi = { - source = "git.unkin.net/unkin/artifactapi" + source = "artifactapi.example.com/terraform-unkin/artifactapi" version = "0.0.1" } } diff --git a/examples/resources/artifactapi_remote_cargo/main.tf b/examples/resources/artifactapi_remote_cargo/main.tf index 2baa68f..0be77c9 100644 --- a/examples/resources/artifactapi_remote_cargo/main.tf +++ b/examples/resources/artifactapi_remote_cargo/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { artifactapi = { - source = "git.unkin.net/unkin/artifactapi" + source = "artifactapi.example.com/terraform-unkin/artifactapi" version = "0.0.1" } } diff --git a/examples/resources/artifactapi_remote_deb/main.tf b/examples/resources/artifactapi_remote_deb/main.tf index f7a339b..281ec83 100644 --- a/examples/resources/artifactapi_remote_deb/main.tf +++ b/examples/resources/artifactapi_remote_deb/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { artifactapi = { - source = "git.unkin.net/unkin/artifactapi" + source = "artifactapi.example.com/terraform-unkin/artifactapi" version = "0.0.1" } } diff --git a/examples/resources/artifactapi_remote_docker/main.tf b/examples/resources/artifactapi_remote_docker/main.tf index 22755ba..25e783d 100644 --- a/examples/resources/artifactapi_remote_docker/main.tf +++ b/examples/resources/artifactapi_remote_docker/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { artifactapi = { - source = "git.unkin.net/unkin/artifactapi" + source = "artifactapi.example.com/terraform-unkin/artifactapi" version = "0.0.1" } } diff --git a/examples/resources/artifactapi_remote_gems/main.tf b/examples/resources/artifactapi_remote_gems/main.tf index 8e7f6cf..7b97e56 100644 --- a/examples/resources/artifactapi_remote_gems/main.tf +++ b/examples/resources/artifactapi_remote_gems/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { artifactapi = { - source = "git.unkin.net/unkin/artifactapi" + source = "artifactapi.example.com/terraform-unkin/artifactapi" version = "0.0.1" } } diff --git a/examples/resources/artifactapi_remote_generic/main.tf b/examples/resources/artifactapi_remote_generic/main.tf index fcec252..10b819f 100644 --- a/examples/resources/artifactapi_remote_generic/main.tf +++ b/examples/resources/artifactapi_remote_generic/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { artifactapi = { - source = "git.unkin.net/unkin/artifactapi" + source = "artifactapi.example.com/terraform-unkin/artifactapi" version = "0.0.1" } } diff --git a/examples/resources/artifactapi_remote_github_alpine/main.tf b/examples/resources/artifactapi_remote_github_alpine/main.tf index 845564a..0d60b6c 100644 --- a/examples/resources/artifactapi_remote_github_alpine/main.tf +++ b/examples/resources/artifactapi_remote_github_alpine/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { artifactapi = { - source = "git.unkin.net/unkin/artifactapi" + source = "artifactapi.example.com/terraform-unkin/artifactapi" version = "0.0.1" } } diff --git a/examples/resources/artifactapi_remote_github_deb/main.tf b/examples/resources/artifactapi_remote_github_deb/main.tf index 5c30f21..41da707 100644 --- a/examples/resources/artifactapi_remote_github_deb/main.tf +++ b/examples/resources/artifactapi_remote_github_deb/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { artifactapi = { - source = "git.unkin.net/unkin/artifactapi" + source = "artifactapi.example.com/terraform-unkin/artifactapi" version = "0.0.1" } } diff --git a/examples/resources/artifactapi_remote_github_rpm/main.tf b/examples/resources/artifactapi_remote_github_rpm/main.tf index 7aa6fb0..9aef7c4 100644 --- a/examples/resources/artifactapi_remote_github_rpm/main.tf +++ b/examples/resources/artifactapi_remote_github_rpm/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { artifactapi = { - source = "git.unkin.net/unkin/artifactapi" + source = "artifactapi.example.com/terraform-unkin/artifactapi" version = "0.0.1" } } diff --git a/examples/resources/artifactapi_remote_goproxy/main.tf b/examples/resources/artifactapi_remote_goproxy/main.tf index 5dcb686..d69449e 100644 --- a/examples/resources/artifactapi_remote_goproxy/main.tf +++ b/examples/resources/artifactapi_remote_goproxy/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { artifactapi = { - source = "git.unkin.net/unkin/artifactapi" + source = "artifactapi.example.com/terraform-unkin/artifactapi" version = "0.0.1" } } diff --git a/examples/resources/artifactapi_remote_helm/main.tf b/examples/resources/artifactapi_remote_helm/main.tf index 308182c..f18698b 100644 --- a/examples/resources/artifactapi_remote_helm/main.tf +++ b/examples/resources/artifactapi_remote_helm/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { artifactapi = { - source = "git.unkin.net/unkin/artifactapi" + source = "artifactapi.example.com/terraform-unkin/artifactapi" version = "0.0.1" } } diff --git a/examples/resources/artifactapi_remote_npm/main.tf b/examples/resources/artifactapi_remote_npm/main.tf index 8ed4ae1..766503c 100644 --- a/examples/resources/artifactapi_remote_npm/main.tf +++ b/examples/resources/artifactapi_remote_npm/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { artifactapi = { - source = "git.unkin.net/unkin/artifactapi" + source = "artifactapi.example.com/terraform-unkin/artifactapi" version = "0.0.1" } } diff --git a/examples/resources/artifactapi_remote_puppet/main.tf b/examples/resources/artifactapi_remote_puppet/main.tf index 69e3795..39cf1cf 100644 --- a/examples/resources/artifactapi_remote_puppet/main.tf +++ b/examples/resources/artifactapi_remote_puppet/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { artifactapi = { - source = "git.unkin.net/unkin/artifactapi" + source = "artifactapi.example.com/terraform-unkin/artifactapi" version = "0.0.1" } } diff --git a/examples/resources/artifactapi_remote_pypi/main.tf b/examples/resources/artifactapi_remote_pypi/main.tf index ece1033..e85f904 100644 --- a/examples/resources/artifactapi_remote_pypi/main.tf +++ b/examples/resources/artifactapi_remote_pypi/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { artifactapi = { - source = "git.unkin.net/unkin/artifactapi" + source = "artifactapi.example.com/terraform-unkin/artifactapi" version = "0.0.1" } } diff --git a/examples/resources/artifactapi_remote_rpm/main.tf b/examples/resources/artifactapi_remote_rpm/main.tf index 8a26f4f..8c41e85 100644 --- a/examples/resources/artifactapi_remote_rpm/main.tf +++ b/examples/resources/artifactapi_remote_rpm/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { artifactapi = { - source = "git.unkin.net/unkin/artifactapi" + source = "artifactapi.example.com/terraform-unkin/artifactapi" version = "0.0.1" } } diff --git a/examples/resources/artifactapi_remote_terraform/main.tf b/examples/resources/artifactapi_remote_terraform/main.tf index 4d085d9..3da3ebe 100644 --- a/examples/resources/artifactapi_remote_terraform/main.tf +++ b/examples/resources/artifactapi_remote_terraform/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { artifactapi = { - source = "git.unkin.net/unkin/artifactapi" + source = "artifactapi.example.com/terraform-unkin/artifactapi" version = "0.0.1" } } diff --git a/examples/resources/artifactapi_virtual/main.tf b/examples/resources/artifactapi_virtual/main.tf index 4c68d0b..468a03f 100644 --- a/examples/resources/artifactapi_virtual/main.tf +++ b/examples/resources/artifactapi_virtual/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { artifactapi = { - source = "git.unkin.net/unkin/artifactapi" + source = "artifactapi.example.com/terraform-unkin/artifactapi" version = "0.0.1" } }