diff --git a/Makefile b/Makefile
index 76e589da..d692ac03 100644
--- a/Makefile
+++ b/Makefile
@@ -3,8 +3,10 @@ HOSTNAME=registry.terraform.io
NAMESPACE=infobloxopen
NAME=bloxone
BINARY=terraform-provider-${NAME}
-VERSION=0.1.0
+VERSION=1.0.0
OS_ARCH=linux_amd64
+MODULES_DIR=./modules
+TERRAFORM_DOCS_IMAGE=quay.io/terraform-docs/terraform-docs:0.17.0
default: install
@@ -22,8 +24,13 @@ test:
testacc:
TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout 120m -coverprofile testacc-cover.out
-gen:
+gen: modules-docs
go generate
- terraform-docs ./modules/bloxone_infra_host_aws
+
+modules-docs: $(MODULES_DIR)/*
+ @for d in $^ ; do \
+ echo "Generating documentation for module $$d" ; \
+ docker run --rm --volume "./$$d:/$$d" $(TERRAFORM_DOCS_IMAGE) markdown "/$$d" ; \
+ done
.PHONY: default test testacc gen
diff --git a/docs/guides/migration.md b/docs/guides/migration.md
index a376d7d6..e67b3ceb 100644
--- a/docs/guides/migration.md
+++ b/docs/guides/migration.md
@@ -27,9 +27,10 @@ terraform {
required_providers {
bloxone = {
source = "infobloxopen/bloxone"
- version = "0.1.0"
+ version = ">= 1.0.0"
}
}
+ required_version = ">= 1.5.0"
}
```
diff --git a/docs/guides/quickstart-dhcp.md b/docs/guides/quickstart-dhcp.md
index 1fa40e07..def339c0 100644
--- a/docs/guides/quickstart-dhcp.md
+++ b/docs/guides/quickstart-dhcp.md
@@ -20,11 +20,10 @@ terraform {
required_providers {
bloxone = {
source = "infobloxopen/bloxone"
- version = ">= 0.1.0"
+ version = ">= 1.0.0"
}
}
-
- required_version = ">= 1.0.0"
+ required_version = ">= 1.5.0"
}
provider "bloxone" {
diff --git a/docs/guides/quickstart-dns.md b/docs/guides/quickstart-dns.md
index dce26902..9f6ec60a 100644
--- a/docs/guides/quickstart-dns.md
+++ b/docs/guides/quickstart-dns.md
@@ -20,11 +20,10 @@ terraform {
required_providers {
bloxone = {
source = "infobloxopen/bloxone"
- version = ">= 0.1.0"
+ version = ">= 1.0.0"
}
}
-
- required_version = ">= 1.0.0"
+ required_version = ">= 1.5.0"
}
provider "bloxone" {
diff --git a/modules/bloxone_infra_host_aws/README.md b/modules/bloxone_infra_host_aws/README.md
index 5032ded4..726db88e 100644
--- a/modules/bloxone_infra_host_aws/README.md
+++ b/modules/bloxone_infra_host_aws/README.md
@@ -34,14 +34,16 @@ module "bloxone_infra_host_aws" {
| Name | Version |
|------|---------|
-| [terraform](#requirement\_terraform) | >= 1.0 |
+| [terraform](#requirement\_terraform) | >= 1.5.0 |
+| [aws](#requirement\_aws) | >= 5.0.0 |
+| [bloxone](#requirement\_bloxone) | >= 1.0.0 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | n/a |
-| [bloxone](#provider\_bloxone) | n/a |
+| [aws](#provider\_aws) | >= 5.0.0 |
+| [bloxone](#provider\_bloxone) | >= 1.0.0 |
| [random](#provider\_random) | n/a |
## Resources
diff --git a/modules/bloxone_infra_host_aws/versions.tf b/modules/bloxone_infra_host_aws/versions.tf
index 4c3ab161..b2a097c1 100644
--- a/modules/bloxone_infra_host_aws/versions.tf
+++ b/modules/bloxone_infra_host_aws/versions.tf
@@ -1,11 +1,13 @@
terraform {
- required_version = ">= 1.0"
+ required_version = ">= 1.5.0"
required_providers {
bloxone = {
source = "infobloxopen/bloxone"
+ version = ">= 1.0.0"
}
aws = {
source = "hashicorp/aws"
+ version = ">= 5.0.0"
}
}
}
diff --git a/templates/guides/migration.md b/templates/guides/migration.md
index a376d7d6..e67b3ceb 100644
--- a/templates/guides/migration.md
+++ b/templates/guides/migration.md
@@ -27,9 +27,10 @@ terraform {
required_providers {
bloxone = {
source = "infobloxopen/bloxone"
- version = "0.1.0"
+ version = ">= 1.0.0"
}
}
+ required_version = ">= 1.5.0"
}
```
diff --git a/templates/guides/quickstart-dhcp.md b/templates/guides/quickstart-dhcp.md
index 1fa40e07..def339c0 100644
--- a/templates/guides/quickstart-dhcp.md
+++ b/templates/guides/quickstart-dhcp.md
@@ -20,11 +20,10 @@ terraform {
required_providers {
bloxone = {
source = "infobloxopen/bloxone"
- version = ">= 0.1.0"
+ version = ">= 1.0.0"
}
}
-
- required_version = ">= 1.0.0"
+ required_version = ">= 1.5.0"
}
provider "bloxone" {
diff --git a/templates/guides/quickstart-dns.md b/templates/guides/quickstart-dns.md
index dce26902..9f6ec60a 100644
--- a/templates/guides/quickstart-dns.md
+++ b/templates/guides/quickstart-dns.md
@@ -20,11 +20,10 @@ terraform {
required_providers {
bloxone = {
source = "infobloxopen/bloxone"
- version = ">= 0.1.0"
+ version = ">= 1.0.0"
}
}
-
- required_version = ">= 1.0.0"
+ required_version = ">= 1.5.0"
}
provider "bloxone" {