Skip to content

Commit

Permalink
Updating documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Will committed Dec 21, 2022
1 parent 80a8234 commit 0b2d3a9
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 24 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
TEST?=$$(go list ./... | grep -v 'vendor')
HOSTNAME=hashicorp.com
NAMESPACE=wdew
NAMESPACE=dewhurstwill
NAME=whatsmyip
BINARY=terraform-provider-${NAME}
VERSION=1.0.1
VERSION=1.0.3
OS_ARCH=darwin_arm64

default: install
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.2
1.0.3
24 changes: 13 additions & 11 deletions docs/data-sources/whatsmyip.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "whatsmyip Data Source - whatsmyip"
page_title: "What's my IP"
subcategory: ""
description: |-
---

# whatsmyip (Data Source)
# Example

```hcl
provider "whatsmyip" {}
data "whatsmyip" "public_ip" {}
output "value" {
value = data.whatsmyip.public_ip
}
```

### Attributes

<!-- schema generated by tfplugindocs -->
## Schema

### Read-Only

- `cc` (String)
- `country` (String)
- `id` (String) The ID of this resource.
- `ip` (String)

- `ip` (String) Your current public IP
- `country` (String) IP country location in English language
- `cc` (String) Two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format

11 changes: 4 additions & 7 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "whatsmyip Provider"
page_title: "What's my IP"
subcategory: ""
description: |-
---

# whatsmyip Provider
# What's my IP

A terraform provider to get your public IP




<!-- schema generated by tfplugindocs -->
## Schema
> Service provided by [myip.com](https://www.myip.com/)
4 changes: 2 additions & 2 deletions examples/main.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
terraform {
required_providers {
whatsmyip = {
version = "0.0.1"
source = "hashicorp.com/wdew/whatsmyip"
version = "1.0.3"
source = "dewhurstwill/whatsmyip"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion terraform-bundle.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ terraform {
}

providers {
whatsmyip = ["1.0.2"]
whatsmyip = ["1.0.3"]
}

0 comments on commit 0b2d3a9

Please sign in to comment.