diff --git a/.github/settings.yml b/.github/settings.yml
new file mode 100644
index 0000000..4616f65
--- /dev/null
+++ b/.github/settings.yml
@@ -0,0 +1,20 @@
+# The settings are inherited from common repository repo-settings (same file name and location)
+# You can append settings that are deeply-merged with the inherited settings.
+#
+# When you have installed the GitHub App "repo-settings" in this repository,
+# any change of this settings.yml file is detected by the GitHub App and
+# the settings of this repository are updated immediately.
+#
+_extends: repo-settings
+
+# repo-specific settings
+#
+repository:
+ # See https://terraform-ibm-modules.github.io/documentation/#/implementation-guidelines?id=module-names-and-descriptions
+
+ # By changing this field, you rename the repository.
+ name: "terraform-ibm-database"
+
+ # The description is displayed under the repository name on the
+ # organization page and in the 'About' section of the repository.
+ description: "Terraform modules to create IBM Cloud databases."
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..218b912
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,17 @@
+name: CI-Pipeline
+
+# Controls when the workflow will run
+on:
+ # Triggers the workflow on push or pull request events but only for the main branch
+ push:
+ branches: [main]
+ pull_request:
+ branches: [main]
+
+ # Allows you to run this workflow manually from the Actions tab
+ workflow_dispatch:
+
+jobs:
+ call-terraform-ci-pipeline:
+ uses: terraform-ibm-modules/common-pipeline-assets/.github/workflows/common-terraform-module-ci.yml@v1.5.0
+ secrets: inherit
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..3df7fc7
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,17 @@
+name: Release-Pipeline
+
+on:
+ workflow_run:
+ workflows: [CI-Pipeline]
+ branches: [main]
+ types:
+ - completed
+
+ # Allows you to run this workflow manually from the Actions tab
+ workflow_dispatch:
+
+jobs:
+ call-terraform-release-pipeline:
+ if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') }}
+ uses: terraform-ibm-modules/common-pipeline-assets/.github/workflows/common-release.yml@v1.5.0
+ secrets: inherit
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
deleted file mode 100644
index d9471dd..0000000
--- a/.github/workflows/test.yml
+++ /dev/null
@@ -1,48 +0,0 @@
-name: "test-scheduler"
-
-on:
- workflow_dispatch:
-
-
- schedule:
- - cron: '*/30 5 * * *' # triggers the workflow every day at 5:30 UTC
-
-# ┌───────────── minute (0 - 59)
-# │ ┌───────────── hour (0 - 23)
-# │ │ ┌───────────── day of the month (1 - 31)
-# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
-# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
-# │ │ │ │ │
-# │ │ │ │ │
-# │ │ │ │ │
-# * * * * *
-
-jobs:
- continuous-tests:
- name: Run Test cases
- runs-on: ubuntu-latest
- steps:
- -
- name: checkout # action checks-out your repository under $GITHUB_WORKSPACE, so your workflow can access it.
- uses: actions/checkout@v2
-
- - uses: actions/setup-go@v2
- with:
- go-version: 1.16
-
- - name: Install dependencies
- run: |
- go get -u "github.com/gruntwork-io/terratest/modules/random"
- go get -u "github.com/gruntwork-io/terratest/modules/terraform"
-
- -
- name: setup terraform
- uses: hashicorp/setup-terraform@v1 # sets up Terraform CLI in your GitHub Actions workflow
- with:
- terraform_version: 0.13.0
-
- - name: Run Test
- working-directory: test
- run: go test -v ./...
- env:
- IC_API_KEY: ${{ secrets.ACCESS_KEY }}
diff --git a/.github/workflows/validate_terraform.yml b/.github/workflows/validate_terraform.yml
deleted file mode 100644
index 33cb706..0000000
--- a/.github/workflows/validate_terraform.yml
+++ /dev/null
@@ -1,39 +0,0 @@
-name: ci
-
-on: [ push, pull_request ]
-
-jobs:
- terraform_validate:
- runs-on: ubuntu-latest
- steps:
- - name: prepare
- # tfswitch command line tool lets you switch between different versions of terraform.
- # If you do not have a particular version of terraform installed, tfswitch will download the version you desire.
- run: |
- echo "$HOME/.bin" >> $GITHUB_PATH
- curl -L https://raw.githubusercontent.com/warrensbox/terraform-switcher/release/install.sh > /tmp/tfswitch-install.sh
- chmod +x /tmp/tfswitch-install.sh
- /tmp/tfswitch-install.sh -b $HOME/.bin
- -
- name: checkout # action checks-out your repository under $GITHUB_WORKSPACE, so your workflow can access it.
- uses: actions/checkout@v2
- -
- name: setup terraform
- uses: hashicorp/setup-terraform@v1 # sets up Terraform CLI in your GitHub Actions workflow
- with:
- terraform_version: 0.13.0
- -
- name: Install pre-commit
- run: pip install pre-commit
- -
- name: Run pre-commit command
- run: pre-commit run -a
- -
- name: terraform init # initialize a working directory containing Terraform configuration files.
- run: find . -type f -name "*.tf" -exec dirname {} \;|sort -u | while read m; do (cd "$m" && echo "$m - init" && terraform init -input=false -backend=false) || exit 1; done
- -
- name: terraform validate # validates the configuration files in a directory
- run: find . -name ".terraform" -prune -o -type f -name "*.tf" -exec dirname {} \;|sort -u | while read m; do (cd "$m" && echo "$m - validate" && terraform validate && echo "√ $m") || exit 1 ; done
- -
- name: terraform fmt check # perform format checks
- run: terraform fmt -list=true -write=false -check -recursive
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
index 6bd45e4..0136d95 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,13 +1,56 @@
# Local .terraform directories
**/.terraform/*
+
# .tfstate files
*.tfstate
*.tfstate.*
*.terraform.lock.hcl
+
# Crash log files
crash.log
+
# Exclude all .tfvars files, which are likely to contain sentitive data, such as
# password, private keys, and other secrets. These should not be part of version
# control as they are data points which are potentially sensitive and subject
# to change depending on the environment.
#
+*.tfvars
+
+# Ignore files for local testing
+test.tf
+
+# Ignore override files as they are usually used to override resources locally and so
+# are not checked in
+override.tf
+override.tf.json
+*_override.tf
+*_override.tf.json
+
+# Include override files you do wish to add to version control using negated pattern
+#
+# !example_override.tf
+
+# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
+# example: *tfplan*
+
+# Ignore CLI configuration files
+.terraformrc
+terraform.rc
+
+# Ignore .tfsec
+.tfsec/
+
+# Ignore brew lock
+Brewfile.lock.json
+
+# Ignore Mac files
+.DS_Store
+
+# Ignore IDE files
+.idea/
+
+# Node modules
+/node_modules
+
+# Ignore .vscode files
+.vscode/
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..8d16b96
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "common-dev-assets"]
+ path = common-dev-assets
+ url = https://github.com/terraform-ibm-modules/common-dev-assets
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
deleted file mode 100644
index 89fca54..0000000
--- a/.pre-commit-config.yaml
+++ /dev/null
@@ -1,17 +0,0 @@
-default_stages: [commit]
-# TFLint : Checks for possible errors, best practices, etc. It will also help identify provider-specific issues before errors occur during a Terraform run.
-# TFSec : Uses static analysis of your Terraform templates to spot potential security issues. TFSec checks for sensitive data inclusion
-# Terraform Docs : Utility to automatically generate documentation from Terraform modules and base repositories in various output formats.
-# Terraform Fmt : Used to rewrite Terraform configuration files to a canonical format and style.
-# Terraform Validate : Validates the configuration files in a directory, referring only to the configuration and not accessing any remote services such as remote state, provider APIs, etc
-repos:
-- repo: git://github.com/antonbabenko/pre-commit-terraform
- rev: v1.45.0
- hooks:
- - id: terraform_fmt
-- repo: git://github.com/pre-commit/pre-commit-hooks
- rev: v3.4.0
- hooks:
- - id: check-merge-conflict
- - id: trailing-whitespace
- - id: detect-private-key
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 120000
index 0000000..9d1e8bd
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1 @@
+./common-dev-assets/module-assets/.pre-commit-config.yaml
\ No newline at end of file
diff --git a/.releaserc b/.releaserc
new file mode 100644
index 0000000..708916f
--- /dev/null
+++ b/.releaserc
@@ -0,0 +1,15 @@
+{
+ "tagFormat": "v${version}",
+ "branches": ["main"],
+ "plugins": [
+ "@semantic-release/commit-analyzer",
+ "@semantic-release/release-notes-generator",
+ "@semantic-release/github",
+ ["@semantic-release/git", {
+ "assets": "false"
+ }],
+ ["@semantic-release/exec", {
+ "successCmd": "echo \"SEMVER_VERSION=${nextRelease.version}\" >> $GITHUB_ENV"
+ }]
+ ]
+}
diff --git a/.secrets.baseline b/.secrets.baseline
new file mode 100644
index 0000000..8246a38
--- /dev/null
+++ b/.secrets.baseline
@@ -0,0 +1,85 @@
+{
+ "exclude": {
+ "files": "go.sum|^.secrets.baseline$",
+ "lines": null
+ },
+ "generated_at": "2022-11-28T12:40:07Z",
+ "plugins_used": [
+ {
+ "name": "AWSKeyDetector"
+ },
+ {
+ "name": "ArtifactoryDetector"
+ },
+ {
+ "name": "AzureStorageKeyDetector"
+ },
+ {
+ "base64_limit": 4.5,
+ "name": "Base64HighEntropyString"
+ },
+ {
+ "name": "BasicAuthDetector"
+ },
+ {
+ "name": "BoxDetector"
+ },
+ {
+ "name": "CloudantDetector"
+ },
+ {
+ "ghe_instance": "github.ibm.com",
+ "name": "GheDetector"
+ },
+ {
+ "name": "GitHubTokenDetector"
+ },
+ {
+ "hex_limit": 3,
+ "name": "HexHighEntropyString"
+ },
+ {
+ "name": "IbmCloudIamDetector"
+ },
+ {
+ "name": "IbmCosHmacDetector"
+ },
+ {
+ "name": "JwtTokenDetector"
+ },
+ {
+ "keyword_exclude": null,
+ "name": "KeywordDetector"
+ },
+ {
+ "name": "MailchimpDetector"
+ },
+ {
+ "name": "NpmDetector"
+ },
+ {
+ "name": "PrivateKeyDetector"
+ },
+ {
+ "name": "SlackDetector"
+ },
+ {
+ "name": "SoftlayerDetector"
+ },
+ {
+ "name": "SquareOAuthDetector"
+ },
+ {
+ "name": "StripeDetector"
+ },
+ {
+ "name": "TwilioKeyDetector"
+ }
+ ],
+ "results": {},
+ "version": "0.13.1+ibm.55.dss",
+ "word_list": {
+ "file": null,
+ "hash": null
+ }
+}
diff --git a/Brewfile b/Brewfile
new file mode 120000
index 0000000..67cb442
--- /dev/null
+++ b/Brewfile
@@ -0,0 +1 @@
+./common-dev-assets/module-assets/Brewfile
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
deleted file mode 100644
index 675eb43..0000000
--- a/CHANGELOG.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# Changelog
-
-All notable changes to this project will be documented in this file.
-
-Extending the adopted spec, each change should have a link to its
-corresponding pull request appended.
-
-## [1.0.0] - 2020-09-10
-
-This is the initial release of the module, with support for IBM-Cloud databases
\ No newline at end of file
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
deleted file mode 100644
index b7b4811..0000000
--- a/CONTRIBUTING.md
+++ /dev/null
@@ -1,30 +0,0 @@
-# Contributing
-
-This document provides guidelines for contributing to the module. When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
-
-## File structure
-
-The project has the following folders and files:
-
- ```
-├── README.md
-├── modules/
-│ ├── nestedA/
-│ │ ├── README.md
-│ │ ├── variables.tf
-│ │ ├── main.tf
-│ │ ├── outputs.tf
-│ ├── nestedB/
-│ ├── .../
-├── examples/
-│ ├── exampleA/
-│ │ ├── main.tf
-│ ├── exampleB/
-│ ├── .../
-
-```
-
-
-
-Please make sure you are changes are inline with directory structure mentined as above.
-
diff --git a/Makefile b/Makefile
new file mode 120000
index 0000000..b753a4a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1 @@
+./common-dev-assets/module-assets/Makefile
\ No newline at end of file
diff --git a/README.md b/README.md
index f76050a..8734e0b 100644
--- a/README.md
+++ b/README.md
@@ -29,7 +29,7 @@ module "database_rabbitmq" {
name = var.name
plan = var.plan
location = var.location
- adminpassword = var.adminpassword
+ adminpassword = var.adminpassword # pragma: allowlist secret
database_version = var.database_version
memory_allocation = var.memory_allocation
disk_allocation = var.disk_allocation
@@ -69,57 +69,26 @@ module "database_rabbitmq" {
```
-#### NOTE: To make use of a particular version of module, Set the `version` argument to respective module version.
+#### NOTE:
-## Requirements
+To make use of a particular version of module, Set the `version` argument to respective module version.
-### Terraform plugins
+## Modules
-- [Terraform](https://www.terraform.io/downloads.html) >= 0.13
-- [terraform-provider-ibm](https://github.com/IBM-Cloud/terraform-provider-ibm)
+No modules.
-## Install
+## Resources
-### Terraform
+No resources.
-Be sure you have the correct Terraform version (>= 0.13), you can choose the binary here:
-- https://releases.hashicorp.com/terraform/
+## Inputs
-### Terraform plugins
+No inputs.
-Be sure you have the compiled plugins on $HOME/.terraform.d/plugins/
+## Outputs
-- [terraform-provider-ibm](https://github.com/IBM-Cloud/terraform-provider-ibm)
+No outputs.
-## How to input varaible values through a file
-
-To review the plan for the configuration defined (no resources actually provisioned)
-
-`terraform plan -var-file=./input.tfvars`
-
-To execute and start building the configuration defined in the plan (provisions resources)
-
-`terraform apply -var-file=./input.tfvars`
-
-To destroy the Database resources
-
-`terraform destroy -var-file=./input.tfvars`
-
-All optional parameters by default will be set to null in respective example's varaible.tf file. If user wants to configure any optional paramter he has overwrite the default value.
-
-## Note
-
-All optional fields should be given value `null` in respective resource varaible.tf file. User can configure the same by overwriting with appropriate values.
-
-### Pre-commit Hooks
-
-Run the following command to execute the pre-commit hooks defined in `.pre-commit-config.yaml` file
-
- `pre-commit run -a`
-
-We can install pre-coomit tool using
-
- `pip install pre-commit`
## References
[IBM-Cloud Elastic Search Database docs](https://cloud.ibm.com/docs/databases-for-elasticsearch?topic=databases-for-elasticsearch-getting-started)
@@ -133,3 +102,9 @@ We can install pre-coomit tool using
[IBM-Cloud Messages for Rabbitmq Database docs](https://cloud.ibm.com/docs/messages-for-rabbitmq?topic=messages-for-rabbitmq-getting-started)
[IBM-Cloud Redis Database docs](https://cloud.ibm.com/docs/databases-for-redis?topic=databases-for-redis-getting-started)
+
+## Contributing
+
+You can report issues and request features for this module in the [terraform-ibm-issue-tracker](https://github.com/terraform-ibm-modules/terraform-ibm-issue-tracker/issues) repo. See [Report an issue or request a feature](https://github.com/terraform-ibm-modules/.github/blob/main/.github/SUPPORT.md).
+
+To set up your local development environment, see [Local development setup](https://terraform-ibm-modules.github.io/documentation/#/local-dev-setup) in the project documentation.
diff --git a/ci b/ci
new file mode 120000
index 0000000..f9d799a
--- /dev/null
+++ b/ci
@@ -0,0 +1 @@
+common-dev-assets/module-assets/ci
\ No newline at end of file
diff --git a/commitlint.config.js b/commitlint.config.js
new file mode 100644
index 0000000..87986e3
--- /dev/null
+++ b/commitlint.config.js
@@ -0,0 +1,5 @@
+module.exports = {
+ extends: [
+ '@commitlint/config-angular'
+ ]
+}
diff --git a/common-dev-assets b/common-dev-assets
new file mode 160000
index 0000000..12e7798
--- /dev/null
+++ b/common-dev-assets
@@ -0,0 +1 @@
+Subproject commit 12e7798aa4a9d9c30896380756b3a08186b351fa
diff --git a/examples/complete-elasticsearch/README.md b/examples/complete-elasticsearch/README.md
index e1fa0ac..42d05d0 100644
--- a/examples/complete-elasticsearch/README.md
+++ b/examples/complete-elasticsearch/README.md
@@ -1,6 +1,6 @@
# Module database_elasticsearch
-This example is used to provision databases for elasticsearch Database on IBM Cloud Infrastructure.
+This example is used to provision databases for elasticsearch database on IBM Cloud Infrastructure.
## Example Usage
```
@@ -16,7 +16,6 @@ module "database_elasticsearch" {
name = var.name
plan = var.plan
location = var.location
- adminpassword = var.adminpassword
database_version = var.database_version
memory_allocation = var.memory_allocation
disk_allocation = var.disk_allocation
@@ -55,69 +54,95 @@ module "database_elasticsearch" {
}
```
+## Requirements
+
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [ibm](#requirement\_ibm) | 1.41.1 |
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [ibm_resource_group.resource_group](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/data-sources/resource_group) | data source |
+
+## Modules
+
+| Name | Source | Version |
+|------|--------|---------|
+| [database\_elasticsearch](#module\_database\_elasticsearch) | ../../modules/elasticsearch | n/a |
+
+## Requirements
+
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [ibm](#requirement\_ibm) | 1.41.1 |
+
+## Modules
+
+| Name | Source | Version |
+|------|--------|---------|
+| [database\_elasticsearch](#module\_database\_elasticsearch) | ../../modules/elasticsearch | n/a |
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [ibm_resource_group.resource_group](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/data-sources/resource_group) | data source |
+
## Inputs
-| Name | Description | Type | Default | Required |
-|---------------------------------------|-------------------------------------------------------------------|----------|---------|----------|
-| resource_group | Resource Group Name. | string | n/a | yes |
-| name | Resource instance name for example, my Database instance. | string | n/a | yes |
-| plan | The plan type of the Database instance. | string | standard| yes |
-| location | The location or the region in which Database instance exists. | string | n/a | yes |
-| adminpassword | The admin user password for the instance. | string | n/a | no |
-| database_version | The database version to provision if specified. | string | n/a | no |
-| memory_allocation | Memory allocation required for cluster. | number | n/a | no |
-| disk_allocation | Disk allocation required for cluster | number | n/a | no |
-| cpu_allocation | CPU allocation required for cluster. | number | n/a | no |
-| service_endpoints | Types of the service endpoints. | string | public | no |
-| backup_id | The CRN of backup source database. | string | n/a | no |
-| remote_leader_id | The CRN of leader database. | string | n/a | no |
-| kms_instance | The CRN of Key protect instance. | string | n/a | no |
-| disk_encryption_key | The CRN of Key protect key | string | n/a | no |
-| backup_encryption_key | backup_encryption_key | string | n/a | no |
-| tags | Tags for the database | set(str) | n/a | no |
-| point_in_time_recovery_deployment_id |The CRN of source instance. | string | n/a | no |
-| point_in_time_recovery_time | The point in time recovery time stamp of the deployed instance | string | n/a | no |
-| users | Database Users. It is set of username and passwords | set(obj) | n/a | no |
-| whitelist | Database Whitelist It is set of IP Address and description. | set(obj) | n/a | no |
-| cpu_rate_increase_percent | Auto Scaling CPU Rate: Increase Percent | number | n/a | no |
-| cpu_rate_limit_count_per_member | Auto Scaling CPU Rate: Limit count per number. | number | n/a | no |
-| cpu_rate_period_seconds | Auto Scaling CPU Rate: Period Seconds | number | n/a | no |
-| cpu_rate_units | Auto Scaling CPU Rate: Units. | string | n/a | no |
-| disk_capacity_enabled | Auto Scaling Disk Scalar: Capacity Enabled. | bool | n/a | no |
-| disk_free_space_less_than_percent | Auto Scaling Disk Scalar: Capacity Free Space Less Than Percent | number | n/a | no |
-| disk_io_above_percent | Auto Scaling Disk Scalar: IO Utilization Above Percent. | number | n/a | no |
-| disk_io_enabled | Auto Scaling Disk Scalar: IO Utilization Enabled. | bool | n/a | no |
-| disk_io_over_period | Auto Scaling Disk Scalar: IO Utilization Over Period | string | n/a | no |
-| disk_rate_increase_percent | Auto Scaling Disk Rate: Increase Percent | number | n/a | no |
-| disk_rate_limit_mb_per_member | Auto Scaling Disk Rate: Limit mb per member | number | n/a | no |
-| disk_rate_period_seconds | Auto Scaling Disk Rate: Period Seconds | number | n/a | no |
-| disk_rate_units | Auto Scaling Disk Disk: Units. | string | n/a | no |
-| memory_io_above_percent | Auto Scaling Memory Scalar: IO Utilization Above Percent. | number | n/a | no |
-| memory_io_enabled | Auto Scaling Memory Scalar: IO Utilization Enabled. | bool | n/a | no |
-| memory_io_over_period | Auto Scaling Memory Scalar: IO Utilization Over Period | string | n/a | no |
-| memory_rate_increase_percent | Auto Scaling Memory Rate: Increase Percent | number | n/a | no |
-| memory_rate_limit_mb_per_member | Auto Scaling Memory Rate: Limit mb per member | number | n/a | no |
-| memory_rate_period_seconds | Auto Scaling Memory Rate: Period Seconds. | number | n/a | no |
-| memory_rate_units | Auto Scaling Memory Rate: Units. | string | n/a | no |
-
-## Users Inputs
-| Name | Description | Type | Default | Required |
-|--------------------------------------|-----------------------|--------|---------|----------|
-| name | Name Of the User | string | n/a | no |
-| password | User Password | string | n/a | no |
-
-## Whitelist Inputs
-
-| Name | Description | Type | Default | Required |
-|-----------------------------------------|---------------------------------------|--------|---------|----------|
-| address | Whitelist IP address in CIDR notation | string | n/a | no |
-| description | Unique white list description | string | n/a | no |
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [adminpassword](#input\_adminpassword) | The admin user password for the instance | `string` | `null` | no |
+| [backup\_encryption\_key](#input\_backup\_encryption\_key) | The Backup Encryption Key CRN | `string` | `null` | no |
+| [backup\_id](#input\_backup\_id) | The CRN of backup source database | `string` | `null` | no |
+| [cpu\_allocation](#input\_cpu\_allocation) | CPU allocation required for cluster | `number` | `null` | no |
+| [cpu\_rate\_increase\_percent](#input\_cpu\_rate\_increase\_percent) | Auto Scaling CPU Rate: Increase Percent | `number` | `null` | no |
+| [cpu\_rate\_limit\_count\_per\_member](#input\_cpu\_rate\_limit\_count\_per\_member) | Auto Scaling CPU Rate: Limit count per number | `number` | `null` | no |
+| [cpu\_rate\_period\_seconds](#input\_cpu\_rate\_period\_seconds) | Auto Scaling CPU Rate: Period Seconds | `number` | `null` | no |
+| [cpu\_rate\_units](#input\_cpu\_rate\_units) | Auto Scaling CPU Rate: Units | `string` | `null` | no |
+| [database\_version](#input\_database\_version) | The database version to provision if specified | `string` | `null` | no |
+| [disk\_allocation](#input\_disk\_allocation) | Disk allocation required for cluster | `number` | `null` | no |
+| [disk\_capacity\_enabled](#input\_disk\_capacity\_enabled) | Auto Scaling Disk Scalar: Capacity Enabled | `bool` | `null` | no |
+| [disk\_encryption\_key](#input\_disk\_encryption\_key) | The CRN of Key protect key | `string` | `null` | no |
+| [disk\_free\_space\_less\_than\_percent](#input\_disk\_free\_space\_less\_than\_percent) | Auto Scaling Disk Scalar: Capacity Free Space Less Than Percent | `number` | `null` | no |
+| [disk\_io\_above\_percent](#input\_disk\_io\_above\_percent) | Auto Scaling Disk Scalar: IO Utilization Above Percent | `number` | `null` | no |
+| [disk\_io\_enabled](#input\_disk\_io\_enabled) | Auto Scaling Disk Scalar: IO Utilization Enabled | `bool` | `null` | no |
+| [disk\_io\_over\_period](#input\_disk\_io\_over\_period) | Auto Scaling Disk Scalar: IO Utilization Over Period | `string` | `null` | no |
+| [disk\_rate\_increase\_percent](#input\_disk\_rate\_increase\_percent) | Auto Scaling Disk Rate: Increase Percent | `number` | `null` | no |
+| [disk\_rate\_limit\_mb\_per\_member](#input\_disk\_rate\_limit\_mb\_per\_member) | Auto Scaling Disk Rate: Limit mb per member | `number` | `null` | no |
+| [disk\_rate\_period\_seconds](#input\_disk\_rate\_period\_seconds) | Auto Scaling Disk Rate: Period Seconds | `number` | `null` | no |
+| [disk\_rate\_units](#input\_disk\_rate\_units) | Auto Scaling Disk Rate: Units | `string` | `null` | no |
+| [kms\_instance](#input\_kms\_instance) | The CRN of Key protect instance | `string` | `null` | no |
+| [location](#input\_location) | The location or the region in which Database instance exists | `string` | n/a | yes |
+| [memory\_allocation](#input\_memory\_allocation) | Memory allocation required for cluster | `number` | `null` | no |
+| [memory\_io\_above\_percent](#input\_memory\_io\_above\_percent) | Auto Scaling Memory Scalar: IO Utilization Above Percent | `number` | `null` | no |
+| [memory\_io\_enabled](#input\_memory\_io\_enabled) | Auto Scaling Memory Scalar: IO Utilization Enabled | `bool` | `null` | no |
+| [memory\_io\_over\_period](#input\_memory\_io\_over\_period) | Auto Scaling Memory Scalar: IO Utilization Over Period | `string` | `null` | no |
+| [memory\_rate\_increase\_percent](#input\_memory\_rate\_increase\_percent) | Auto Scaling Memory Rate: Increase Percent | `number` | `null` | no |
+| [memory\_rate\_limit\_mb\_per\_member](#input\_memory\_rate\_limit\_mb\_per\_member) | Auto Scaling Memory Rate: Limit mb per member | `number` | `null` | no |
+| [memory\_rate\_period\_seconds](#input\_memory\_rate\_period\_seconds) | Auto Scaling Memory Rate: Period Seconds | `number` | `null` | no |
+| [memory\_rate\_units](#input\_memory\_rate\_units) | Auto Scaling Memory Rate: Units | `string` | `null` | no |
+| [name](#input\_name) | Resource instance name for example, my Database instance | `string` | n/a | yes |
+| [plan](#input\_plan) | The plan type of the Database instance | `string` | n/a | yes |
+| [point\_in\_time\_recovery\_deployment\_id](#input\_point\_in\_time\_recovery\_deployment\_id) | The CRN of source instance | `string` | `null` | no |
+| [point\_in\_time\_recovery\_time](#input\_point\_in\_time\_recovery\_time) | The point in time recovery time stamp of the deployed instance | `string` | `null` | no |
+| [remote\_leader\_id](#input\_remote\_leader\_id) | The CRN of leader database | `string` | `null` | no |
+| [resource\_group](#input\_resource\_group) | Resource Group Name | `string` | n/a | yes |
+| [service\_endpoints](#input\_service\_endpoints) | Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. | `string` | `null` | no |
+| [tags](#input\_tags) | Tags for the database | `set(string)` | `null` | no |
+| [users](#input\_users) | Database Users. It is set of username and passwords | `set(map(string))` | `null` | no |
+| [whitelist](#input\_whitelist) | Database Whitelist It is set of IP Address and description | `set(map(string))` | `null` | no |
-
+## Outputs
-NOTE: We can configure the list of users, whitelist by entering respective details in input.tfvars.
+No outputs.
+
## Usage
@@ -125,11 +150,12 @@ NOTE: We can configure the list of users, whitelist by entering respective detai
terraform init
```
```
-terraform plan -var-file="input.tfvars"
+terraform plan
```
```
-terraform apply -var-file="input.tfvars"
+terraform apply
```
-## Note
-All optional fields are given value `null` in varaible.tf file. User can configure the same by overwriting with appropriate values.
+## NOTE
+
+* If the following attributes `database_version`,`memory_allocation`,`disk_allocation`,`cpu_allocation` are provided with null values, then API will create a database with the default values. These default values which are provided by API may differ and are not maintained by terraform.
diff --git a/examples/complete-elasticsearch/input.tfvars b/examples/complete-elasticsearch/input.tfvars
index e9f880d..86a9816 100644
--- a/examples/complete-elasticsearch/input.tfvars
+++ b/examples/complete-elasticsearch/input.tfvars
@@ -4,10 +4,9 @@
###########################################################
users = [{
- name = "user123"
- password = "password12"
+ name = "user123"
}]
whitelist = [{
address = "172.168.1.1/32"
description = "desc"
-}]
\ No newline at end of file
+}]
diff --git a/examples/complete-elasticsearch/outputs.tf b/examples/complete-elasticsearch/outputs.tf
new file mode 100644
index 0000000..135186b
--- /dev/null
+++ b/examples/complete-elasticsearch/outputs.tf
@@ -0,0 +1,11 @@
+##############################################################################
+# Outputs
+##############################################################################
+
+#output "myoutput" {
+# description = "Description of my output"
+# value = "value"
+# depends_on = []
+#}
+
+##############################################################################
diff --git a/examples/complete-elasticsearch/provider.tf b/examples/complete-elasticsearch/provider.tf
index 138c7ae..6b6ef1b 100644
--- a/examples/complete-elasticsearch/provider.tf
+++ b/examples/complete-elasticsearch/provider.tf
@@ -6,4 +6,4 @@
provider "ibm" {
region = var.location
-}
\ No newline at end of file
+}
diff --git a/examples/complete-elasticsearch/variables.tf b/examples/complete-elasticsearch/variables.tf
index ba23915..e42facf 100644
--- a/examples/complete-elasticsearch/variables.tf
+++ b/examples/complete-elasticsearch/variables.tf
@@ -199,4 +199,4 @@ variable "memory_rate_units" {
default = null
type = string
description = "Auto Scaling Memory Rate: Units "
-}
\ No newline at end of file
+}
diff --git a/examples/complete-elasticsearch/versions.tf b/examples/complete-elasticsearch/versions.tf
index 7f1bcb7..d8fb741 100644
--- a/examples/complete-elasticsearch/versions.tf
+++ b/examples/complete-elasticsearch/versions.tf
@@ -3,10 +3,11 @@
# Copyright 2020 IBM
###########################################################
terraform {
- required_version = ">=0.13"
+ required_version = ">= 1.0.0"
required_providers {
ibm = {
- source = "IBM-Cloud/ibm"
+ source = "IBM-Cloud/ibm"
+ version = "1.41.1"
}
}
-}
\ No newline at end of file
+}
diff --git a/examples/complete-etcd/README.md b/examples/complete-etcd/README.md
index f54595f..9998d95 100644
--- a/examples/complete-etcd/README.md
+++ b/examples/complete-etcd/README.md
@@ -1,6 +1,6 @@
# Module database_etcd
-This example is used to provision databases for etcd Database on IBM Cloud Infrastructure.
+This example is used to provision databases for etcd database on IBM Cloud Infrastructure.
## Example Usage
```
@@ -16,7 +16,6 @@ module "database_etcd" {
name = var.name
plan = var.plan
location = var.location
- adminpassword = var.adminpassword
database_version = var.database_version
memory_allocation = var.memory_allocation
disk_allocation = var.disk_allocation
@@ -55,72 +54,95 @@ module "database_etcd" {
}
```
+## Requirements
+
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [ibm](#requirement\_ibm) | 1.41.1 |
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [ibm_resource_group.resource_group](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/data-sources/resource_group) | data source |
+
+## Modules
+
+| Name | Source | Version |
+|------|--------|---------|
+| [database\_etcd](#module\_database\_etcd) | ../../modules/etcd | n/a |
+
-## Inputs
+## Requirements
-| Name | Description | Type | Default | Required |
-|---------------------------------------|-------------------------------------------------------------------|----------|---------|----------|
-| resource_group | Resource Group Name. | string | n/a | yes |
-| name | Resource instance name for example, my Database instance. | string | n/a | yes |
-| plan | The plan type of the Database instance. | string | standard| yes |
-| location | The location or the region in which Database instance exists. | string | n/a | yes |
-| adminpassword | The admin user password for the instance. | string | n/a | no |
-| database_version | The database version to provision if specified. | string | n/a | no |
-| memory_allocation | Memory allocation required for cluster. | number | n/a | no |
-| disk_allocation | Disk allocation required for cluster | number | n/a | no |
-| cpu_allocation | CPU allocation required for cluster. | number | n/a | no |
-| service_endpoints | Types of the service endpoints. | string | public | no |
-| backup_id | The CRN of backup source database. | string | n/a | no |
-| remote_leader_id | The CRN of leader database. | string | n/a | no |
-| kms_instance | The CRN of Key protect instance. | string | n/a | no |
-| disk_encryption_key | The CRN of Key protect key | string | n/a | no |
-| backup_encryption_key | backup_encryption_key | string | n/a | no |
-| tags | Tags for the database | set(str) | n/a | no |
-| point_in_time_recovery_deployment_id |The CRN of source instance. | string | n/a | no |
-| point_in_time_recovery_time | The point in time recovery time stamp of the deployed instance | string | n/a | no |
-| users | Database Users. It is set of username and passwords | set(obj) | n/a | no |
-| whitelist | Database Whitelist It is set of IP Address and description. | set(obj) | n/a | no |
-| cpu_rate_increase_percent | Auto Scaling CPU Rate: Increase Percent | number | n/a | no |
-| cpu_rate_limit_count_per_member | Auto Scaling CPU Rate: Limit count per number. | number | n/a | no |
-| cpu_rate_period_seconds | Auto Scaling CPU Rate: Period Seconds | number | n/a | no |
-| cpu_rate_units | Auto Scaling CPU Rate: Units. | string | n/a | no |
-| disk_capacity_enabled | Auto Scaling Disk Scalar: Capacity Enabled. | bool | n/a | no |
-| disk_free_space_less_than_percent | Auto Scaling Disk Scalar: Capacity Free Space Less Than Percent | number | n/a | no |
-| disk_io_above_percent | Auto Scaling Disk Scalar: IO Utilization Above Percent. | number | n/a | no |
-| disk_io_enabled | Auto Scaling Disk Scalar: IO Utilization Enabled. | bool | n/a | no |
-| disk_io_over_period | Auto Scaling Disk Scalar: IO Utilization Over Period | string | n/a | no |
-| disk_rate_increase_percent | Auto Scaling Disk Rate: Increase Percent | number | n/a | no |
-| disk_rate_limit_mb_per_member | Auto Scaling Disk Rate: Limit mb per member | number | n/a | no |
-| disk_rate_period_seconds | Auto Scaling Disk Rate: Period Seconds | number | n/a | no |
-| disk_rate_units | Auto Scaling Disk Disk: Units. | string | n/a | no |
-| memory_io_above_percent | Auto Scaling Memory Scalar: IO Utilization Above Percent. | number | n/a | no |
-| memory_io_enabled | Auto Scaling Memory Scalar: IO Utilization Enabled. | bool | n/a | no |
-| memory_io_over_period | Auto Scaling Memory Scalar: IO Utilization Over Period | string | n/a | no |
-| memory_rate_increase_percent | Auto Scaling Memory Rate: Increase Percent | number | n/a | no |
-| memory_rate_limit_mb_per_member | Auto Scaling Memory Rate: Limit mb per member | number | n/a | no |
-| memory_rate_period_seconds | Auto Scaling Memory Rate: Period Seconds. | number | n/a | no |
-| memory_rate_units | Auto Scaling Memory Rate: Units. | string | n/a | no |
-
-## Users Inputs
-| Name | Description | Type | Default | Required |
-|--------------------------------------|-----------------------|--------|---------|----------|
-| name | Name Of the User | string | n/a | no |
-| password | User Password | string | n/a | no |
-
-## Whitelist Inputs
-
-| Name | Description | Type | Default | Required |
-|-----------------------------------------|---------------------------------------|--------|---------|----------|
-| address | Whitelist IP address in CIDR notation | string | n/a | no |
-| description | Unique white list description | string | n/a | no |
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [ibm](#requirement\_ibm) | 1.41.1 |
+## Modules
-
+| Name | Source | Version |
+|------|--------|---------|
+| [database\_etcd](#module\_database\_etcd) | ../../modules/etcd | n/a |
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [ibm_resource_group.resource_group](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/data-sources/resource_group) | data source |
-### NOTE: To make use of a particular version of module, Set the `version` argument to respective module version.
+## Inputs
-NOTE: We can configure the list of users, whitelist by entering respective details in input.tfvars.
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [adminpassword](#input\_adminpassword) | The admin user password for the instance | `string` | `null` | no |
+| [backup\_encryption\_key](#input\_backup\_encryption\_key) | The Backup Encryption Key CRN | `string` | `null` | no |
+| [backup\_id](#input\_backup\_id) | The CRN of backup source database | `string` | `null` | no |
+| [cpu\_allocation](#input\_cpu\_allocation) | CPU allocation required for cluster | `number` | `null` | no |
+| [cpu\_rate\_increase\_percent](#input\_cpu\_rate\_increase\_percent) | Auto Scaling CPU Rate: Increase Percent | `number` | `null` | no |
+| [cpu\_rate\_limit\_count\_per\_member](#input\_cpu\_rate\_limit\_count\_per\_member) | Auto Scaling CPU Rate: Limit count per number | `number` | `null` | no |
+| [cpu\_rate\_period\_seconds](#input\_cpu\_rate\_period\_seconds) | Auto Scaling CPU Rate: Period Seconds | `number` | `null` | no |
+| [cpu\_rate\_units](#input\_cpu\_rate\_units) | Auto Scaling CPU Rate: Units | `string` | `null` | no |
+| [database\_version](#input\_database\_version) | The database version to provision if specified | `string` | `null` | no |
+| [disk\_allocation](#input\_disk\_allocation) | Disk allocation required for cluster | `number` | `null` | no |
+| [disk\_capacity\_enabled](#input\_disk\_capacity\_enabled) | Auto Scaling Disk Scalar: Capacity Enabled | `bool` | `null` | no |
+| [disk\_encryption\_key](#input\_disk\_encryption\_key) | The CRN of Key protect key | `string` | `null` | no |
+| [disk\_free\_space\_less\_than\_percent](#input\_disk\_free\_space\_less\_than\_percent) | Auto Scaling Disk Scalar: Capacity Free Space Less Than Percent | `number` | `null` | no |
+| [disk\_io\_above\_percent](#input\_disk\_io\_above\_percent) | Auto Scaling Disk Scalar: IO Utilization Above Percent | `number` | `null` | no |
+| [disk\_io\_enabled](#input\_disk\_io\_enabled) | Auto Scaling Disk Scalar: IO Utilization Enabled | `bool` | `null` | no |
+| [disk\_io\_over\_period](#input\_disk\_io\_over\_period) | Auto Scaling Disk Scalar: IO Utilization Over Period | `string` | `null` | no |
+| [disk\_rate\_increase\_percent](#input\_disk\_rate\_increase\_percent) | Auto Scaling Disk Rate: Increase Percent | `number` | `null` | no |
+| [disk\_rate\_limit\_mb\_per\_member](#input\_disk\_rate\_limit\_mb\_per\_member) | Auto Scaling Disk Rate: Limit mb per member | `number` | `null` | no |
+| [disk\_rate\_period\_seconds](#input\_disk\_rate\_period\_seconds) | Auto Scaling Disk Rate: Period Seconds | `number` | `null` | no |
+| [disk\_rate\_units](#input\_disk\_rate\_units) | Auto Scaling Disk Rate: Units | `string` | `null` | no |
+| [kms\_instance](#input\_kms\_instance) | The CRN of Key protect instance | `string` | `null` | no |
+| [location](#input\_location) | The location or the region in which Database instance exists | `string` | n/a | yes |
+| [memory\_allocation](#input\_memory\_allocation) | Memory allocation required for cluster | `number` | `null` | no |
+| [memory\_io\_above\_percent](#input\_memory\_io\_above\_percent) | Auto Scaling Memory Scalar: IO Utilization Above Percent | `number` | `null` | no |
+| [memory\_io\_enabled](#input\_memory\_io\_enabled) | Auto Scaling Memory Scalar: IO Utilization Enabled | `bool` | `null` | no |
+| [memory\_io\_over\_period](#input\_memory\_io\_over\_period) | Auto Scaling Memory Scalar: IO Utilization Over Period | `string` | `null` | no |
+| [memory\_rate\_increase\_percent](#input\_memory\_rate\_increase\_percent) | Auto Scaling Memory Rate: Increase Percent | `number` | `null` | no |
+| [memory\_rate\_limit\_mb\_per\_member](#input\_memory\_rate\_limit\_mb\_per\_member) | Auto Scaling Memory Rate: Limit mb per member | `number` | `null` | no |
+| [memory\_rate\_period\_seconds](#input\_memory\_rate\_period\_seconds) | Auto Scaling Memory Rate: Period Seconds | `number` | `null` | no |
+| [memory\_rate\_units](#input\_memory\_rate\_units) | Auto Scaling Memory Rate: Units | `string` | `null` | no |
+| [name](#input\_name) | Resource instance name for example, my Database instance | `string` | n/a | yes |
+| [plan](#input\_plan) | The plan type of the Database instance | `string` | n/a | yes |
+| [point\_in\_time\_recovery\_deployment\_id](#input\_point\_in\_time\_recovery\_deployment\_id) | The CRN of source instance | `string` | `null` | no |
+| [point\_in\_time\_recovery\_time](#input\_point\_in\_time\_recovery\_time) | The point in time recovery time stamp of the deployed instance | `string` | `null` | no |
+| [remote\_leader\_id](#input\_remote\_leader\_id) | The CRN of leader database | `string` | `null` | no |
+| [resource\_group](#input\_resource\_group) | Resource Group Name | `string` | n/a | yes |
+| [service\_endpoints](#input\_service\_endpoints) | Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. | `string` | `null` | no |
+| [tags](#input\_tags) | Tags for the database | `set(string)` | `null` | no |
+| [users](#input\_users) | Database Users. It is set of username and passwords | `set(map(string))` | `null` | no |
+| [whitelist](#input\_whitelist) | Database Whitelist It is set of IP Address and description | `set(map(string))` | `null` | no |
+
+## Outputs
+
+No outputs.
+
## Usage
@@ -128,11 +150,12 @@ NOTE: We can configure the list of users, whitelist by entering respective detai
terraform init
```
```
-terraform plan -var-file="input.tfvars"
+terraform plan
```
```
-terraform apply -var-file="input.tfvars"
+terraform apply
```
-## Note
-All optional fields are given value `null` in varaible.tf file. User can configure the same by overwriting with appropriate values.
+## NOTE
+
+* If the following attributes `database_version`,`memory_allocation`,`disk_allocation`,`cpu_allocation` are provided with null values, then API will create a database with the default values. These default values which are provided by API may differ and are not maintained by terraform.
diff --git a/examples/complete-etcd/input.tfvars b/examples/complete-etcd/input.tfvars
index 685f0d9..ddc80b2 100644
--- a/examples/complete-etcd/input.tfvars
+++ b/examples/complete-etcd/input.tfvars
@@ -4,10 +4,9 @@
###########################################################
users = [{
- name = "user123"
- password = "password12"
+ name = "user123"
}]
whitelist = [{
address = "172.168.1.1/32"
description = "desc"
-}]
\ No newline at end of file
+}]
diff --git a/examples/complete-etcd/outputs.tf b/examples/complete-etcd/outputs.tf
new file mode 100644
index 0000000..135186b
--- /dev/null
+++ b/examples/complete-etcd/outputs.tf
@@ -0,0 +1,11 @@
+##############################################################################
+# Outputs
+##############################################################################
+
+#output "myoutput" {
+# description = "Description of my output"
+# value = "value"
+# depends_on = []
+#}
+
+##############################################################################
diff --git a/examples/complete-etcd/provider.tf b/examples/complete-etcd/provider.tf
index 91acd82..4bfa508 100644
--- a/examples/complete-etcd/provider.tf
+++ b/examples/complete-etcd/provider.tf
@@ -6,4 +6,4 @@
provider "ibm" {
region = var.location
-}
\ No newline at end of file
+}
diff --git a/examples/complete-etcd/variables.tf b/examples/complete-etcd/variables.tf
index 9db2138..830093e 100644
--- a/examples/complete-etcd/variables.tf
+++ b/examples/complete-etcd/variables.tf
@@ -199,4 +199,4 @@ variable "memory_rate_units" {
default = null
type = string
description = "Auto Scaling Memory Rate: Units "
-}
\ No newline at end of file
+}
diff --git a/examples/complete-etcd/versions.tf b/examples/complete-etcd/versions.tf
index 1af4888..e2e7776 100644
--- a/examples/complete-etcd/versions.tf
+++ b/examples/complete-etcd/versions.tf
@@ -3,10 +3,11 @@
# Copyright 2020 IBM
###########################################################
terraform {
- required_version = ">=0.13"
+ required_version = ">= 1.0.0"
required_providers {
ibm = {
- source = "IBM-Cloud/ibm"
+ source = "IBM-Cloud/ibm"
+ version = "1.41.1"
}
}
-}
\ No newline at end of file
+}
diff --git a/examples/complete-mongo/README.md b/examples/complete-mongo/README.md
index 5ca254c..53b2953 100644
--- a/examples/complete-mongo/README.md
+++ b/examples/complete-mongo/README.md
@@ -1,6 +1,6 @@
# Module database_mongo
-This example is used to provision databases-for-mongodb Database on IBM Cloud Infrastructure.
+This example is used to provision databases for mongoDB database on IBM Cloud Infrastructure.
## Example Usage
```
@@ -16,7 +16,6 @@ module "database_mongo" {
name = var.name
plan = var.plan
location = var.location
- adminpassword = var.adminpassword
database_version = var.database_version
memory_allocation = var.memory_allocation
disk_allocation = var.disk_allocation
@@ -55,72 +54,95 @@ module "database_mongo" {
}
```
+## Requirements
+
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [ibm](#requirement\_ibm) | 1.41.1 |
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [ibm_resource_group.resource_group](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/data-sources/resource_group) | data source |
+
+## Modules
+
+| Name | Source | Version |
+|------|--------|---------|
+| [database\_mongo](#module\_database\_mongo) | ../../modules/mongo | n/a |
+
-## Inputs
+## Requirements
-| Name | Description | Type | Default | Required |
-|---------------------------------------|-------------------------------------------------------------------|----------|---------|----------|
-| resource_group | Resource Group Name. | string | n/a | yes |
-| name | Resource instance name for example, my Database instance. | string | n/a | yes |
-| plan | The plan type of the Database instance. | string | standard| yes |
-| location | The location or the region in which Database instance exists. | string | n/a | yes |
-| adminpassword | The admin user password for the instance. | string | n/a | no |
-| database_version | The database version to provision if specified. | string | n/a | no |
-| memory_allocation | Memory allocation required for cluster. | number | n/a | no |
-| disk_allocation | Disk allocation required for cluster | number | n/a | no |
-| cpu_allocation | CPU allocation required for cluster. | number | n/a | no |
-| service_endpoints | Types of the service endpoints. | string | public | no |
-| backup_id | The CRN of backup source database. | string | n/a | no |
-| remote_leader_id | The CRN of leader database. | string | n/a | no |
-| kms_instance | The CRN of Key protect instance. | string | n/a | no |
-| disk_encryption_key | The CRN of Key protect key | string | n/a | no |
-| backup_encryption_key | backup_encryption_key | string | n/a | no |
-| tags | Tags for the database | set(str) | n/a | no |
-| point_in_time_recovery_deployment_id |The CRN of source instance. | string | n/a | no |
-| point_in_time_recovery_time | The point in time recovery time stamp of the deployed instance | string | n/a | no |
-| users | Database Users. It is set of username and passwords | set(obj) | n/a | no |
-| whitelist | Database Whitelist It is set of IP Address and description. | set(obj) | n/a | no |
-| cpu_rate_increase_percent | Auto Scaling CPU Rate: Increase Percent | number | n/a | no |
-| cpu_rate_limit_count_per_member | Auto Scaling CPU Rate: Limit count per number. | number | n/a | no |
-| cpu_rate_period_seconds | Auto Scaling CPU Rate: Period Seconds | number | n/a | no |
-| cpu_rate_units | Auto Scaling CPU Rate: Units. | string | n/a | no |
-| disk_capacity_enabled | Auto Scaling Disk Scalar: Capacity Enabled. | bool | n/a | no |
-| disk_free_space_less_than_percent | Auto Scaling Disk Scalar: Capacity Free Space Less Than Percent | number | n/a | no |
-| disk_io_above_percent | Auto Scaling Disk Scalar: IO Utilization Above Percent. | number | n/a | no |
-| disk_io_enabled | Auto Scaling Disk Scalar: IO Utilization Enabled. | bool | n/a | no |
-| disk_io_over_period | Auto Scaling Disk Scalar: IO Utilization Over Period | string | n/a | no |
-| disk_rate_increase_percent | Auto Scaling Disk Rate: Increase Percent | number | n/a | no |
-| disk_rate_limit_mb_per_member | Auto Scaling Disk Rate: Limit mb per member | number | n/a | no |
-| disk_rate_period_seconds | Auto Scaling Disk Rate: Period Seconds | number | n/a | no |
-| disk_rate_units | Auto Scaling Disk Disk: Units. | string | n/a | no |
-| memory_io_above_percent | Auto Scaling Memory Scalar: IO Utilization Above Percent. | number | n/a | no |
-| memory_io_enabled | Auto Scaling Memory Scalar: IO Utilization Enabled. | bool | n/a | no |
-| memory_io_over_period | Auto Scaling Memory Scalar: IO Utilization Over Period | string | n/a | no |
-| memory_rate_increase_percent | Auto Scaling Memory Rate: Increase Percent | number | n/a | no |
-| memory_rate_limit_mb_per_member | Auto Scaling Memory Rate: Limit mb per member | number | n/a | no |
-| memory_rate_period_seconds | Auto Scaling Memory Rate: Period Seconds. | number | n/a | no |
-| memory_rate_units | Auto Scaling Memory Rate: Units. | string | n/a | no |
-
-## Users Inputs
-| Name | Description | Type | Default | Required |
-|--------------------------------------|-----------------------|--------|---------|----------|
-| name | Name Of the User | string | n/a | no |
-| password | User Password | string | n/a | no |
-
-## Whitelist Inputs
-
-| Name | Description | Type | Default | Required |
-|-----------------------------------------|---------------------------------------|--------|---------|----------|
-| address | Whitelist IP address in CIDR notation | string | n/a | no |
-| description | Unique white list description | string | n/a | no |
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [ibm](#requirement\_ibm) | 1.41.1 |
+## Modules
-
+| Name | Source | Version |
+|------|--------|---------|
+| [database\_mongo](#module\_database\_mongo) | ../../modules/mongo | n/a |
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [ibm_resource_group.resource_group](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/data-sources/resource_group) | data source |
-### NOTE: To make use of a particular version of module, Set the `version` argument to respective module version.
+## Inputs
-NOTE: We can configure the list of users, whitelist by entering respective details in input.tfvars.
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [adminpassword](#input\_adminpassword) | The admin user password for the instance | `string` | `null` | no |
+| [backup\_encryption\_key](#input\_backup\_encryption\_key) | The Backup Encryption Key CRN | `string` | `null` | no |
+| [backup\_id](#input\_backup\_id) | The CRN of backup source database | `string` | `null` | no |
+| [cpu\_allocation](#input\_cpu\_allocation) | CPU allocation required for cluster | `number` | `null` | no |
+| [cpu\_rate\_increase\_percent](#input\_cpu\_rate\_increase\_percent) | Auto Scaling CPU Rate: Increase Percent | `number` | `null` | no |
+| [cpu\_rate\_limit\_count\_per\_member](#input\_cpu\_rate\_limit\_count\_per\_member) | Auto Scaling CPU Rate: Limit count per number | `number` | `null` | no |
+| [cpu\_rate\_period\_seconds](#input\_cpu\_rate\_period\_seconds) | Auto Scaling CPU Rate: Period Seconds | `number` | `null` | no |
+| [cpu\_rate\_units](#input\_cpu\_rate\_units) | Auto Scaling CPU Rate: Units | `string` | `null` | no |
+| [database\_version](#input\_database\_version) | The database version to provision if specified | `string` | `null` | no |
+| [disk\_allocation](#input\_disk\_allocation) | Disk allocation required for cluster | `number` | `null` | no |
+| [disk\_capacity\_enabled](#input\_disk\_capacity\_enabled) | Auto Scaling Disk Scalar: Capacity Enabled | `bool` | `null` | no |
+| [disk\_encryption\_key](#input\_disk\_encryption\_key) | The CRN of Key protect key | `string` | `null` | no |
+| [disk\_free\_space\_less\_than\_percent](#input\_disk\_free\_space\_less\_than\_percent) | Auto Scaling Disk Scalar: Capacity Free Space Less Than Percent | `number` | `null` | no |
+| [disk\_io\_above\_percent](#input\_disk\_io\_above\_percent) | Auto Scaling Disk Scalar: IO Utilization Above Percent | `number` | `null` | no |
+| [disk\_io\_enabled](#input\_disk\_io\_enabled) | Auto Scaling Disk Scalar: IO Utilization Enabled | `bool` | `null` | no |
+| [disk\_io\_over\_period](#input\_disk\_io\_over\_period) | Auto Scaling Disk Scalar: IO Utilization Over Period | `string` | `null` | no |
+| [disk\_rate\_increase\_percent](#input\_disk\_rate\_increase\_percent) | Auto Scaling Disk Rate: Increase Percent | `number` | `null` | no |
+| [disk\_rate\_limit\_mb\_per\_member](#input\_disk\_rate\_limit\_mb\_per\_member) | Auto Scaling Disk Rate: Limit mb per member | `number` | `null` | no |
+| [disk\_rate\_period\_seconds](#input\_disk\_rate\_period\_seconds) | Auto Scaling Disk Rate: Period Seconds | `number` | `null` | no |
+| [disk\_rate\_units](#input\_disk\_rate\_units) | Auto Scaling Disk Rate: Units | `string` | `null` | no |
+| [kms\_instance](#input\_kms\_instance) | The CRN of Key protect instance | `string` | `null` | no |
+| [location](#input\_location) | The location or the region in which Database instance exists | `string` | n/a | yes |
+| [memory\_allocation](#input\_memory\_allocation) | Memory allocation required for cluster | `number` | `null` | no |
+| [memory\_io\_above\_percent](#input\_memory\_io\_above\_percent) | Auto Scaling Memory Scalar: IO Utilization Above Percent | `number` | `null` | no |
+| [memory\_io\_enabled](#input\_memory\_io\_enabled) | Auto Scaling Memory Scalar: IO Utilization Enabled | `bool` | `null` | no |
+| [memory\_io\_over\_period](#input\_memory\_io\_over\_period) | Auto Scaling Memory Scalar: IO Utilization Over Period | `string` | `null` | no |
+| [memory\_rate\_increase\_percent](#input\_memory\_rate\_increase\_percent) | Auto Scaling Memory Rate: Increase Percent | `number` | `null` | no |
+| [memory\_rate\_limit\_mb\_per\_member](#input\_memory\_rate\_limit\_mb\_per\_member) | Auto Scaling Memory Rate: Limit mb per member | `number` | `null` | no |
+| [memory\_rate\_period\_seconds](#input\_memory\_rate\_period\_seconds) | Auto Scaling Memory Rate: Period Seconds | `number` | `null` | no |
+| [memory\_rate\_units](#input\_memory\_rate\_units) | Auto Scaling Memory Rate: Units | `string` | `null` | no |
+| [name](#input\_name) | Resource instance name for example, my Database instance | `string` | n/a | yes |
+| [plan](#input\_plan) | The plan type of the Database instance | `string` | n/a | yes |
+| [point\_in\_time\_recovery\_deployment\_id](#input\_point\_in\_time\_recovery\_deployment\_id) | The CRN of source instance | `string` | `null` | no |
+| [point\_in\_time\_recovery\_time](#input\_point\_in\_time\_recovery\_time) | The point in time recovery time stamp of the deployed instance | `string` | `null` | no |
+| [remote\_leader\_id](#input\_remote\_leader\_id) | The CRN of leader database | `string` | `null` | no |
+| [resource\_group](#input\_resource\_group) | Resource Group Name | `string` | n/a | yes |
+| [service\_endpoints](#input\_service\_endpoints) | Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. | `string` | `null` | no |
+| [tags](#input\_tags) | Tags for the database | `set(string)` | `null` | no |
+| [users](#input\_users) | Database Users. It is set of username and passwords | `set(map(string))` | `null` | no |
+| [whitelist](#input\_whitelist) | Database Whitelist It is set of IP Address and description | `set(map(string))` | `null` | no |
+
+## Outputs
+
+No outputs.
+
## Usage
@@ -128,11 +150,12 @@ NOTE: We can configure the list of users, whitelist by entering respective detai
terraform init
```
```
-terraform plan -var-file="input.tfvars"
+terraform plan
```
```
-terraform apply -var-file="input.tfvars"
+terraform apply
```
-## Note
-All optional fields are given value `null` in varaible.tf file. User can configure the same by overwriting with appropriate values.
+## NOTE
+
+* If the following attributes `database_version`,`memory_allocation`,`disk_allocation`,`cpu_allocation` are provided with null values, then API will create a database with the default values. These default values which are provided by API may differ and are not maintained by terraform.
diff --git a/examples/complete-mongo/input.tfvars b/examples/complete-mongo/input.tfvars
index 331bb13..d1d2a20 100644
--- a/examples/complete-mongo/input.tfvars
+++ b/examples/complete-mongo/input.tfvars
@@ -4,10 +4,9 @@
###########################################################
users = [{
- name = "user123"
- password = "password12"
+ name = "user123"
}]
whitelist = [{
address = "172.168.1.1/32"
description = "desc"
-}]
\ No newline at end of file
+}]
diff --git a/examples/complete-mongo/main.tf b/examples/complete-mongo/main.tf
index 77dd541..329ffd1 100644
--- a/examples/complete-mongo/main.tf
+++ b/examples/complete-mongo/main.tf
@@ -6,7 +6,7 @@
data "ibm_resource_group" "resource_group" {
name = var.resource_group
}
-module "database_monngo" {
+module "database_mongo" {
source = "../../modules/mongo"
resource_group_id = data.ibm_resource_group.resource_group.id
service_name = var.name
diff --git a/examples/complete-mongo/outputs.tf b/examples/complete-mongo/outputs.tf
new file mode 100644
index 0000000..135186b
--- /dev/null
+++ b/examples/complete-mongo/outputs.tf
@@ -0,0 +1,11 @@
+##############################################################################
+# Outputs
+##############################################################################
+
+#output "myoutput" {
+# description = "Description of my output"
+# value = "value"
+# depends_on = []
+#}
+
+##############################################################################
diff --git a/examples/complete-mongo/provider.tf b/examples/complete-mongo/provider.tf
index de9cd33..281338e 100644
--- a/examples/complete-mongo/provider.tf
+++ b/examples/complete-mongo/provider.tf
@@ -6,4 +6,4 @@
provider "ibm" {
region = var.location
-}
\ No newline at end of file
+}
diff --git a/examples/complete-mongo/variables.tf b/examples/complete-mongo/variables.tf
index 5638bea..3315472 100644
--- a/examples/complete-mongo/variables.tf
+++ b/examples/complete-mongo/variables.tf
@@ -199,4 +199,4 @@ variable "memory_rate_units" {
default = null
type = string
description = "Auto Scaling Memory Rate: Units "
-}
\ No newline at end of file
+}
diff --git a/examples/complete-mongo/versions.tf b/examples/complete-mongo/versions.tf
index 3ade93b..f8da844 100644
--- a/examples/complete-mongo/versions.tf
+++ b/examples/complete-mongo/versions.tf
@@ -3,10 +3,11 @@
# Copyright 2020 IBM
###########################################################
terraform {
- required_version = ">=0.13"
+ required_version = ">= 1.0.0"
required_providers {
ibm = {
- source = "IBM-Cloud/ibm"
+ source = "IBM-Cloud/ibm"
+ version = "1.41.1"
}
}
-}
\ No newline at end of file
+}
diff --git a/examples/complete-postgresql/README.md b/examples/complete-postgresql/README.md
index 4b1e9aa..145f8e1 100644
--- a/examples/complete-postgresql/README.md
+++ b/examples/complete-postgresql/README.md
@@ -1,6 +1,6 @@
# Module database_postgresql
-This example is used to provision databases for postgresql Database on IBM Cloud Infrastructure.
+This example is used to provision databases for postgresql database on IBM Cloud Infrastructure.
## Example Usage
```
@@ -16,7 +16,6 @@ module "database_postgresql" {
name = var.name
plan = var.plan
location = var.location
- adminpassword = var.adminpassword
database_version = var.database_version
memory_allocation = var.memory_allocation
disk_allocation = var.disk_allocation
@@ -55,72 +54,95 @@ module "database_postgresql" {
}
```
+## Requirements
+
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [ibm](#requirement\_ibm) | 1.41.1 |
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [ibm_resource_group.resource_group](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/data-sources/resource_group) | data source |
+
+## Modules
+
+| Name | Source | Version |
+|------|--------|---------|
+| [database\_postgresql](#module\_database\_postgresql) | ../../modules/postgresql | n/a |
+
-## Inputs
+## Requirements
-| Name | Description | Type | Default | Required |
-|---------------------------------------|-------------------------------------------------------------------|----------|---------|----------|
-| resource_group | Resource Group Name. | string | n/a | yes |
-| name | Resource instance name for example, my Database instance. | string | n/a | yes |
-| plan | The plan type of the Database instance. | string | standard| yes |
-| location | The location or the region in which Database instance exists. | string | n/a | yes |
-| adminpassword | The admin user password for the instance. | string | n/a | no |
-| database_version | The database version to provision if specified. | string | n/a | no |
-| memory_allocation | Memory allocation required for cluster. | number | n/a | no |
-| disk_allocation | Disk allocation required for cluster | number | n/a | no |
-| cpu_allocation | CPU allocation required for cluster. | number | n/a | no |
-| service_endpoints | Types of the service endpoints. | string | public | no |
-| backup_id | The CRN of backup source database. | string | n/a | no |
-| remote_leader_id | The CRN of leader database. | string | n/a | no |
-| kms_instance | The CRN of Key protect instance. | string | n/a | no |
-| disk_encryption_key | The CRN of Key protect key | string | n/a | no |
-| backup_encryption_key | backup_encryption_key | string | n/a | no |
-| tags | Tags for the database | set(str) | n/a | no |
-| point_in_time_recovery_deployment_id |The CRN of source instance. | string | n/a | no |
-| point_in_time_recovery_time | The point in time recovery time stamp of the deployed instance | string | n/a | no |
-| users | Database Users. It is set of username and passwords | set(obj) | n/a | no |
-| whitelist | Database Whitelist It is set of IP Address and description. | set(obj) | n/a | no |
-| cpu_rate_increase_percent | Auto Scaling CPU Rate: Increase Percent | number | n/a | no |
-| cpu_rate_limit_count_per_member | Auto Scaling CPU Rate: Limit count per number. | number | n/a | no |
-| cpu_rate_period_seconds | Auto Scaling CPU Rate: Period Seconds | number | n/a | no |
-| cpu_rate_units | Auto Scaling CPU Rate: Units. | string | n/a | no |
-| disk_capacity_enabled | Auto Scaling Disk Scalar: Capacity Enabled. | bool | n/a | no |
-| disk_free_space_less_than_percent | Auto Scaling Disk Scalar: Capacity Free Space Less Than Percent | number | n/a | no |
-| disk_io_above_percent | Auto Scaling Disk Scalar: IO Utilization Above Percent. | number | n/a | no |
-| disk_io_enabled | Auto Scaling Disk Scalar: IO Utilization Enabled. | bool | n/a | no |
-| disk_io_over_period | Auto Scaling Disk Scalar: IO Utilization Over Period | string | n/a | no |
-| disk_rate_increase_percent | Auto Scaling Disk Rate: Increase Percent | number | n/a | no |
-| disk_rate_limit_mb_per_member | Auto Scaling Disk Rate: Limit mb per member | number | n/a | no |
-| disk_rate_period_seconds | Auto Scaling Disk Rate: Period Seconds | number | n/a | no |
-| disk_rate_units | Auto Scaling Disk Disk: Units. | string | n/a | no |
-| memory_io_above_percent | Auto Scaling Memory Scalar: IO Utilization Above Percent. | number | n/a | no |
-| memory_io_enabled | Auto Scaling Memory Scalar: IO Utilization Enabled. | bool | n/a | no |
-| memory_io_over_period | Auto Scaling Memory Scalar: IO Utilization Over Period | string | n/a | no |
-| memory_rate_increase_percent | Auto Scaling Memory Rate: Increase Percent | number | n/a | no |
-| memory_rate_limit_mb_per_member | Auto Scaling Memory Rate: Limit mb per member | number | n/a | no |
-| memory_rate_period_seconds | Auto Scaling Memory Rate: Period Seconds. | number | n/a | no |
-| memory_rate_units | Auto Scaling Memory Rate: Units. | string | n/a | no |
-
-## Users Inputs
-| Name | Description | Type | Default | Required |
-|--------------------------------------|-----------------------|--------|---------|----------|
-| name | Name Of the User | string | n/a | no |
-| password | User Password | string | n/a | no |
-
-## Whitelist Inputs
-
-| Name | Description | Type | Default | Required |
-|-----------------------------------------|---------------------------------------|--------|---------|----------|
-| address | Whitelist IP address in CIDR notation | string | n/a | no |
-| description | Unique white list description | string | n/a | no |
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [ibm](#requirement\_ibm) | 1.41.1 |
+## Modules
-
+| Name | Source | Version |
+|------|--------|---------|
+| [database\_postgresql](#module\_database\_postgresql) | ../../modules/postgresql | n/a |
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [ibm_resource_group.resource_group](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/data-sources/resource_group) | data source |
-### NOTE: To make use of a particular version of module, Set the `version` argument to respective module version.
+## Inputs
-NOTE: We can configure the list of users, whitelist by entering respective details in input.tfvars.
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [adminpassword](#input\_adminpassword) | The admin user password for the instance | `string` | `null` | no |
+| [backup\_encryption\_key](#input\_backup\_encryption\_key) | The Backup Encryption Key CRN | `string` | `null` | no |
+| [backup\_id](#input\_backup\_id) | The CRN of backup source database | `string` | `null` | no |
+| [cpu\_allocation](#input\_cpu\_allocation) | CPU allocation required for cluster | `number` | `null` | no |
+| [cpu\_rate\_increase\_percent](#input\_cpu\_rate\_increase\_percent) | Auto Scaling CPU Rate: Increase Percent | `number` | `null` | no |
+| [cpu\_rate\_limit\_count\_per\_member](#input\_cpu\_rate\_limit\_count\_per\_member) | Auto Scaling CPU Rate: Limit count per number | `number` | `null` | no |
+| [cpu\_rate\_period\_seconds](#input\_cpu\_rate\_period\_seconds) | Auto Scaling CPU Rate: Period Seconds | `number` | `null` | no |
+| [cpu\_rate\_units](#input\_cpu\_rate\_units) | Auto Scaling CPU Rate: Units | `string` | `null` | no |
+| [database\_version](#input\_database\_version) | The database version to provision if specified | `string` | `null` | no |
+| [disk\_allocation](#input\_disk\_allocation) | Disk allocation required for cluster | `number` | `null` | no |
+| [disk\_capacity\_enabled](#input\_disk\_capacity\_enabled) | Auto Scaling Disk Scalar: Capacity Enabled | `bool` | `null` | no |
+| [disk\_encryption\_key](#input\_disk\_encryption\_key) | The CRN of Key protect key | `string` | `null` | no |
+| [disk\_free\_space\_less\_than\_percent](#input\_disk\_free\_space\_less\_than\_percent) | Auto Scaling Disk Scalar: Capacity Free Space Less Than Percent | `number` | `null` | no |
+| [disk\_io\_above\_percent](#input\_disk\_io\_above\_percent) | Auto Scaling Disk Scalar: IO Utilization Above Percent | `number` | `null` | no |
+| [disk\_io\_enabled](#input\_disk\_io\_enabled) | Auto Scaling Disk Scalar: IO Utilization Enabled | `bool` | `null` | no |
+| [disk\_io\_over\_period](#input\_disk\_io\_over\_period) | Auto Scaling Disk Scalar: IO Utilization Over Period | `string` | `null` | no |
+| [disk\_rate\_increase\_percent](#input\_disk\_rate\_increase\_percent) | Auto Scaling Disk Rate: Increase Percent | `number` | `null` | no |
+| [disk\_rate\_limit\_mb\_per\_member](#input\_disk\_rate\_limit\_mb\_per\_member) | Auto Scaling Disk Rate: Limit mb per member | `number` | `null` | no |
+| [disk\_rate\_period\_seconds](#input\_disk\_rate\_period\_seconds) | Auto Scaling Disk Rate: Period Seconds | `number` | `null` | no |
+| [disk\_rate\_units](#input\_disk\_rate\_units) | Auto Scaling Disk Rate: Units | `string` | `null` | no |
+| [kms\_instance](#input\_kms\_instance) | The CRN of Key protect instance | `string` | `null` | no |
+| [location](#input\_location) | The location or the region in which Database instance exists | `string` | n/a | yes |
+| [memory\_allocation](#input\_memory\_allocation) | Memory allocation required for cluster | `number` | `null` | no |
+| [memory\_io\_above\_percent](#input\_memory\_io\_above\_percent) | Auto Scaling Memory Scalar: IO Utilization Above Percent | `number` | `null` | no |
+| [memory\_io\_enabled](#input\_memory\_io\_enabled) | Auto Scaling Memory Scalar: IO Utilization Enabled | `bool` | `null` | no |
+| [memory\_io\_over\_period](#input\_memory\_io\_over\_period) | Auto Scaling Memory Scalar: IO Utilization Over Period | `string` | `null` | no |
+| [memory\_rate\_increase\_percent](#input\_memory\_rate\_increase\_percent) | Auto Scaling Memory Rate: Increase Percent | `number` | `null` | no |
+| [memory\_rate\_limit\_mb\_per\_member](#input\_memory\_rate\_limit\_mb\_per\_member) | Auto Scaling Memory Rate: Limit mb per member | `number` | `null` | no |
+| [memory\_rate\_period\_seconds](#input\_memory\_rate\_period\_seconds) | Auto Scaling Memory Rate: Period Seconds | `number` | `null` | no |
+| [memory\_rate\_units](#input\_memory\_rate\_units) | Auto Scaling Memory Rate: Units | `string` | `null` | no |
+| [name](#input\_name) | Resource instance name for example, my Database instance | `string` | n/a | yes |
+| [plan](#input\_plan) | The plan type of the Database instance | `string` | n/a | yes |
+| [point\_in\_time\_recovery\_deployment\_id](#input\_point\_in\_time\_recovery\_deployment\_id) | The CRN of source instance | `string` | `null` | no |
+| [point\_in\_time\_recovery\_time](#input\_point\_in\_time\_recovery\_time) | The point in time recovery time stamp of the deployed instance | `string` | `null` | no |
+| [remote\_leader\_id](#input\_remote\_leader\_id) | The CRN of leader database | `string` | `null` | no |
+| [resource\_group](#input\_resource\_group) | Resource Group Name | `string` | n/a | yes |
+| [service\_endpoints](#input\_service\_endpoints) | Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. | `string` | `null` | no |
+| [tags](#input\_tags) | Tags for the database | `set(string)` | `null` | no |
+| [users](#input\_users) | Database Users. It is set of username and passwords | `set(map(string))` | `null` | no |
+| [whitelist](#input\_whitelist) | Database Whitelist It is set of IP Address and description | `set(map(string))` | `null` | no |
+
+## Outputs
+
+No outputs.
+
## Usage
@@ -128,11 +150,12 @@ NOTE: We can configure the list of users, whitelist by entering respective detai
terraform init
```
```
-terraform plan -var-file="input.tfvars"
+terraform plan
```
```
-terraform apply -var-file="input.tfvars"
+terraform apply
```
-## Note
-All optional fields are given value `null` in varaible.tf file. User can configure the same by overwriting with appropriate values.
+## NOTE
+
+* If the following attributes `database_version`,`memory_allocation`,`disk_allocation`,`cpu_allocation` are provided with null values, then API will create a database with the default values. These default values which are provided by API may differ and are not maintained by terraform.
diff --git a/examples/complete-postgresql/input.tfvars b/examples/complete-postgresql/input.tfvars
index 0949b64..2449eda 100644
--- a/examples/complete-postgresql/input.tfvars
+++ b/examples/complete-postgresql/input.tfvars
@@ -4,10 +4,9 @@
###########################################################
users = [{
- name = "user123"
- password = "password12"
+ name = "user123"
}]
whitelist = [{
address = "172.168.1.1/32"
description = "desc"
-}]
\ No newline at end of file
+}]
diff --git a/examples/complete-postgresql/outputs.tf b/examples/complete-postgresql/outputs.tf
new file mode 100644
index 0000000..135186b
--- /dev/null
+++ b/examples/complete-postgresql/outputs.tf
@@ -0,0 +1,11 @@
+##############################################################################
+# Outputs
+##############################################################################
+
+#output "myoutput" {
+# description = "Description of my output"
+# value = "value"
+# depends_on = []
+#}
+
+##############################################################################
diff --git a/examples/complete-postgresql/provider.tf b/examples/complete-postgresql/provider.tf
index 4c9bc12..01bf901 100644
--- a/examples/complete-postgresql/provider.tf
+++ b/examples/complete-postgresql/provider.tf
@@ -6,4 +6,4 @@
provider "ibm" {
region = var.location
-}
\ No newline at end of file
+}
diff --git a/examples/complete-postgresql/variables.tf b/examples/complete-postgresql/variables.tf
index 9baa830..4ced6a8 100644
--- a/examples/complete-postgresql/variables.tf
+++ b/examples/complete-postgresql/variables.tf
@@ -199,4 +199,4 @@ variable "memory_rate_units" {
default = null
type = string
description = "Auto Scaling Memory Rate: Units "
-}
\ No newline at end of file
+}
diff --git a/examples/complete-postgresql/versions.tf b/examples/complete-postgresql/versions.tf
index 4d47479..32a0a1f 100644
--- a/examples/complete-postgresql/versions.tf
+++ b/examples/complete-postgresql/versions.tf
@@ -3,10 +3,11 @@
# Copyright 2020 IBM
###########################################################
terraform {
- required_version = ">=0.13"
+ required_version = ">= 1.0.0"
required_providers {
ibm = {
- source = "IBM-Cloud/ibm"
+ source = "IBM-Cloud/ibm"
+ version = "1.41.1"
}
}
-}
\ No newline at end of file
+}
diff --git a/examples/complete-rabbitmq/README.md b/examples/complete-rabbitmq/README.md
index 8a3d05a..45da6d0 100644
--- a/examples/complete-rabbitmq/README.md
+++ b/examples/complete-rabbitmq/README.md
@@ -1,6 +1,6 @@
-# Module database_rabbitmq
+# Module database_postgresql
-This example is used to provision messages for Rabbitmq Database on IBM Cloud Infrastructure.
+This example is used to provision databases for rabbitmq database on IBM Cloud Infrastructure.
## Example Usage
```
@@ -10,13 +10,12 @@ provider "ibm" {
data "ibm_resource_group" "resource_group" {
name = var.resource_group
}
-module "database_rabbitmq" {
+module "database_postgresql" {
source = "../../modules/rabbitmq"
resource_group_id = data.ibm_resource_group.resource_group.id
name = var.name
plan = var.plan
location = var.location
- adminpassword = var.adminpassword
database_version = var.database_version
memory_allocation = var.memory_allocation
disk_allocation = var.disk_allocation
@@ -55,72 +54,95 @@ module "database_rabbitmq" {
}
```
+## Requirements
+
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [ibm](#requirement\_ibm) | 1.41.1 |
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [ibm_resource_group.resource_group](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/data-sources/resource_group) | data source |
+
+## Modules
+
+| Name | Source | Version |
+|------|--------|---------|
+| [database\_rabbitmq](#module\_database\_rabbitmq) | ../../modules/rabbitmq | n/a |
+
-## Inputs
+## Requirements
-| Name | Description | Type | Default | Required |
-|---------------------------------------|-------------------------------------------------------------------|----------|---------|----------|
-| resource_group | Resource Group Name. | string | n/a | yes |
-| name | Resource instance name for example, my Database instance. | string | n/a | yes |
-| plan | The plan type of the Database instance. | string | standard| yes |
-| location | The location or the region in which Database instance exists. | string | n/a | yes |
-| adminpassword | The admin user password for the instance. | string | n/a | no |
-| database_version | The database version to provision if specified. | string | n/a | no |
-| memory_allocation | Memory allocation required for cluster. | number | n/a | no |
-| disk_allocation | Disk allocation required for cluster | number | n/a | no |
-| cpu_allocation | CPU allocation required for cluster. | number | n/a | no |
-| service_endpoints | Types of the service endpoints. | string | public | no |
-| backup_id | The CRN of backup source database. | string | n/a | no |
-| remote_leader_id | The CRN of leader database. | string | n/a | no |
-| kms_instance | The CRN of Key protect instance. | string | n/a | no |
-| disk_encryption_key | The CRN of Key protect key | string | n/a | no |
-| backup_encryption_key | backup_encryption_key | string | n/a | no |
-| tags | Tags for the database | set(str) | n/a | no |
-| point_in_time_recovery_deployment_id |The CRN of source instance. | string | n/a | no |
-| point_in_time_recovery_time | The point in time recovery time stamp of the deployed instance | string | n/a | no |
-| users | Database Users. It is set of username and passwords | set(obj) | n/a | no |
-| whitelist | Database Whitelist It is set of IP Address and description. | set(obj) | n/a | no |
-| cpu_rate_increase_percent | Auto Scaling CPU Rate: Increase Percent | number | n/a | no |
-| cpu_rate_limit_count_per_member | Auto Scaling CPU Rate: Limit count per number. | number | n/a | no |
-| cpu_rate_period_seconds | Auto Scaling CPU Rate: Period Seconds | number | n/a | no |
-| cpu_rate_units | Auto Scaling CPU Rate: Units. | string | n/a | no |
-| disk_capacity_enabled | Auto Scaling Disk Scalar: Capacity Enabled. | bool | n/a | no |
-| disk_free_space_less_than_percent | Auto Scaling Disk Scalar: Capacity Free Space Less Than Percent | number | n/a | no |
-| disk_io_above_percent | Auto Scaling Disk Scalar: IO Utilization Above Percent. | number | n/a | no |
-| disk_io_enabled | Auto Scaling Disk Scalar: IO Utilization Enabled. | bool | n/a | no |
-| disk_io_over_period | Auto Scaling Disk Scalar: IO Utilization Over Period | string | n/a | no |
-| disk_rate_increase_percent | Auto Scaling Disk Rate: Increase Percent | number | n/a | no |
-| disk_rate_limit_mb_per_member | Auto Scaling Disk Rate: Limit mb per member | number | n/a | no |
-| disk_rate_period_seconds | Auto Scaling Disk Rate: Period Seconds | number | n/a | no |
-| disk_rate_units | Auto Scaling Disk Disk: Units. | string | n/a | no |
-| memory_io_above_percent | Auto Scaling Memory Scalar: IO Utilization Above Percent. | number | n/a | no |
-| memory_io_enabled | Auto Scaling Memory Scalar: IO Utilization Enabled. | bool | n/a | no |
-| memory_io_over_period | Auto Scaling Memory Scalar: IO Utilization Over Period | string | n/a | no |
-| memory_rate_increase_percent | Auto Scaling Memory Rate: Increase Percent | number | n/a | no |
-| memory_rate_limit_mb_per_member | Auto Scaling Memory Rate: Limit mb per member | number | n/a | no |
-| memory_rate_period_seconds | Auto Scaling Memory Rate: Period Seconds. | number | n/a | no |
-| memory_rate_units | Auto Scaling Memory Rate: Units. | string | n/a | no |
-
-## Users Inputs
-| Name | Description | Type | Default | Required |
-|--------------------------------------|-----------------------|--------|---------|----------|
-| name | Name Of the User | string | n/a | no |
-| password | User Password | string | n/a | no |
-
-## Whitelist Inputs
-
-| Name | Description | Type | Default | Required |
-|-----------------------------------------|---------------------------------------|--------|---------|----------|
-| address | Whitelist IP address in CIDR notation | string | n/a | no |
-| description | Unique white list description | string | n/a | no |
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [ibm](#requirement\_ibm) | 1.41.1 |
+## Modules
-
+| Name | Source | Version |
+|------|--------|---------|
+| [database\_rabbitmq](#module\_database\_rabbitmq) | ../../modules/rabbitmq | n/a |
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [ibm_resource_group.resource_group](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/data-sources/resource_group) | data source |
-### NOTE: To make use of a particular version of module, Set the `version` argument to respective module version.
+## Inputs
-NOTE: We can configure the list of users, whitelist by entering respective details in input.tfvars.
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [adminpassword](#input\_adminpassword) | The admin user password for the instance | `string` | `null` | no |
+| [backup\_encryption\_key](#input\_backup\_encryption\_key) | The Backup Encryption Key CRN | `string` | `null` | no |
+| [backup\_id](#input\_backup\_id) | The CRN of backup source database | `string` | `null` | no |
+| [cpu\_allocation](#input\_cpu\_allocation) | CPU allocation required for cluster | `number` | `null` | no |
+| [cpu\_rate\_increase\_percent](#input\_cpu\_rate\_increase\_percent) | Auto Scaling CPU Rate: Increase Percent | `number` | `null` | no |
+| [cpu\_rate\_limit\_count\_per\_member](#input\_cpu\_rate\_limit\_count\_per\_member) | Auto Scaling CPU Rate: Limit count per number | `number` | `null` | no |
+| [cpu\_rate\_period\_seconds](#input\_cpu\_rate\_period\_seconds) | Auto Scaling CPU Rate: Period Seconds | `number` | `null` | no |
+| [cpu\_rate\_units](#input\_cpu\_rate\_units) | Auto Scaling CPU Rate: Units | `string` | `null` | no |
+| [database\_version](#input\_database\_version) | The database version to provision if specified | `string` | `null` | no |
+| [disk\_allocation](#input\_disk\_allocation) | Disk allocation required for cluster | `number` | `null` | no |
+| [disk\_capacity\_enabled](#input\_disk\_capacity\_enabled) | Auto Scaling Disk Scalar: Capacity Enabled | `bool` | `null` | no |
+| [disk\_encryption\_key](#input\_disk\_encryption\_key) | The CRN of Key protect key | `string` | `null` | no |
+| [disk\_free\_space\_less\_than\_percent](#input\_disk\_free\_space\_less\_than\_percent) | Auto Scaling Disk Scalar: Capacity Free Space Less Than Percent | `number` | `null` | no |
+| [disk\_io\_above\_percent](#input\_disk\_io\_above\_percent) | Auto Scaling Disk Scalar: IO Utilization Above Percent | `number` | `null` | no |
+| [disk\_io\_enabled](#input\_disk\_io\_enabled) | Auto Scaling Disk Scalar: IO Utilization Enabled | `bool` | `null` | no |
+| [disk\_io\_over\_period](#input\_disk\_io\_over\_period) | Auto Scaling Disk Scalar: IO Utilization Over Period | `string` | `null` | no |
+| [disk\_rate\_increase\_percent](#input\_disk\_rate\_increase\_percent) | Auto Scaling Disk Rate: Increase Percent | `number` | `null` | no |
+| [disk\_rate\_limit\_mb\_per\_member](#input\_disk\_rate\_limit\_mb\_per\_member) | Auto Scaling Disk Rate: Limit mb per member | `number` | `null` | no |
+| [disk\_rate\_period\_seconds](#input\_disk\_rate\_period\_seconds) | Auto Scaling Disk Rate: Period Seconds | `number` | `null` | no |
+| [disk\_rate\_units](#input\_disk\_rate\_units) | Auto Scaling Disk Rate: Units | `string` | `null` | no |
+| [kms\_instance](#input\_kms\_instance) | The CRN of Key protect instance | `string` | `null` | no |
+| [location](#input\_location) | The location or the region in which Database instance exists | `string` | n/a | yes |
+| [memory\_allocation](#input\_memory\_allocation) | Memory allocation required for cluster | `number` | `null` | no |
+| [memory\_io\_above\_percent](#input\_memory\_io\_above\_percent) | Auto Scaling Memory Scalar: IO Utilization Above Percent | `number` | `null` | no |
+| [memory\_io\_enabled](#input\_memory\_io\_enabled) | Auto Scaling Memory Scalar: IO Utilization Enabled | `bool` | `null` | no |
+| [memory\_io\_over\_period](#input\_memory\_io\_over\_period) | Auto Scaling Memory Scalar: IO Utilization Over Period | `string` | `null` | no |
+| [memory\_rate\_increase\_percent](#input\_memory\_rate\_increase\_percent) | Auto Scaling Memory Rate: Increase Percent | `number` | `null` | no |
+| [memory\_rate\_limit\_mb\_per\_member](#input\_memory\_rate\_limit\_mb\_per\_member) | Auto Scaling Memory Rate: Limit mb per member | `number` | `null` | no |
+| [memory\_rate\_period\_seconds](#input\_memory\_rate\_period\_seconds) | Auto Scaling Memory Rate: Period Seconds | `number` | `null` | no |
+| [memory\_rate\_units](#input\_memory\_rate\_units) | Auto Scaling Memory Rate: Units | `string` | `null` | no |
+| [name](#input\_name) | Resource instance name for example, my Database instance | `string` | n/a | yes |
+| [plan](#input\_plan) | The plan type of the Database instance | `string` | n/a | yes |
+| [point\_in\_time\_recovery\_deployment\_id](#input\_point\_in\_time\_recovery\_deployment\_id) | The CRN of source instance | `string` | `null` | no |
+| [point\_in\_time\_recovery\_time](#input\_point\_in\_time\_recovery\_time) | The point in time recovery time stamp of the deployed instance | `string` | `null` | no |
+| [remote\_leader\_id](#input\_remote\_leader\_id) | The CRN of leader database | `string` | `null` | no |
+| [resource\_group](#input\_resource\_group) | Resource Group Name | `string` | n/a | yes |
+| [service\_endpoints](#input\_service\_endpoints) | Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. | `string` | `null` | no |
+| [tags](#input\_tags) | Tags for the database | `set(string)` | `null` | no |
+| [users](#input\_users) | Database Users. It is set of username and passwords | `set(map(string))` | `null` | no |
+| [whitelist](#input\_whitelist) | Database Whitelist It is set of IP Address and description | `set(map(string))` | `null` | no |
+
+## Outputs
+
+No outputs.
+
## Usage
@@ -128,11 +150,12 @@ NOTE: We can configure the list of users, whitelist by entering respective detai
terraform init
```
```
-terraform plan -var-file="input.tfvars"
+terraform plan
```
```
-terraform apply -var-file="input.tfvars"
+terraform apply
```
-## Note
-All optional fields are given value `null` in varaible.tf file. User can configure the same by overwriting with appropriate values.
+## NOTE
+
+* If the following attributes `database_version`,`memory_allocation`,`disk_allocation`,`cpu_allocation` are provided with null values, then API will create a database with the default values. These default values which are provided by API may differ and are not maintained by terraform.
diff --git a/examples/complete-rabbitmq/input.tfvars b/examples/complete-rabbitmq/input.tfvars
index f2d5718..084c753 100644
--- a/examples/complete-rabbitmq/input.tfvars
+++ b/examples/complete-rabbitmq/input.tfvars
@@ -4,10 +4,9 @@
###########################################################
users = [{
- name = "user123"
- password = "password12"
+ name = "user123"
}]
whitelist = [{
address = "172.168.1.1/32"
description = "desc"
-}]
\ No newline at end of file
+}]
diff --git a/examples/complete-rabbitmq/outputs.tf b/examples/complete-rabbitmq/outputs.tf
new file mode 100644
index 0000000..135186b
--- /dev/null
+++ b/examples/complete-rabbitmq/outputs.tf
@@ -0,0 +1,11 @@
+##############################################################################
+# Outputs
+##############################################################################
+
+#output "myoutput" {
+# description = "Description of my output"
+# value = "value"
+# depends_on = []
+#}
+
+##############################################################################
diff --git a/examples/complete-rabbitmq/provider.tf b/examples/complete-rabbitmq/provider.tf
index fbb6323..597215d 100644
--- a/examples/complete-rabbitmq/provider.tf
+++ b/examples/complete-rabbitmq/provider.tf
@@ -6,4 +6,4 @@
provider "ibm" {
region = var.location
-}
\ No newline at end of file
+}
diff --git a/examples/complete-rabbitmq/variables.tf b/examples/complete-rabbitmq/variables.tf
index d677a90..864e3e0 100644
--- a/examples/complete-rabbitmq/variables.tf
+++ b/examples/complete-rabbitmq/variables.tf
@@ -199,4 +199,4 @@ variable "memory_rate_units" {
default = null
type = string
description = "Auto Scaling Memory Rate: Units "
-}
\ No newline at end of file
+}
diff --git a/examples/complete-rabbitmq/versions.tf b/examples/complete-rabbitmq/versions.tf
index f3f3f0c..526a037 100644
--- a/examples/complete-rabbitmq/versions.tf
+++ b/examples/complete-rabbitmq/versions.tf
@@ -3,10 +3,11 @@
# Copyright 2020 IBM
###########################################################
terraform {
- required_version = ">=0.13"
+ required_version = ">= 1.0.0"
required_providers {
ibm = {
- source = "IBM-Cloud/ibm"
+ source = "IBM-Cloud/ibm"
+ version = "1.41.1"
}
}
-}
\ No newline at end of file
+}
diff --git a/examples/complete-redis/README.md b/examples/complete-redis/README.md
index 7b0a066..205009c 100644
--- a/examples/complete-redis/README.md
+++ b/examples/complete-redis/README.md
@@ -1,6 +1,6 @@
-# Module database_redis
+# Module database_postgresql
-This example is used to provision databases for redis Database on IBM Cloud Infrastructure.
+This example is used to provision databases for redis database on IBM Cloud Infrastructure.
## Example Usage
```
@@ -10,13 +10,12 @@ provider "ibm" {
data "ibm_resource_group" "resource_group" {
name = var.resource_group
}
-module "database_redis" {
+module "database_postgresql" {
source = "../../modules/redis"
resource_group_id = data.ibm_resource_group.resource_group.id
name = var.name
plan = var.plan
location = var.location
- adminpassword = var.adminpassword
database_version = var.database_version
memory_allocation = var.memory_allocation
disk_allocation = var.disk_allocation
@@ -55,72 +54,95 @@ module "database_redis" {
}
```
+## Requirements
+
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [ibm](#requirement\_ibm) | 1.41.1 |
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [ibm_resource_group.resource_group](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/data-sources/resource_group) | data source |
+
+## Modules
+
+| Name | Source | Version |
+|------|--------|---------|
+| [database\_redis](#module\_database\_redis) | ../../modules/redis | n/a |
+
-## Inputs
+## Requirements
-| Name | Description | Type | Default | Required |
-|---------------------------------------|-------------------------------------------------------------------|----------|---------|----------|
-| resource_group | Resource Group Name. | string | n/a | yes |
-| name | Resource instance name for example, my Database instance. | string | n/a | yes |
-| plan | The plan type of the Database instance. | string | standard| yes |
-| location | The location or the region in which Database instance exists. | string | n/a | yes |
-| adminpassword | The admin user password for the instance. | string | n/a | no |
-| database_version | The database version to provision if specified. | string | n/a | no |
-| memory_allocation | Memory allocation required for cluster. | number | n/a | no |
-| disk_allocation | Disk allocation required for cluster | number | n/a | no |
-| cpu_allocation | CPU allocation required for cluster. | number | n/a | no |
-| service_endpoints | Types of the service endpoints. | string | public | no |
-| backup_id | The CRN of backup source database. | string | n/a | no |
-| remote_leader_id | The CRN of leader database. | string | n/a | no |
-| kms_instance | The CRN of Key protect instance. | string | n/a | no |
-| disk_encryption_key | The CRN of Key protect key | string | n/a | no |
-| backup_encryption_key | backup_encryption_key | string | n/a | no |
-| tags | Tags for the database | set(str) | n/a | no |
-| point_in_time_recovery_deployment_id |The CRN of source instance. | string | n/a | no |
-| point_in_time_recovery_time | The point in time recovery time stamp of the deployed instance | string | n/a | no |
-| users | Database Users. It is set of username and passwords | set(obj) | n/a | no |
-| whitelist | Database Whitelist It is set of IP Address and description. | set(obj) | n/a | no |
-| cpu_rate_increase_percent | Auto Scaling CPU Rate: Increase Percent | number | n/a | no |
-| cpu_rate_limit_count_per_member | Auto Scaling CPU Rate: Limit count per number. | number | n/a | no |
-| cpu_rate_period_seconds | Auto Scaling CPU Rate: Period Seconds | number | n/a | no |
-| cpu_rate_units | Auto Scaling CPU Rate: Units. | string | n/a | no |
-| disk_capacity_enabled | Auto Scaling Disk Scalar: Capacity Enabled. | bool | n/a | no |
-| disk_free_space_less_than_percent | Auto Scaling Disk Scalar: Capacity Free Space Less Than Percent | number | n/a | no |
-| disk_io_above_percent | Auto Scaling Disk Scalar: IO Utilization Above Percent. | number | n/a | no |
-| disk_io_enabled | Auto Scaling Disk Scalar: IO Utilization Enabled. | bool | n/a | no |
-| disk_io_over_period | Auto Scaling Disk Scalar: IO Utilization Over Period | string | n/a | no |
-| disk_rate_increase_percent | Auto Scaling Disk Rate: Increase Percent | number | n/a | no |
-| disk_rate_limit_mb_per_member | Auto Scaling Disk Rate: Limit mb per member | number | n/a | no |
-| disk_rate_period_seconds | Auto Scaling Disk Rate: Period Seconds | number | n/a | no |
-| disk_rate_units | Auto Scaling Disk Disk: Units. | string | n/a | no |
-| memory_io_above_percent | Auto Scaling Memory Scalar: IO Utilization Above Percent. | number | n/a | no |
-| memory_io_enabled | Auto Scaling Memory Scalar: IO Utilization Enabled. | bool | n/a | no |
-| memory_io_over_period | Auto Scaling Memory Scalar: IO Utilization Over Period | string | n/a | no |
-| memory_rate_increase_percent | Auto Scaling Memory Rate: Increase Percent | number | n/a | no |
-| memory_rate_limit_mb_per_member | Auto Scaling Memory Rate: Limit mb per member | number | n/a | no |
-| memory_rate_period_seconds | Auto Scaling Memory Rate: Period Seconds. | number | n/a | no |
-| memory_rate_units | Auto Scaling Memory Rate: Units. | string | n/a | no |
-
-## Users Inputs
-| Name | Description | Type | Default | Required |
-|--------------------------------------|-----------------------|--------|---------|----------|
-| name | Name Of the User | string | n/a | no |
-| password | User Password | string | n/a | no |
-
-## Whitelist Inputs
-
-| Name | Description | Type | Default | Required |
-|-----------------------------------------|---------------------------------------|--------|---------|----------|
-| address | Whitelist IP address in CIDR notation | string | n/a | no |
-| description | Unique white list description | string | n/a | no |
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [ibm](#requirement\_ibm) | 1.41.1 |
+## Modules
-
+| Name | Source | Version |
+|------|--------|---------|
+| [database\_redis](#module\_database\_redis) | ../../modules/redis | n/a |
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [ibm_resource_group.resource_group](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/data-sources/resource_group) | data source |
-### NOTE: To make use of a particular version of module, Set the `version` argument to respective module version.
+## Inputs
-NOTE: We can configure the list of users, whitelist by entering respective details in input.tfvars.
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [adminpassword](#input\_adminpassword) | The admin user password for the instance | `string` | `null` | no |
+| [backup\_encryption\_key](#input\_backup\_encryption\_key) | The Backup Encryption Key CRN | `string` | `null` | no |
+| [backup\_id](#input\_backup\_id) | The CRN of backup source database | `string` | `null` | no |
+| [cpu\_allocation](#input\_cpu\_allocation) | CPU allocation required for cluster | `number` | `null` | no |
+| [cpu\_rate\_increase\_percent](#input\_cpu\_rate\_increase\_percent) | Auto Scaling CPU Rate: Increase Percent | `number` | `null` | no |
+| [cpu\_rate\_limit\_count\_per\_member](#input\_cpu\_rate\_limit\_count\_per\_member) | Auto Scaling CPU Rate: Limit count per number | `number` | `null` | no |
+| [cpu\_rate\_period\_seconds](#input\_cpu\_rate\_period\_seconds) | Auto Scaling CPU Rate: Period Seconds | `number` | `null` | no |
+| [cpu\_rate\_units](#input\_cpu\_rate\_units) | Auto Scaling CPU Rate: Units | `string` | `null` | no |
+| [database\_version](#input\_database\_version) | The database version to provision if specified | `string` | `null` | no |
+| [disk\_allocation](#input\_disk\_allocation) | Disk allocation required for cluster | `number` | `null` | no |
+| [disk\_capacity\_enabled](#input\_disk\_capacity\_enabled) | Auto Scaling Disk Scalar: Capacity Enabled | `bool` | `null` | no |
+| [disk\_encryption\_key](#input\_disk\_encryption\_key) | The CRN of Key protect key | `string` | `null` | no |
+| [disk\_free\_space\_less\_than\_percent](#input\_disk\_free\_space\_less\_than\_percent) | Auto Scaling Disk Scalar: Capacity Free Space Less Than Percent | `number` | `null` | no |
+| [disk\_io\_above\_percent](#input\_disk\_io\_above\_percent) | Auto Scaling Disk Scalar: IO Utilization Above Percent | `number` | `null` | no |
+| [disk\_io\_enabled](#input\_disk\_io\_enabled) | Auto Scaling Disk Scalar: IO Utilization Enabled | `bool` | `null` | no |
+| [disk\_io\_over\_period](#input\_disk\_io\_over\_period) | Auto Scaling Disk Scalar: IO Utilization Over Period | `string` | `null` | no |
+| [disk\_rate\_increase\_percent](#input\_disk\_rate\_increase\_percent) | Auto Scaling Disk Rate: Increase Percent | `number` | `null` | no |
+| [disk\_rate\_limit\_mb\_per\_member](#input\_disk\_rate\_limit\_mb\_per\_member) | Auto Scaling Disk Rate: Limit mb per member | `number` | `null` | no |
+| [disk\_rate\_period\_seconds](#input\_disk\_rate\_period\_seconds) | Auto Scaling Disk Rate: Period Seconds | `number` | `null` | no |
+| [disk\_rate\_units](#input\_disk\_rate\_units) | Auto Scaling Disk Rate: Units | `string` | `null` | no |
+| [kms\_instance](#input\_kms\_instance) | The CRN of Key protect instance | `string` | `null` | no |
+| [location](#input\_location) | The location or the region in which Database instance exists | `string` | n/a | yes |
+| [memory\_allocation](#input\_memory\_allocation) | Memory allocation required for cluster | `number` | `null` | no |
+| [memory\_io\_above\_percent](#input\_memory\_io\_above\_percent) | Auto Scaling Memory Scalar: IO Utilization Above Percent | `number` | `null` | no |
+| [memory\_io\_enabled](#input\_memory\_io\_enabled) | Auto Scaling Memory Scalar: IO Utilization Enabled | `bool` | `null` | no |
+| [memory\_io\_over\_period](#input\_memory\_io\_over\_period) | Auto Scaling Memory Scalar: IO Utilization Over Period | `string` | `null` | no |
+| [memory\_rate\_increase\_percent](#input\_memory\_rate\_increase\_percent) | Auto Scaling Memory Rate: Increase Percent | `number` | `null` | no |
+| [memory\_rate\_limit\_mb\_per\_member](#input\_memory\_rate\_limit\_mb\_per\_member) | Auto Scaling Memory Rate: Limit mb per member | `number` | `null` | no |
+| [memory\_rate\_period\_seconds](#input\_memory\_rate\_period\_seconds) | Auto Scaling Memory Rate: Period Seconds | `number` | `null` | no |
+| [memory\_rate\_units](#input\_memory\_rate\_units) | Auto Scaling Memory Rate: Units | `string` | `null` | no |
+| [name](#input\_name) | Resource instance name for example, my Database instance | `string` | n/a | yes |
+| [plan](#input\_plan) | The plan type of the Database instance | `string` | n/a | yes |
+| [point\_in\_time\_recovery\_deployment\_id](#input\_point\_in\_time\_recovery\_deployment\_id) | The CRN of source instance | `string` | `null` | no |
+| [point\_in\_time\_recovery\_time](#input\_point\_in\_time\_recovery\_time) | The point in time recovery time stamp of the deployed instance | `string` | `null` | no |
+| [remote\_leader\_id](#input\_remote\_leader\_id) | The CRN of leader database | `string` | `null` | no |
+| [resource\_group](#input\_resource\_group) | Resource Group Name | `string` | n/a | yes |
+| [service\_endpoints](#input\_service\_endpoints) | Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. | `string` | `null` | no |
+| [tags](#input\_tags) | Tags for the database | `set(string)` | `null` | no |
+| [users](#input\_users) | Database Users. It is set of username and passwords | `set(map(string))` | `null` | no |
+| [whitelist](#input\_whitelist) | Database Whitelist It is set of IP Address and description | `set(map(string))` | `null` | no |
+
+## Outputs
+
+No outputs.
+
## Usage
@@ -128,11 +150,12 @@ NOTE: We can configure the list of users, whitelist by entering respective detai
terraform init
```
```
-terraform plan -var-file="input.tfvars"
+terraform plan
```
```
-terraform apply -var-file="input.tfvars"
+terraform apply
```
-## Note
-All optional fields are given value `null` in varaible.tf file. User can configure the same by overwriting with appropriate values.
+## NOTE
+
+* If the following attributes `database_version`,`memory_allocation`,`disk_allocation`,`cpu_allocation` are provided with null values, then API will create a database with the default values. These default values which are provided by API may differ and are not maintained by terraform.
diff --git a/examples/complete-redis/input.tfvars b/examples/complete-redis/input.tfvars
index a7fef36..a66a4b1 100644
--- a/examples/complete-redis/input.tfvars
+++ b/examples/complete-redis/input.tfvars
@@ -4,10 +4,9 @@
###########################################################
users = [{
- name = "user123"
- password = "password12"
+ name = "user123"
}]
whitelist = [{
address = "172.168.1.1/32"
description = "desc"
-}]
\ No newline at end of file
+}]
diff --git a/examples/complete-redis/outputs.tf b/examples/complete-redis/outputs.tf
new file mode 100644
index 0000000..135186b
--- /dev/null
+++ b/examples/complete-redis/outputs.tf
@@ -0,0 +1,11 @@
+##############################################################################
+# Outputs
+##############################################################################
+
+#output "myoutput" {
+# description = "Description of my output"
+# value = "value"
+# depends_on = []
+#}
+
+##############################################################################
diff --git a/examples/complete-redis/provider.tf b/examples/complete-redis/provider.tf
index 11762ea..3d32b7e 100644
--- a/examples/complete-redis/provider.tf
+++ b/examples/complete-redis/provider.tf
@@ -6,4 +6,4 @@
provider "ibm" {
region = var.location
-}
\ No newline at end of file
+}
diff --git a/examples/complete-redis/variables.tf b/examples/complete-redis/variables.tf
index 3bf247a..f9fa15e 100644
--- a/examples/complete-redis/variables.tf
+++ b/examples/complete-redis/variables.tf
@@ -199,4 +199,4 @@ variable "memory_rate_units" {
default = null
type = string
description = "Auto Scaling Memory Rate: Units "
-}
\ No newline at end of file
+}
diff --git a/examples/complete-redis/versions.tf b/examples/complete-redis/versions.tf
index 7589c20..689098e 100644
--- a/examples/complete-redis/versions.tf
+++ b/examples/complete-redis/versions.tf
@@ -3,10 +3,11 @@
# Copyright 2020 IBM
###########################################################
terraform {
- required_version = ">=0.13"
+ required_version = ">= 1.0.0"
required_providers {
ibm = {
- source = "IBM-Cloud/ibm"
+ source = "IBM-Cloud/ibm"
+ version = "1.41.1"
}
}
-}
\ No newline at end of file
+}
diff --git a/examples/service-credentials/README.md b/examples/service-credentials/README.md
index 6032cc6..d4edea0 100644
--- a/examples/service-credentials/README.md
+++ b/examples/service-credentials/README.md
@@ -8,7 +8,7 @@ provider "ibm" {
}
-module "db-service-credentials" {
+module "db_service_credentials" {
source = "../../modules/service-credentials"
db_name = var.db_name
key_name = var.key_name
@@ -18,18 +18,41 @@ module "db-service-credentials" {
```
+## Requirements
+
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [ibm](#requirement\_ibm) | 1.41.1 |
+
+## Modules
+
+| Name | Source | Version |
+|------|--------|---------|
+| [db\_service\_credentials](#module\_db\_service\_credentials) | ../../modules/service-credentials | n/a |
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [ibm_resource_group.resource_group](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/data-sources/resource_group) | data source |
+
## Inputs
-| Name | Description | Type | Default | Required |
-|----------------------|---------------------------------------------------|----------|---------|----------|
-| db_name | Existing db Name. | string | n/a | yes |
-| ibm_region | Provider level region. | string | n/a | no |
-| resource_group | Name of the resource group | string | n/a | no |
-| location | Location to which DB instance belongs to | string | n/a | no |
-| key_name | Name of key to be created. | string | n/a | yes |
-| key_role | Name of the user role | string | n/a | yes |
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [db\_name](#input\_db\_name) | Name of an existing Database | `string` | n/a | yes |
+| [ibm\_region](#input\_ibm\_region) | IBM Provider level region | `string` | `"us-south"` | no |
+| [key\_name](#input\_key\_name) | Name of the Key instance to be created | `string` | n/a | yes |
+| [key\_role](#input\_key\_role) | Name of a user role. Valid roles are Viewer, Administrator, Operator, Editor. | `string` | `"Viewer"` | no |
+| [location](#input\_location) | Location in which DB instance exists | `string` | `null` | no |
+| [resource\_group](#input\_resource\_group) | Name of the resource group, DB instance belongs to | `string` | `null` | no |
+## Outputs
+| Name | Description |
+|------|-------------|
+| [key\_id](#output\_key\_id) | The ID of the key |
## Usage
@@ -43,6 +66,7 @@ terraform plan
```
terraform apply
```
-## Note
-All optional fields are given value `null` in varaible.tf file. User can configure the same by overwriting with appropriate values.
+## NOTE
+
+* If the following attributes `database_version`,`memory_allocation`,`disk_allocation`,`cpu_allocation` are provided with null values, then API will create a database with the default values. These default values which are provided by API may differ and are not maintained by terraform.
diff --git a/examples/service-credentials/main.tf b/examples/service-credentials/main.tf
index ae11038..5505ad6 100644
--- a/examples/service-credentials/main.tf
+++ b/examples/service-credentials/main.tf
@@ -11,11 +11,11 @@ data "ibm_resource_group" "resource_group" {
name = var.resource_group != null ? var.resource_group : "default"
}
-module "db-service-credentials" {
+module "db_service_credentials" {
source = "../../modules/service-credentials"
db_name = var.db_name
location = var.location
resource_group_id = data.ibm_resource_group.resource_group.id
key_name = var.key_name
key_role = var.key_role
-}
\ No newline at end of file
+}
diff --git a/examples/service-credentials/outputs.tf b/examples/service-credentials/outputs.tf
index eec0cb6..fb44609 100644
--- a/examples/service-credentials/outputs.tf
+++ b/examples/service-credentials/outputs.tf
@@ -5,5 +5,5 @@
output "key_id" {
description = "The ID of the key"
- value = module.db-service-credentials.key_id
-}
\ No newline at end of file
+ value = module.db_service_credentials.key_id
+}
diff --git a/examples/service-credentials/versions.tf b/examples/service-credentials/versions.tf
index 5d1c0a1..f835fe4 100644
--- a/examples/service-credentials/versions.tf
+++ b/examples/service-credentials/versions.tf
@@ -4,10 +4,11 @@
########################
terraform {
- required_version = ">=0.13"
+ required_version = ">= 1.0.0"
required_providers {
ibm = {
- source = "IBM-Cloud/ibm"
+ source = "IBM-Cloud/ibm"
+ version = "1.41.1"
}
}
-}
\ No newline at end of file
+}
diff --git a/examples/simple-elasticsearch/README.md b/examples/simple-elasticsearch/README.md
index dc06ac1..afdfa21 100644
--- a/examples/simple-elasticsearch/README.md
+++ b/examples/simple-elasticsearch/README.md
@@ -7,7 +7,7 @@ This example is used to provision simple `databases for elasticsearch` Databas
data "ibm_resource_group" "resource_group" {
name = var.resource_group
}
-module "database_simple-elasticsearch" {
+module "database_simple_elasticsearch" {
source = "../../modules/elasticsearch"
location = var.location
plan = var.plan
@@ -23,24 +23,45 @@ module "database_simple-elasticsearch" {
```
+## Requirements
+
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [ibm](#requirement\_ibm) | 1.41.1 |
+
+## Modules
+
+| Name | Source | Version |
+|------|--------|---------|
+| [database\_simple\_elasticsearch](#module\_database\_simple\_elasticsearch) | ../../modules/elasticsearch | n/a |
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [ibm_resource_group.resource_group](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/data-sources/resource_group) | data source |
+
## Inputs
-| Name | Description | Type | Default | Required |
-|---------------------------------------|-------------------------------------------------------------------|----------|---------|----------|
-| resource_group | Resource Group Name. | string | n/a | yes |
-| location | The location or the region in which Database instance exists. | string | n/a | yes |
-| plan | The plan type of the Database instance. | string | standard| yes |
-| service_name | Resource instance name for example, my Database instance. | string | n/a | yes |
-| tags | Tags for the database | set(str) | n/a | no |
-| memory_allocation | Memory allocation required for database. | number | n/a | no |
-| disk_allocation | Disk allocation required for database | number | n/a | no |
-| cpu_allocation | CPU allocation required for database. | number | n/a | no |
-| database_version | The database version to provision if specified. | string | n/a | no |
-| service_endpoints | Types of the service endpoints. | string | public | no |
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [cpu\_allocation](#input\_cpu\_allocation) | CPU allocation required for database | `number` | `null` | no |
+| [database\_version](#input\_database\_version) | The database version to provision if specified | `string` | `null` | no |
+| [disk\_allocation](#input\_disk\_allocation) | Disk allocation required for database | `number` | `null` | no |
+| [location](#input\_location) | The location or the region in which Database instance exists | `string` | n/a | yes |
+| [memory\_allocation](#input\_memory\_allocation) | Memory allocation required for database | `number` | `null` | no |
+| [resource\_group](#input\_resource\_group) | Resource Group Name | `string` | n/a | yes |
+| [service\_endpoints](#input\_service\_endpoints) | Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. | `string` | `null` | no |
+| [service\_name](#input\_service\_name) | Resource instance name for example, my Database instance | `string` | n/a | yes |
+| [tags](#input\_tags) | Tags for the database | `set(string)` | `null` | no |
-
+## Outputs
-NOTE: We can configure the list of users, whitelist by entering respective details in input.tfvars.
+| Name | Description |
+|------|-------------|
+| [simple\_elasticsearch](#output\_simple\_elasticsearch) | simple elastic search |
+
## Usage
@@ -53,8 +74,7 @@ terraform plan
```
terraform apply
```
-## Note
-All optional fields are given value `null` in varaible.tf file. User can configure the same by overwriting with appropriate values.
+## NOTE
-* If the following attributes `database_version`,`memory_allocation`,`disk_allocation`,`cpu_allocation` are provided with null values, then API will create a database with the default values. These default values which are provided by API may differ and are not maintained by terraform.
\ No newline at end of file
+* If the following attributes `database_version`,`memory_allocation`,`disk_allocation`,`cpu_allocation` are provided with null values, then API will create a database with the default values. These default values which are provided by API may differ and are not maintained by terraform.
diff --git a/examples/simple-elasticsearch/main.tf b/examples/simple-elasticsearch/main.tf
index ed0d66f..14bd6d7 100644
--- a/examples/simple-elasticsearch/main.tf
+++ b/examples/simple-elasticsearch/main.tf
@@ -6,7 +6,7 @@
data "ibm_resource_group" "resource_group" {
name = var.resource_group
}
-module "database_simple-elasticsearch" {
+module "database_simple_elasticsearch" {
source = "../../modules/elasticsearch"
location = var.location
plan = "standard"
@@ -18,4 +18,4 @@ module "database_simple-elasticsearch" {
cpu_allocation = var.cpu_allocation
database_version = var.database_version
service_endpoints = var.service_endpoints
-}
\ No newline at end of file
+}
diff --git a/examples/simple-elasticsearch/outputs.tf b/examples/simple-elasticsearch/outputs.tf
index 0932a37..c77f60c 100644
--- a/examples/simple-elasticsearch/outputs.tf
+++ b/examples/simple-elasticsearch/outputs.tf
@@ -3,7 +3,7 @@
# Copyright 2020 IBM
###########################################################
-output "simple-elasticsearch" {
- value = module.database_simple-elasticsearch
- sensitive = true
-}
\ No newline at end of file
+output "simple_elasticsearch" {
+ description = "simple elastic search"
+ value = module.database_simple_elasticsearch
+}
diff --git a/examples/simple-elasticsearch/provider.tf b/examples/simple-elasticsearch/provider.tf
index 8ae474b..f13072e 100644
--- a/examples/simple-elasticsearch/provider.tf
+++ b/examples/simple-elasticsearch/provider.tf
@@ -6,4 +6,4 @@
provider "ibm" {
#
region = var.location
-}
\ No newline at end of file
+}
diff --git a/examples/simple-elasticsearch/versions.tf b/examples/simple-elasticsearch/versions.tf
index 5d1c0a1..f835fe4 100644
--- a/examples/simple-elasticsearch/versions.tf
+++ b/examples/simple-elasticsearch/versions.tf
@@ -4,10 +4,11 @@
########################
terraform {
- required_version = ">=0.13"
+ required_version = ">= 1.0.0"
required_providers {
ibm = {
- source = "IBM-Cloud/ibm"
+ source = "IBM-Cloud/ibm"
+ version = "1.41.1"
}
}
-}
\ No newline at end of file
+}
diff --git a/examples/simple-etcd/README.md b/examples/simple-etcd/README.md
index cc28b61..f342d41 100644
--- a/examples/simple-etcd/README.md
+++ b/examples/simple-etcd/README.md
@@ -7,7 +7,7 @@ This example is used to provision simple `databases for elasticsearch` Databas
data "ibm_resource_group" "resource_group" {
name = var.resource_group
}
-module "database_simple-etcd" {
+module "database_simple_etcd" {
source = "../../modules/etcd"
location = var.location
plan = var.plan
@@ -23,24 +23,45 @@ module "database_simple-etcd" {
```
+## Requirements
+
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [ibm](#requirement\_ibm) | 1.41.1 |
+
+## Modules
+
+| Name | Source | Version |
+|------|--------|---------|
+| [database\_simple\_etcd](#module\_database\_simple\_etcd) | ../../modules/etcd | n/a |
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [ibm_resource_group.resource_group](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/data-sources/resource_group) | data source |
+
## Inputs
-| Name | Description | Type | Default | Required |
-|---------------------------------------|-------------------------------------------------------------------|----------|---------|----------|
-| resource_group | Resource Group Name. | string | n/a | yes |
-| location | The location or the region in which Database instance exists. | string | n/a | yes |
-| plan | The plan type of the Database instance. | string | standard| yes |
-| service_name | Resource instance name for example, my Database instance. | string | n/a | yes |
-| tags | Tags for the database | set(str) | n/a | no |
-| memory_allocation | Memory allocation required for database. | number | n/a | no |
-| disk_allocation | Disk allocation required for database | number | n/a | no |
-| cpu_allocation | CPU allocation required for database. | number | n/a | no |
-| database_version | The database version to provision if specified. | string | n/a | no |
-| service_endpoints | Types of the service endpoints. | string | public | no |
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [cpu\_allocation](#input\_cpu\_allocation) | CPU allocation required for database | `number` | `null` | no |
+| [database\_version](#input\_database\_version) | The database version to provision if specified | `string` | `null` | no |
+| [disk\_allocation](#input\_disk\_allocation) | Disk allocation required for database | `number` | `null` | no |
+| [location](#input\_location) | The location or the region in which Database instance exists | `string` | n/a | yes |
+| [memory\_allocation](#input\_memory\_allocation) | Memory allocation required for database | `number` | `null` | no |
+| [resource\_group](#input\_resource\_group) | Resource Group Name | `string` | n/a | yes |
+| [service\_endpoints](#input\_service\_endpoints) | Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. | `string` | `null` | no |
+| [service\_name](#input\_service\_name) | Resource instance name for example, my Database instance | `string` | n/a | yes |
+| [tags](#input\_tags) | Tags for the database | `set(string)` | `null` | no |
-
+## Outputs
-NOTE: We can configure the list of users, whitelist by entering respective details in input.tfvars.
+| Name | Description |
+|------|-------------|
+| [simple\_etcd](#output\_simple\_etcd) | simple etcd |
+
## Usage
@@ -53,8 +74,7 @@ terraform plan
```
terraform apply
```
-## Note
-All optional fields are given value `null` in varaible.tf file. User can configure the same by overwriting with appropriate values.
+## NOTE
-* If the following attributes `database_version`,`memory_allocation`,`disk_allocation`,`cpu_allocation` are provided with null values, then API will create a database with the default values. These default values which are provided by API may differ and are not maintained by terraform.
\ No newline at end of file
+* If the following attributes `database_version`,`memory_allocation`,`disk_allocation`,`cpu_allocation` are provided with null values, then API will create a database with the default values. These default values which are provided by API may differ and are not maintained by terraform.
diff --git a/examples/simple-etcd/main.tf b/examples/simple-etcd/main.tf
index 026ffd0..9d5128c 100644
--- a/examples/simple-etcd/main.tf
+++ b/examples/simple-etcd/main.tf
@@ -6,7 +6,7 @@
data "ibm_resource_group" "resource_group" {
name = var.resource_group
}
-module "database_simple-etcd" {
+module "database_simple_etcd" {
source = "../../modules/etcd"
location = var.location
plan = "standard"
@@ -18,4 +18,4 @@ module "database_simple-etcd" {
cpu_allocation = var.cpu_allocation
database_version = var.database_version
service_endpoints = var.service_endpoints
-}
\ No newline at end of file
+}
diff --git a/examples/simple-etcd/outputs.tf b/examples/simple-etcd/outputs.tf
index bc7f8b0..5fcdb30 100644
--- a/examples/simple-etcd/outputs.tf
+++ b/examples/simple-etcd/outputs.tf
@@ -3,7 +3,7 @@
# Copyright 2020 IBM
###########################################################
-output "simple-etcd" {
- value = module.database_simple-etcd
- sensitive = true
-}
\ No newline at end of file
+output "simple_etcd" {
+ description = "simple etcd"
+ value = module.database_simple_etcd
+}
diff --git a/examples/simple-etcd/provider.tf b/examples/simple-etcd/provider.tf
index 138c7ae..6b6ef1b 100644
--- a/examples/simple-etcd/provider.tf
+++ b/examples/simple-etcd/provider.tf
@@ -6,4 +6,4 @@
provider "ibm" {
region = var.location
-}
\ No newline at end of file
+}
diff --git a/examples/simple-etcd/versions.tf b/examples/simple-etcd/versions.tf
index 5d1c0a1..f835fe4 100644
--- a/examples/simple-etcd/versions.tf
+++ b/examples/simple-etcd/versions.tf
@@ -4,10 +4,11 @@
########################
terraform {
- required_version = ">=0.13"
+ required_version = ">= 1.0.0"
required_providers {
ibm = {
- source = "IBM-Cloud/ibm"
+ source = "IBM-Cloud/ibm"
+ version = "1.41.1"
}
}
-}
\ No newline at end of file
+}
diff --git a/examples/simple-mongo/README.md b/examples/simple-mongo/README.md
index bf9597a..2df12f8 100644
--- a/examples/simple-mongo/README.md
+++ b/examples/simple-mongo/README.md
@@ -7,7 +7,7 @@ This example is used to provision simple `databases for elasticsearch` Databas
data "ibm_resource_group" "resource_group" {
name = var.resource_group
}
-module "database_simple-mongo" {
+module "database_simple_mongo" {
source = "../../modules/mongo"
location = var.location
plan = var.plan
@@ -23,24 +23,45 @@ module "database_simple-mongo" {
```
+## Requirements
+
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [ibm](#requirement\_ibm) | 1.41.1 |
+
+## Modules
+
+| Name | Source | Version |
+|------|--------|---------|
+| [database\_simple\_mongo](#module\_database\_simple\_mongo) | ../../modules/mongo | n/a |
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [ibm_resource_group.resource_group](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/data-sources/resource_group) | data source |
+
## Inputs
-| Name | Description | Type | Default | Required |
-|---------------------------------------|-------------------------------------------------------------------|----------|---------|----------|
-| resource_group | Resource Group Name. | string | n/a | yes |
-| location | The location or the region in which Database instance exists. | string | n/a | yes |
-| plan | The plan type of the Database instance. | string | standard| yes |
-| service_name | Resource instance name for example, my Database instance. | string | n/a | yes |
-| tags | Tags for the database | set(str) | n/a | no |
-| memory_allocation | Memory allocation required for database. | number | n/a | no |
-| disk_allocation | Disk allocation required for database | number | n/a | no |
-| cpu_allocation | CPU allocation required for database. | number | n/a | no |
-| database_version | The database version to provision if specified. | string | n/a | no |
-| service_endpoints | Types of the service endpoints. | string | public | no |
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [cpu\_allocation](#input\_cpu\_allocation) | CPU allocation required for database | `number` | `null` | no |
+| [database\_version](#input\_database\_version) | The database version to provision if specified | `string` | `null` | no |
+| [disk\_allocation](#input\_disk\_allocation) | Disk allocation required for database | `number` | `null` | no |
+| [location](#input\_location) | The location or the region in which Database instance exists | `string` | n/a | yes |
+| [memory\_allocation](#input\_memory\_allocation) | Memory allocation required for database | `number` | `null` | no |
+| [resource\_group](#input\_resource\_group) | Resource Group Name | `string` | n/a | yes |
+| [service\_endpoints](#input\_service\_endpoints) | Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. | `string` | `null` | no |
+| [service\_name](#input\_service\_name) | Resource instance name for example, my Database instance | `string` | n/a | yes |
+| [tags](#input\_tags) | Tags for the database | `set(string)` | `null` | no |
-
+## Outputs
-NOTE: We can configure the list of users, whitelist by entering respective details in input.tfvars.
+| Name | Description |
+|------|-------------|
+| [simple\_mongo](#output\_simple\_mongo) | simple mongo |
+
## Usage
@@ -53,8 +74,7 @@ terraform plan
```
terraform apply
```
-## Note
-All optional fields are given value `null` in varaible.tf file. User can configure the same by overwriting with appropriate values.
+## Note
-* If the following attributes `database_version`,`memory_allocation`,`disk_allocation`,`cpu_allocation` are provided with null values, then API will create a database with the default values. These default values which are provided by API may differ and are not maintained by terraform.
\ No newline at end of file
+* If the following attributes `database_version`,`memory_allocation`,`disk_allocation`,`cpu_allocation` are provided with null values, then API will create a database with the default values. These default values which are provided by API may differ and are not maintained by terraform.
diff --git a/examples/simple-mongo/main.tf b/examples/simple-mongo/main.tf
index 55dbb48..df7f0cb 100644
--- a/examples/simple-mongo/main.tf
+++ b/examples/simple-mongo/main.tf
@@ -6,7 +6,7 @@
data "ibm_resource_group" "resource_group" {
name = var.resource_group
}
-module "database_simple-mongo" {
+module "database_simple_mongo" {
source = "../../modules/mongo"
location = var.location
plan = "standard"
@@ -18,4 +18,4 @@ module "database_simple-mongo" {
cpu_allocation = var.cpu_allocation
database_version = var.database_version
service_endpoints = var.service_endpoints
-}
\ No newline at end of file
+}
diff --git a/examples/simple-mongo/outputs.tf b/examples/simple-mongo/outputs.tf
index 0575c07..e0f9a3d 100644
--- a/examples/simple-mongo/outputs.tf
+++ b/examples/simple-mongo/outputs.tf
@@ -3,7 +3,7 @@
# Copyright 2020 IBM
###########################################################
-output "simple-mongo" {
- value = module.database_simple-mongo
- sensitive = true
-}
\ No newline at end of file
+output "simple_mongo" {
+ description = "simple mongo"
+ value = module.database_simple_mongo
+}
diff --git a/examples/simple-mongo/provider.tf b/examples/simple-mongo/provider.tf
index 138c7ae..6b6ef1b 100644
--- a/examples/simple-mongo/provider.tf
+++ b/examples/simple-mongo/provider.tf
@@ -6,4 +6,4 @@
provider "ibm" {
region = var.location
-}
\ No newline at end of file
+}
diff --git a/examples/simple-mongo/versions.tf b/examples/simple-mongo/versions.tf
index 5d1c0a1..f835fe4 100644
--- a/examples/simple-mongo/versions.tf
+++ b/examples/simple-mongo/versions.tf
@@ -4,10 +4,11 @@
########################
terraform {
- required_version = ">=0.13"
+ required_version = ">= 1.0.0"
required_providers {
ibm = {
- source = "IBM-Cloud/ibm"
+ source = "IBM-Cloud/ibm"
+ version = "1.41.1"
}
}
-}
\ No newline at end of file
+}
diff --git a/examples/simple-postgresql/README.md b/examples/simple-postgresql/README.md
index 46c5835..df910a4 100644
--- a/examples/simple-postgresql/README.md
+++ b/examples/simple-postgresql/README.md
@@ -7,7 +7,7 @@ This example is used to provision simple `databases for elasticsearch` Databas
data "ibm_resource_group" "resource_group" {
name = var.resource_group
}
-module "database_simple-postgresql" {
+module "database_simple_postgresql" {
source = "../../modules/postgresql"
location = var.location
plan = var.plan
@@ -23,24 +23,45 @@ module "database_simple-postgresql" {
```
+## Requirements
+
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [ibm](#requirement\_ibm) | 1.41.1 |
+
+## Modules
+
+| Name | Source | Version |
+|------|--------|---------|
+| [database\_simple\_postgresql](#module\_database\_simple\_postgresql) | ../../modules/postgresql | n/a |
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [ibm_resource_group.resource_group](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/data-sources/resource_group) | data source |
+
## Inputs
-| Name | Description | Type | Default | Required |
-|---------------------------------------|-------------------------------------------------------------------|----------|---------|----------|
-| resource_group | Resource Group Name. | string | n/a | yes |
-| location | The location or the region in which Database instance exists. | string | n/a | yes |
-| plan | The plan type of the Database instance. | string | standard| yes |
-| service_name | Resource instance name for example, my Database instance. | string | n/a | yes |
-| tags | Tags for the database | set(str) | n/a | no |
-| memory_allocation | Memory allocation required for database. | number | n/a | no |
-| disk_allocation | Disk allocation required for database | number | n/a | no |
-| cpu_allocation | CPU allocation required for database. | number | n/a | no |
-| database_version | The database version to provision if specified. | string | n/a | no |
-| service_endpoints | Types of the service endpoints. | string | public | no |
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [cpu\_allocation](#input\_cpu\_allocation) | CPU allocation required for database | `number` | `null` | no |
+| [database\_version](#input\_database\_version) | The database version to provision if specified | `string` | `null` | no |
+| [disk\_allocation](#input\_disk\_allocation) | Disk allocation required for database | `number` | `null` | no |
+| [location](#input\_location) | The location or the region in which Database instance exists | `string` | n/a | yes |
+| [memory\_allocation](#input\_memory\_allocation) | Memory allocation required for database | `number` | `null` | no |
+| [resource\_group](#input\_resource\_group) | Resource Group Name | `string` | n/a | yes |
+| [service\_endpoints](#input\_service\_endpoints) | Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. | `string` | `null` | no |
+| [service\_name](#input\_service\_name) | Resource instance name for example, my Database instance | `string` | n/a | yes |
+| [tags](#input\_tags) | Tags for the database | `set(string)` | `null` | no |
-
+## Outputs
-NOTE: We can configure the list of users, whitelist by entering respective details in input.tfvars.
+| Name | Description |
+|------|-------------|
+| [simple\_postgresql](#output\_simple\_postgresql) | simple postgresql |
+
## Usage
@@ -53,8 +74,7 @@ terraform plan
```
terraform apply
```
-## Note
-All optional fields are given value `null` in varaible.tf file. User can configure the same by overwriting with appropriate values.
+## Note
-* If the following attributes `database_version`,`memory_allocation`,`disk_allocation`,`cpu_allocation` are provided with null values, then API will create a database with the default values. These default values which are provided by API may differ and are not maintained by terraform.
\ No newline at end of file
+* If the following attributes `database_version`,`memory_allocation`,`disk_allocation`,`cpu_allocation` are provided with null values, then API will create a database with the default values. These default values which are provided by API may differ and are not maintained by terraform.
diff --git a/examples/simple-postgresql/main.tf b/examples/simple-postgresql/main.tf
index f64a751..0764548 100644
--- a/examples/simple-postgresql/main.tf
+++ b/examples/simple-postgresql/main.tf
@@ -6,7 +6,7 @@
data "ibm_resource_group" "resource_group" {
name = var.resource_group
}
-module "database_simple-postgresql" {
+module "database_simple_postgresql" {
source = "../../modules/postgresql"
location = var.location
plan = "standard"
@@ -18,4 +18,4 @@ module "database_simple-postgresql" {
cpu_allocation = var.cpu_allocation
database_version = var.database_version
service_endpoints = var.service_endpoints
-}
\ No newline at end of file
+}
diff --git a/examples/simple-postgresql/outputs.tf b/examples/simple-postgresql/outputs.tf
index 9151e83..1835544 100644
--- a/examples/simple-postgresql/outputs.tf
+++ b/examples/simple-postgresql/outputs.tf
@@ -3,7 +3,7 @@
# Copyright 2020 IBM
###########################################################
-output "simple-postgresql" {
- value = module.database_simple-postgresql
- sensitive = true
-}
\ No newline at end of file
+output "simple_postgresql" {
+ description = "simple postgresql"
+ value = module.database_simple_postgresql
+}
diff --git a/examples/simple-postgresql/provider.tf b/examples/simple-postgresql/provider.tf
index 138c7ae..6b6ef1b 100644
--- a/examples/simple-postgresql/provider.tf
+++ b/examples/simple-postgresql/provider.tf
@@ -6,4 +6,4 @@
provider "ibm" {
region = var.location
-}
\ No newline at end of file
+}
diff --git a/examples/simple-postgresql/versions.tf b/examples/simple-postgresql/versions.tf
index 5d1c0a1..f835fe4 100644
--- a/examples/simple-postgresql/versions.tf
+++ b/examples/simple-postgresql/versions.tf
@@ -4,10 +4,11 @@
########################
terraform {
- required_version = ">=0.13"
+ required_version = ">= 1.0.0"
required_providers {
ibm = {
- source = "IBM-Cloud/ibm"
+ source = "IBM-Cloud/ibm"
+ version = "1.41.1"
}
}
-}
\ No newline at end of file
+}
diff --git a/examples/simple-rabbitmq/README.md b/examples/simple-rabbitmq/README.md
index 0367cd6..903fb88 100644
--- a/examples/simple-rabbitmq/README.md
+++ b/examples/simple-rabbitmq/README.md
@@ -7,7 +7,7 @@ This example is used to provision simple `databases for elasticsearch` Databas
data "ibm_resource_group" "resource_group" {
name = var.resource_group
}
-module "database_simple-rabbitmq" {
+module "database_simple_rabbitmq" {
source = "../../modules/rabbitmq"
location = var.location
plan = var.plan
@@ -23,24 +23,45 @@ module "database_simple-rabbitmq" {
```
+## Requirements
+
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [ibm](#requirement\_ibm) | 1.41.1 |
+
+## Modules
+
+| Name | Source | Version |
+|------|--------|---------|
+| [database\_simple\_rabbitmq](#module\_database\_simple\_rabbitmq) | ../../modules/rabbitmq | n/a |
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [ibm_resource_group.resource_group](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/data-sources/resource_group) | data source |
+
## Inputs
-| Name | Description | Type | Default | Required |
-|---------------------------------------|-------------------------------------------------------------------|----------|---------|----------|
-| resource_group | Resource Group Name. | string | n/a | yes |
-| location | The location or the region in which Database instance exists. | string | n/a | yes |
-| plan | The plan type of the Database instance. | string | standard| yes |
-| service_name | Resource instance name for example, my Database instance. | string | n/a | yes |
-| tags | Tags for the database | set(str) | n/a | no |
-| memory_allocation | Memory allocation required for database. | number | n/a | no |
-| disk_allocation | Disk allocation required for database | number | n/a | no |
-| cpu_allocation | CPU allocation required for database. | number | n/a | no |
-| database_version | The database version to provision if specified. | string | n/a | no |
-| service_endpoints | Types of the service endpoints. | string | public | no |
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [cpu\_allocation](#input\_cpu\_allocation) | CPU allocation required for database | `number` | `null` | no |
+| [database\_version](#input\_database\_version) | The database version to provision if specified | `string` | `null` | no |
+| [disk\_allocation](#input\_disk\_allocation) | Disk allocation required for database | `number` | `null` | no |
+| [location](#input\_location) | The location or the region in which Database instance exists | `string` | n/a | yes |
+| [memory\_allocation](#input\_memory\_allocation) | Memory allocation required for database | `number` | `null` | no |
+| [resource\_group](#input\_resource\_group) | Resource Group Name | `string` | n/a | yes |
+| [service\_endpoints](#input\_service\_endpoints) | Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. | `string` | `null` | no |
+| [service\_name](#input\_service\_name) | Resource instance name for example, my Database instance | `string` | n/a | yes |
+| [tags](#input\_tags) | Tags for the database | `set(string)` | `null` | no |
-
+## Outputs
-NOTE: We can configure the list of users, whitelist by entering respective details in input.tfvars.
+| Name | Description |
+|------|-------------|
+| [simple\_rabbitmq](#output\_simple\_rabbitmq) | simple rabbitmq |
+
## Usage
@@ -53,8 +74,8 @@ terraform plan
```
terraform apply
```
+
## Note
-All optional fields are given value `null` in varaible.tf file. User can configure the same by overwriting with appropriate values.
-* If the following attributes `database_version`,`memory_allocation`,`disk_allocation`,`cpu_allocation` are provided with null values, then API will create a database with the default values. These default values which are provided by API may differ and are not maintained by terraform.
\ No newline at end of file
+* If the following attributes `database_version`,`memory_allocation`,`disk_allocation`,`cpu_allocation` are provided with null values, then API will create a database with the default values. These default values which are provided by API may differ and are not maintained by terraform.
diff --git a/examples/simple-rabbitmq/main.tf b/examples/simple-rabbitmq/main.tf
index c00ed9a..4494eba 100644
--- a/examples/simple-rabbitmq/main.tf
+++ b/examples/simple-rabbitmq/main.tf
@@ -6,7 +6,7 @@
data "ibm_resource_group" "resource_group" {
name = var.resource_group
}
-module "database_simple-rabbitmq" {
+module "database_simple_rabbitmq" {
source = "../../modules/rabbitmq"
location = var.location
plan = "standard"
@@ -18,4 +18,4 @@ module "database_simple-rabbitmq" {
cpu_allocation = var.cpu_allocation
database_version = var.database_version
service_endpoints = var.service_endpoints
-}
\ No newline at end of file
+}
diff --git a/examples/simple-rabbitmq/outputs.tf b/examples/simple-rabbitmq/outputs.tf
index ec41fbd..03f0ec2 100644
--- a/examples/simple-rabbitmq/outputs.tf
+++ b/examples/simple-rabbitmq/outputs.tf
@@ -3,7 +3,7 @@
# Copyright 2020 IBM
###########################################################
-output "simple-rabbitmq" {
- value = module.database_simple-rabbitmq
- sensitive = true
-}
\ No newline at end of file
+output "simple_rabbitmq" {
+ description = "simple rabbitmq"
+ value = module.database_simple_rabbitmq
+}
diff --git a/examples/simple-rabbitmq/provider.tf b/examples/simple-rabbitmq/provider.tf
index 138c7ae..6b6ef1b 100644
--- a/examples/simple-rabbitmq/provider.tf
+++ b/examples/simple-rabbitmq/provider.tf
@@ -6,4 +6,4 @@
provider "ibm" {
region = var.location
-}
\ No newline at end of file
+}
diff --git a/examples/simple-rabbitmq/versions.tf b/examples/simple-rabbitmq/versions.tf
index 5d1c0a1..f835fe4 100644
--- a/examples/simple-rabbitmq/versions.tf
+++ b/examples/simple-rabbitmq/versions.tf
@@ -4,10 +4,11 @@
########################
terraform {
- required_version = ">=0.13"
+ required_version = ">= 1.0.0"
required_providers {
ibm = {
- source = "IBM-Cloud/ibm"
+ source = "IBM-Cloud/ibm"
+ version = "1.41.1"
}
}
-}
\ No newline at end of file
+}
diff --git a/examples/simple-redis/README.md b/examples/simple-redis/README.md
index 934347e..2172b21 100644
--- a/examples/simple-redis/README.md
+++ b/examples/simple-redis/README.md
@@ -7,7 +7,7 @@ This example is used to provision simple `databases for elasticsearch` Databas
data "ibm_resource_group" "resource_group" {
name = var.resource_group
}
-module "database_simple-redis" {
+module "database_simple_redis" {
source = "../../modules/redis"
location = var.location
plan = var.plan
@@ -23,24 +23,45 @@ module "database_simple-redis" {
```
+## Requirements
+
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [ibm](#requirement\_ibm) | 1.41.1 |
+
+## Modules
+
+| Name | Source | Version |
+|------|--------|---------|
+| [database\_simple\_redis](#module\_database\_simple\_redis) | ../../modules/redis | n/a |
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [ibm_resource_group.resource_group](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/data-sources/resource_group) | data source |
+
## Inputs
-| Name | Description | Type | Default | Required |
-|---------------------------------------|-------------------------------------------------------------------|----------|---------|----------|
-| resource_group | Resource Group Name. | string | n/a | yes |
-| location | The location or the region in which Database instance exists. | string | n/a | yes |
-| plan | The plan type of the Database instance. | string | standard| yes |
-| service_name | Resource instance name for example, my Database instance. | string | n/a | yes |
-| tags | Tags for the database | set(str) | n/a | no |
-| memory_allocation | Memory allocation required for database. | number | n/a | no |
-| disk_allocation | Disk allocation required for database | number | n/a | no |
-| cpu_allocation | CPU allocation required for database. | number | n/a | no |
-| database_version | The database version to provision if specified. | string | n/a | no |
-| service_endpoints | Types of the service endpoints. | string | public | no |
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [cpu\_allocation](#input\_cpu\_allocation) | CPU allocation required for database | `number` | `null` | no |
+| [database\_version](#input\_database\_version) | The database version to provision if specified | `string` | `null` | no |
+| [disk\_allocation](#input\_disk\_allocation) | Disk allocation required for database | `number` | `null` | no |
+| [location](#input\_location) | The location or the region in which Database instance exists | `string` | n/a | yes |
+| [memory\_allocation](#input\_memory\_allocation) | Memory allocation required for database | `number` | `null` | no |
+| [resource\_group](#input\_resource\_group) | Resource Group Name | `string` | n/a | yes |
+| [service\_endpoints](#input\_service\_endpoints) | Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. | `string` | `null` | no |
+| [service\_name](#input\_service\_name) | Resource instance name for example, my Database instance | `string` | n/a | yes |
+| [tags](#input\_tags) | Tags for the database | `set(string)` | `null` | no |
-
+## Outputs
-NOTE: We can configure the list of users, whitelist by entering respective details in input.tfvars.
+| Name | Description |
+|------|-------------|
+| [simple\_redis](#output\_simple\_redis) | simple reids |
+
## Usage
@@ -53,8 +74,7 @@ terraform plan
```
terraform apply
```
-## Note
-All optional fields are given value `null` in varaible.tf file. User can configure the same by overwriting with appropriate values.
+## Note
-* If the following attributes `database_version`,`memory_allocation`,`disk_allocation`,`cpu_allocation` are provided with null values, then API will create a database with the default values. These default values which are provided by API may differ and are not maintained by terraform.
\ No newline at end of file
+* If the following attributes `database_version`,`memory_allocation`,`disk_allocation`,`cpu_allocation` are provided with null values, then API will create a database with the default values. These default values which are provided by API may differ and are not maintained by terraform.
diff --git a/examples/simple-redis/main.tf b/examples/simple-redis/main.tf
index 0284199..cca77f9 100644
--- a/examples/simple-redis/main.tf
+++ b/examples/simple-redis/main.tf
@@ -6,7 +6,7 @@
data "ibm_resource_group" "resource_group" {
name = var.resource_group
}
-module "database_simple-redis" {
+module "database_simple_redis" {
source = "../../modules/redis"
location = var.location
plan = "standard"
@@ -18,4 +18,4 @@ module "database_simple-redis" {
cpu_allocation = var.cpu_allocation
database_version = var.database_version
service_endpoints = var.service_endpoints
-}
\ No newline at end of file
+}
diff --git a/examples/simple-redis/outputs.tf b/examples/simple-redis/outputs.tf
index 024be65..c481683 100644
--- a/examples/simple-redis/outputs.tf
+++ b/examples/simple-redis/outputs.tf
@@ -3,7 +3,8 @@
# Copyright 2020 IBM
###########################################################
-output "simple-redis" {
- value = module.database_simple-redis
- sensitive = true
-}
\ No newline at end of file
+output "simple_redis" {
+ description = "simple reids"
+ value = module.database_simple_redis
+ sensitive = true
+}
diff --git a/examples/simple-redis/provider.tf b/examples/simple-redis/provider.tf
index 138c7ae..6b6ef1b 100644
--- a/examples/simple-redis/provider.tf
+++ b/examples/simple-redis/provider.tf
@@ -6,4 +6,4 @@
provider "ibm" {
region = var.location
-}
\ No newline at end of file
+}
diff --git a/examples/simple-redis/versions.tf b/examples/simple-redis/versions.tf
index 5d1c0a1..f835fe4 100644
--- a/examples/simple-redis/versions.tf
+++ b/examples/simple-redis/versions.tf
@@ -4,10 +4,11 @@
########################
terraform {
- required_version = ">=0.13"
+ required_version = ">= 1.0.0"
required_providers {
ibm = {
- source = "IBM-Cloud/ibm"
+ source = "IBM-Cloud/ibm"
+ version = "1.41.1"
}
}
-}
\ No newline at end of file
+}
diff --git a/main.tf b/main.tf
new file mode 100644
index 0000000..ddce992
--- /dev/null
+++ b/main.tf
@@ -0,0 +1,11 @@
+##############################################################################
+# List of modules or resources
+##############################################################################
+
+# module "mymodule" {
+# variable1 = "variable1 value"
+# variable2 = "variable2 value"
+# variable3 = "variable3 value"
+# }
+
+##############################################################################
diff --git a/module-metadata.json b/module-metadata.json
new file mode 100644
index 0000000..805cc52
--- /dev/null
+++ b/module-metadata.json
@@ -0,0 +1,12 @@
+{
+ "path": ".",
+ "variables": {},
+ "outputs": {},
+ "required_core": [
+ "\u003e= 1.0.0"
+ ],
+ "required_providers": {},
+ "managed_resources": {},
+ "data_resources": {},
+ "module_calls": {}
+}
diff --git a/modules/elasticsearch/README.md b/modules/elasticsearch/README.md
index 34e70e7..1984aa6 100644
--- a/modules/elasticsearch/README.md
+++ b/modules/elasticsearch/README.md
@@ -1,92 +1,127 @@
# Module database_elasticsearch
-This module is used to provision databases for Elasticsearch Database on IBM Cloud Infrastructure.
+This module is used to provision databases for elastic search Database on IBM Cloud Infrastructure.
## Example Usage
```
data "ibm_resource_group" "resource_group" {
name = var.resource_group
}
-module "database_simple-icd" {
- source = "../../modules/elasticsearch"
- location = var.location
- plan = var.plan
- service_name = var.service_name
- resource_group_id = data.ibm_resource_group.resource_group.id
- tags = var.tags
- memory_allocation = var.memory_allocation
- disk_allocation = var.disk_allocation
- cpu_allocation = var.cpu_allocation
- database_version = var.database_version
- service_endpoints = var.service_endpoints
+module "database_elasticsearch" {
+ source = "../../modules/elasticsearch"
+ resource_group_id = data.ibm_resource_group.resource_group.id
+ service_name = var.name
+ plan = var.plan
+ location = var.location
+ database_version = var.database_version
+ memory_allocation = var.memory_allocation
+ disk_allocation = var.disk_allocation
+ cpu_allocation = var.cpu_allocation
+ service_endpoints = var.service_endpoints
+ backup_id = var.backup_id
+ remote_leader_id = var.remote_leader_id
+ kms_instance = var.kms_instance
+ disk_encryption_key = var.disk_encryption_key
+ backup_encryption_key = var.backup_encryption_key
+ tags = var.tags
+ point_in_time_recovery_deployment_id = var.point_in_time_recovery_deployment_id
+ point_in_time_recovery_time = var.point_in_time_recovery_time
+ users = var.users
+ whitelist = var.whitelist
+ cpu_rate_increase_percent = var.cpu_rate_increase_percent
+ cpu_rate_limit_count_per_member = var.cpu_rate_limit_count_per_member
+ cpu_rate_period_seconds = var.cpu_rate_period_seconds
+ cpu_rate_units = var.cpu_rate_units
+ disk_capacity_enabled = var.disk_capacity_enabled
+ disk_free_space_less_than_percent = var.disk_free_space_less_than_percent
+ disk_io_above_percent = var.disk_io_above_percent
+ disk_io_enabled = var.disk_io_enabled
+ disk_io_over_period = var.disk_io_over_period
+ disk_rate_increase_percent = var.disk_rate_increase_percent
+ disk_rate_limit_mb_per_member = var.disk_rate_limit_mb_per_member
+ disk_rate_period_seconds = var.disk_rate_period_seconds
+ disk_rate_units = var.disk_rate_units
+ memory_io_above_percent = var.memory_io_above_percent
+ memory_io_enabled = var.memory_io_enabled
+ memory_io_over_period = var.memory_io_over_period
+ memory_rate_increase_percent = var.memory_rate_increase_percent
+ memory_rate_limit_mb_per_member = var.memory_rate_limit_mb_per_member
+ memory_rate_period_seconds = var.memory_rate_period_seconds
+ memory_rate_units = var.memory_rate_units
}
```
+## Requirements
+
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [ibm](#requirement\_ibm) | 1.41.1 |
+
+## Modules
+
+No modules.
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [ibm_database.elasticsearch](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/resources/database) | resource |
+
## Inputs
-| Name | Description | Type | Default | Required |
-|---------------------------------------|-------------------------------------------------------------------|----------|---------|----------|
-| resource_group_id | Resource Group Id. | string | n/a | yes |
-| service_name | Resource instance name for example, my Database instance. | string | n/a | yes |
-| plan | The plan type of the Database instance. | string | standard| yes |
-| location | The location or the region in which Database instance exists. | string | n/a | yes |
-| adminpassword | The admin user password for the instance. | string | n/a | no |
-| database_version | The database version to provision if specified. | string | n/a | no |
-| memory_allocation | Memory allocation required for database. | number | n/a | no |
-| disk_allocation | Disk allocation required for database | number | n/a | no |
-| cpu_allocation | CPU allocation required for database. | number | n/a | no |
-| service_endpoints | Types of the service endpoints. | string | public | no |
-| backup_id | The CRN of backup source database. | string | n/a | no |
-| remote_leader_id | The CRN of leader database. | string | n/a | no |
-| kms_instance | The CRN of Key protect instance. | string | n/a | no |
-| disk_encryption_key | The CRN of Key protect key | string | n/a | no |
-| backup_encryption_key | backup_encryption_key_crn | string | n/a | no |
-| tags | Tags for the database | set(str) | n/a | no |
-| point_in_time_recovery_deployment_id |The CRN of source instance. | string | n/a | no |
-| point_in_time_recovery_time | The point in time recovery time stamp of the deployed instance | string | n/a | no |
-| users | Database Users. It is set of username and passwords | set(obj) | n/a | no |
-| whitelist | Database Whitelist It is set of IP Address and description. | set(obj) | n/a | no |
-| cpu_rate_increase_percent | Auto Scaling CPU Rate: Increase Percent | number | n/a | no |
-| cpu_rate_limit_count_per_member | Auto Scaling CPU Rate: Limit count per number. | number | n/a | no |
-| cpu_rate_period_seconds | Auto Scaling CPU Rate: Period Seconds | number | n/a | no |
-| cpu_rate_units | Auto Scaling CPU Rate: Units. | string | n/a | no |
-| disk_capacity_enabled | Auto Scaling Disk Scalar: Capacity Enabled. | bool | n/a | no |
-| disk_free_space_less_than_percent | Auto Scaling Disk Scalar: Capacity Free Space Less Than Percent | number | n/a | no |
-| disk_io_above_percent | Auto Scaling Disk Scalar: IO Utilization Above Percent. | number | n/a | no |
-| disk_io_enabled | Auto Scaling Disk Scalar: IO Utilization Enabled. | bool | n/a | no |
-| disk_io_over_period | Auto Scaling Disk Scalar: IO Utilization Over Period | string | n/a | no |
-| disk_rate_increase_percent | Auto Scaling Disk Rate: Increase Percent | number | n/a | no |
-| disk_rate_limit_mb_per_member | Auto Scaling Disk Rate: Limit mb per member | number | n/a | no |
-| disk_rate_period_seconds | Auto Scaling Disk Rate: Period Seconds | number | n/a | no |
-| disk_rate_units | Auto Scaling Disk Disk: Units. | string | n/a | no |
-| memory_io_above_percent | Auto Scaling Memory Scalar: IO Utilization Above Percent. | number | n/a | no |
-| memory_io_enabled | Auto Scaling Memory Scalar: IO Utilization Enabled. | bool | n/a | no |
-| memory_io_over_period | Auto Scaling Memory Scalar: IO Utilization Over Period | string | n/a | no |
-| memory_rate_increase_percent | Auto Scaling Memory Rate: Increase Percent | number | n/a | no |
-| memory_rate_limit_mb_per_member | Auto Scaling Memory Rate: Limit mb per member | number | n/a | no |
-| memory_rate_period_seconds | Auto Scaling Memory Rate: Period Seconds. | number | n/a | no |
-| memory_rate_units | Auto Scaling Memory Rate: Units. | string | n/a | no |
-
-## Users Inputs
-| Name | Description | Type | Default | Required |
-|--------------------------------------|-----------------------|--------|---------|----------|
-| name | Name Of the User | string | n/a | no |
-| password | User Password | string | n/a | no |
-
-## Whitelist Inputs
-
-| Name | Description | Type | Default | Required |
-|-----------------------------------------|---------------------------------------|--------|---------|----------|
-| address | Whitelist IP address in CIDR notation | string | n/a | no |
-| description | Unique white list description | string | n/a | no |
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [adminpassword](#input\_adminpassword) | The admin user password for the instance | `string` | `null` | no |
+| [backup\_encryption\_key](#input\_backup\_encryption\_key) | The Backup Encryption Key CRN | `string` | `null` | no |
+| [backup\_id](#input\_backup\_id) | The CRN of backup source database | `string` | `null` | no |
+| [cpu\_allocation](#input\_cpu\_allocation) | CPU allocation required for database | `number` | `null` | no |
+| [cpu\_rate\_increase\_percent](#input\_cpu\_rate\_increase\_percent) | Auto Scaling CPU Rate: Increase Percent | `number` | `null` | no |
+| [cpu\_rate\_limit\_count\_per\_member](#input\_cpu\_rate\_limit\_count\_per\_member) | Auto Scaling CPU Rate: Limit count per number | `number` | `null` | no |
+| [cpu\_rate\_period\_seconds](#input\_cpu\_rate\_period\_seconds) | Auto Scaling CPU Rate: Period Seconds | `number` | `null` | no |
+| [cpu\_rate\_units](#input\_cpu\_rate\_units) | Auto Scaling CPU Rate: Units | `string` | `null` | no |
+| [database\_version](#input\_database\_version) | The database version to provision if specified | `string` | `null` | no |
+| [disk\_allocation](#input\_disk\_allocation) | Disk allocation required for database | `number` | `null` | no |
+| [disk\_capacity\_enabled](#input\_disk\_capacity\_enabled) | Auto Scaling Disk Scalar: Capacity Enabled | `bool` | `null` | no |
+| [disk\_encryption\_key](#input\_disk\_encryption\_key) | The CRN of Key protect key | `string` | `null` | no |
+| [disk\_free\_space\_less\_than\_percent](#input\_disk\_free\_space\_less\_than\_percent) | Auto Scaling Disk Scalar: Capacity Free Space Less Than Percent | `number` | `null` | no |
+| [disk\_io\_above\_percent](#input\_disk\_io\_above\_percent) | Auto Scaling Disk Scalar: IO Utilization Above Percent | `number` | `null` | no |
+| [disk\_io\_enabled](#input\_disk\_io\_enabled) | Auto Scaling Disk Scalar: IO Utilization Enabled | `bool` | `null` | no |
+| [disk\_io\_over\_period](#input\_disk\_io\_over\_period) | Auto Scaling Disk Scalar: IO Utilization Over Period | `string` | `null` | no |
+| [disk\_rate\_increase\_percent](#input\_disk\_rate\_increase\_percent) | Auto Scaling Disk Rate: Increase Percent | `number` | `null` | no |
+| [disk\_rate\_limit\_mb\_per\_member](#input\_disk\_rate\_limit\_mb\_per\_member) | Auto Scaling Disk Rate: Limit mb per member | `number` | `null` | no |
+| [disk\_rate\_period\_seconds](#input\_disk\_rate\_period\_seconds) | Auto Scaling Disk Rate: Period Seconds | `number` | `null` | no |
+| [disk\_rate\_units](#input\_disk\_rate\_units) | Auto Scaling Disk Rate: Units | `string` | `null` | no |
+| [kms\_instance](#input\_kms\_instance) | The CRN of Key protect instance | `string` | `null` | no |
+| [location](#input\_location) | The location or the region in which Database instance exists | `string` | n/a | yes |
+| [memory\_allocation](#input\_memory\_allocation) | Memory allocation required for database | `number` | `null` | no |
+| [memory\_io\_above\_percent](#input\_memory\_io\_above\_percent) | Auto Scaling Memory Scalar: IO Utilization Above Percent | `number` | `null` | no |
+| [memory\_io\_enabled](#input\_memory\_io\_enabled) | Auto Scaling Memory Scalar: IO Utilization Enabled | `bool` | `null` | no |
+| [memory\_io\_over\_period](#input\_memory\_io\_over\_period) | Auto Scaling Memory Scalar: IO Utilization Over Period | `number` | `null` | no |
+| [memory\_rate\_increase\_percent](#input\_memory\_rate\_increase\_percent) | Auto Scaling Memory Rate: Increase Percent | `number` | `null` | no |
+| [memory\_rate\_limit\_mb\_per\_member](#input\_memory\_rate\_limit\_mb\_per\_member) | Auto Scaling Memory Rate: Limit mb per member | `number` | `null` | no |
+| [memory\_rate\_period\_seconds](#input\_memory\_rate\_period\_seconds) | Auto Scaling Memory Rate: Period Seconds | `number` | `null` | no |
+| [memory\_rate\_units](#input\_memory\_rate\_units) | Auto Scaling Memory Rate: Units | `string` | `null` | no |
+| [plan](#input\_plan) | The plan type of the Database instance | `string` | n/a | yes |
+| [point\_in\_time\_recovery\_deployment\_id](#input\_point\_in\_time\_recovery\_deployment\_id) | The CRN of source instance | `string` | `null` | no |
+| [point\_in\_time\_recovery\_time](#input\_point\_in\_time\_recovery\_time) | The point in time recovery time stamp of the deployed instance | `string` | `null` | no |
+| [remote\_leader\_id](#input\_remote\_leader\_id) | The CRN of leader database | `string` | `null` | no |
+| [resource\_group\_id](#input\_resource\_group\_id) | Resource Group ID | `string` | n/a | yes |
+| [service\_endpoints](#input\_service\_endpoints) | Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. | `string` | `null` | no |
+| [service\_name](#input\_service\_name) | Resource instance name for example, my Database instance | `string` | n/a | yes |
+| [tags](#input\_tags) | Tags for the database | `set(string)` | `null` | no |
+| [users](#input\_users) | Database Users. It is set of username and passwords | `set(map(string))` | `null` | no |
+| [whitelist](#input\_whitelist) | Database Whitelist It is set of IP Address and description | `set(map(string))` | `null` | no |
-
+## Outputs
-### NOTE: To make use of a particular version of module, Set the `version` argument to respective module version.
+| Name | Description |
+|------|-------------|
+| [elasticsearch](#output\_elasticsearch) | simple elastic search |
+
-NOTE: We can configure the list of users, whitelist by entering respective details in input.tfvars.
## Usage
@@ -98,4 +133,4 @@ terraform plan
```
```
terraform apply
-```
\ No newline at end of file
+```
diff --git a/modules/elasticsearch/main.tf b/modules/elasticsearch/main.tf
index 63da927..9d62c6e 100644
--- a/modules/elasticsearch/main.tf
+++ b/modules/elasticsearch/main.tf
@@ -9,7 +9,7 @@ resource "ibm_database" "elasticsearch" {
service = "databases-for-elasticsearch"
plan = var.plan
location = var.location
- adminpassword = (var.adminpassword != null ? var.adminpassword : null)
+ adminpassword = (var.adminpassword != null ? var.adminpassword : null) # pragma: allowlist secret
version = (var.database_version != null ? var.database_version : null)
members_memory_allocation_mb = (var.memory_allocation != null ? var.memory_allocation : null)
members_disk_allocation_mb = (var.disk_allocation != null ? var.disk_allocation : null)
diff --git a/modules/elasticsearch/outputs.tf b/modules/elasticsearch/outputs.tf
index d7d7f44..7e3a134 100644
--- a/modules/elasticsearch/outputs.tf
+++ b/modules/elasticsearch/outputs.tf
@@ -3,6 +3,7 @@
# Copyright 2020 IBM
###########################################################
output "elasticsearch" {
- value = ibm_database.elasticsearch
- sensitive = true
-}
\ No newline at end of file
+ description = "simple elastic search"
+ value = ibm_database.elasticsearch
+ sensitive = true
+}
diff --git a/modules/elasticsearch/variables.tf b/modules/elasticsearch/variables.tf
index e1e3365..4f81e1d 100644
--- a/modules/elasticsearch/variables.tf
+++ b/modules/elasticsearch/variables.tf
@@ -198,4 +198,4 @@ variable "memory_rate_units" {
default = null
type = string
description = "Auto Scaling Memory Rate: Units "
-}
\ No newline at end of file
+}
diff --git a/modules/elasticsearch/versions.tf b/modules/elasticsearch/versions.tf
index 7f1bcb7..d8fb741 100644
--- a/modules/elasticsearch/versions.tf
+++ b/modules/elasticsearch/versions.tf
@@ -3,10 +3,11 @@
# Copyright 2020 IBM
###########################################################
terraform {
- required_version = ">=0.13"
+ required_version = ">= 1.0.0"
required_providers {
ibm = {
- source = "IBM-Cloud/ibm"
+ source = "IBM-Cloud/ibm"
+ version = "1.41.1"
}
}
-}
\ No newline at end of file
+}
diff --git a/modules/etcd/README.md b/modules/etcd/README.md
index 8084b88..5cec7b6 100644
--- a/modules/etcd/README.md
+++ b/modules/etcd/README.md
@@ -7,86 +7,123 @@ This module is used to provision databases for ETCS Database on IBM Cloud Infr
data "ibm_resource_group" "resource_group" {
name = var.resource_group
}
-module "database_simple-icd" {
- source = "../../modules/etcd"
- location = var.location
- plan = var.plan
- service_name = var.service_name
- resource_group_id = data.ibm_resource_group.resource_group.id
- tags = var.tags
- memory_allocation = var.memory_allocation
- disk_allocation = var.disk_allocation
- cpu_allocation = var.cpu_allocation
- database_version = var.database_version
- service_endpoints = var.service_endpoints
+
+module "database_etcd" {
+ source = "../../modules/etcd"
+ resource_group_id = data.ibm_resource_group.resource_group.id
+ service_name = var.name
+ plan = var.plan
+ location = var.location
+ database_version = var.database_version
+ memory_allocation = var.memory_allocation
+ disk_allocation = var.disk_allocation
+ cpu_allocation = var.cpu_allocation
+ service_endpoints = var.service_endpoints
+ backup_id = var.backup_id
+ remote_leader_id = var.remote_leader_id
+ kms_instance = var.kms_instance
+ disk_encryption_key = var.disk_encryption_key
+ backup_encryption_key = var.backup_encryption_key
+ tags = var.tags
+ point_in_time_recovery_deployment_id = var.point_in_time_recovery_deployment_id
+ point_in_time_recovery_time = var.point_in_time_recovery_time
+ users = var.users
+ whitelist = var.whitelist
+ cpu_rate_increase_percent = var.cpu_rate_increase_percent
+ cpu_rate_limit_count_per_member = var.cpu_rate_limit_count_per_member
+ cpu_rate_period_seconds = var.cpu_rate_period_seconds
+ cpu_rate_units = var.cpu_rate_units
+ disk_capacity_enabled = var.disk_capacity_enabled
+ disk_free_space_less_than_percent = var.disk_free_space_less_than_percent
+ disk_io_above_percent = var.disk_io_above_percent
+ disk_io_enabled = var.disk_io_enabled
+ disk_io_over_period = var.disk_io_over_period
+ disk_rate_increase_percent = var.disk_rate_increase_percent
+ disk_rate_limit_mb_per_member = var.disk_rate_limit_mb_per_member
+ disk_rate_period_seconds = var.disk_rate_period_seconds
+ disk_rate_units = var.disk_rate_units
+ memory_io_above_percent = var.memory_io_above_percent
+ memory_io_enabled = var.memory_io_enabled
+ memory_io_over_period = var.memory_io_over_period
+ memory_rate_increase_percent = var.memory_rate_increase_percent
+ memory_rate_limit_mb_per_member = var.memory_rate_limit_mb_per_member
+ memory_rate_period_seconds = var.memory_rate_period_seconds
+ memory_rate_units = var.memory_rate_units
}
+
```
+## Requirements
+
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [ibm](#requirement\_ibm) | 1.41.1 |
+
+## Modules
+
+No modules.
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [ibm_database.etcd](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/resources/database) | resource |
+
## Inputs
-| Name | Description | Type | Default | Required |
-|---------------------------------------|-------------------------------------------------------------------|----------|---------|----------|
-| resource_group_id | Resource Group Id. | string | n/a | yes |
-| service_name | Resource instance name for example, my Database instance. | string | n/a | yes |
-| plan | The plan type of the Database instance. | string | standard| yes |
-| location | The location or the region in which Database instance exists. | string | n/a | yes |
-| adminpassword | The admin user password for the instance. | string | n/a | no |
-| database_version | The database version to provision if specified. | string | n/a | no |
-| memory_allocation | Memory allocation required for database. | number | n/a | no |
-| disk_allocation | Disk allocation required for database | number | n/a | no |
-| cpu_allocation | CPU allocation required for database. | number | n/a | no |
-| service_endpoints | Types of the service endpoints. | string | public | no |
-| backup_id | The CRN of backup source database. | string | n/a | no |
-| remote_leader_id | The CRN of leader database. | string | n/a | no |
-| kms_instance | The CRN of Key protect instance. | string | n/a | no |
-| disk_encryption_key | The CRN of Key protect key | string | n/a | no |
-| backup_encryption_key | backup_encryption_key_crn | string | n/a | no |
-| tags | Tags for the database | set(str) | n/a | no |
-| point_in_time_recovery_deployment_id |The CRN of source instance. | string | n/a | no |
-| point_in_time_recovery_time | The point in time recovery time stamp of the deployed instance | string | n/a | no |
-| users | Database Users. It is set of username and passwords | set(obj) | n/a | no |
-| whitelist | Database Whitelist It is set of IP Address and description. | set(obj) | n/a | no |
-| cpu_rate_increase_percent | Auto Scaling CPU Rate: Increase Percent | number | n/a | no |
-| cpu_rate_limit_count_per_member | Auto Scaling CPU Rate: Limit count per number. | number | n/a | no |
-| cpu_rate_period_seconds | Auto Scaling CPU Rate: Period Seconds | number | n/a | no |
-| cpu_rate_units | Auto Scaling CPU Rate: Units. | string | n/a | no |
-| disk_capacity_enabled | Auto Scaling Disk Scalar: Capacity Enabled. | bool | n/a | no |
-| disk_free_space_less_than_percent | Auto Scaling Disk Scalar: Capacity Free Space Less Than Percent | number | n/a | no |
-| disk_io_above_percent | Auto Scaling Disk Scalar: IO Utilization Above Percent. | number | n/a | no |
-| disk_io_enabled | Auto Scaling Disk Scalar: IO Utilization Enabled. | bool | n/a | no |
-| disk_io_over_period | Auto Scaling Disk Scalar: IO Utilization Over Period | string | n/a | no |
-| disk_rate_increase_percent | Auto Scaling Disk Rate: Increase Percent | number | n/a | no |
-| disk_rate_limit_mb_per_member | Auto Scaling Disk Rate: Limit mb per member | number | n/a | no |
-| disk_rate_period_seconds | Auto Scaling Disk Rate: Period Seconds | number | n/a | no |
-| disk_rate_units | Auto Scaling Disk Disk: Units. | string | n/a | no |
-| memory_io_above_percent | Auto Scaling Memory Scalar: IO Utilization Above Percent. | number | n/a | no |
-| memory_io_enabled | Auto Scaling Memory Scalar: IO Utilization Enabled. | bool | n/a | no |
-| memory_io_over_period | Auto Scaling Memory Scalar: IO Utilization Over Period | string | n/a | no |
-| memory_rate_increase_percent | Auto Scaling Memory Rate: Increase Percent | number | n/a | no |
-| memory_rate_limit_mb_per_member | Auto Scaling Memory Rate: Limit mb per member | number | n/a | no |
-| memory_rate_period_seconds | Auto Scaling Memory Rate: Period Seconds. | number | n/a | no |
-| memory_rate_units | Auto Scaling Memory Rate: Units. | string | n/a | no |
-
-## Users Inputs
-| Name | Description | Type | Default | Required |
-|--------------------------------------|-----------------------|--------|---------|----------|
-| name | Name Of the User | string | n/a | no |
-| password | User Password | string | n/a | no |
-
-## Whitelist Inputs
-
-| Name | Description | Type | Default | Required |
-|-----------------------------------------|---------------------------------------|--------|---------|----------|
-| address | Whitelist IP address in CIDR notation | string | n/a | no |
-| description | Unique white list description | string | n/a | no |
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [adminpassword](#input\_adminpassword) | The admin user password for the instance | `string` | `null` | no |
+| [backup\_encryption\_key](#input\_backup\_encryption\_key) | The Backup Encryption Key CRN | `string` | `null` | no |
+| [backup\_id](#input\_backup\_id) | The CRN of backup source database | `string` | `null` | no |
+| [cpu\_allocation](#input\_cpu\_allocation) | CPU allocation required for database | `number` | `null` | no |
+| [cpu\_rate\_increase\_percent](#input\_cpu\_rate\_increase\_percent) | Auto Scaling CPU Rate: Increase Percent | `number` | `null` | no |
+| [cpu\_rate\_limit\_count\_per\_member](#input\_cpu\_rate\_limit\_count\_per\_member) | Auto Scaling CPU Rate: Limit count per number | `number` | `null` | no |
+| [cpu\_rate\_period\_seconds](#input\_cpu\_rate\_period\_seconds) | Auto Scaling CPU Rate: Period Seconds | `number` | `null` | no |
+| [cpu\_rate\_units](#input\_cpu\_rate\_units) | Auto Scaling CPU Rate: Units | `string` | `null` | no |
+| [database\_version](#input\_database\_version) | The database version to provision if specified | `string` | `null` | no |
+| [disk\_allocation](#input\_disk\_allocation) | Disk allocation required for database | `number` | `null` | no |
+| [disk\_capacity\_enabled](#input\_disk\_capacity\_enabled) | Auto Scaling Disk Scalar: Capacity Enabled | `bool` | `null` | no |
+| [disk\_encryption\_key](#input\_disk\_encryption\_key) | The CRN of Key protect key | `string` | `null` | no |
+| [disk\_free\_space\_less\_than\_percent](#input\_disk\_free\_space\_less\_than\_percent) | Auto Scaling Disk Scalar: Capacity Free Space Less Than Percent | `number` | `null` | no |
+| [disk\_io\_above\_percent](#input\_disk\_io\_above\_percent) | Auto Scaling Disk Scalar: IO Utilization Above Percent | `number` | `null` | no |
+| [disk\_io\_enabled](#input\_disk\_io\_enabled) | Auto Scaling Disk Scalar: IO Utilization Enabled | `bool` | `null` | no |
+| [disk\_io\_over\_period](#input\_disk\_io\_over\_period) | Auto Scaling Disk Scalar: IO Utilization Over Period | `string` | `null` | no |
+| [disk\_rate\_increase\_percent](#input\_disk\_rate\_increase\_percent) | Auto Scaling Disk Rate: Increase Percent | `number` | `null` | no |
+| [disk\_rate\_limit\_mb\_per\_member](#input\_disk\_rate\_limit\_mb\_per\_member) | Auto Scaling Disk Rate: Limit mb per member | `number` | `null` | no |
+| [disk\_rate\_period\_seconds](#input\_disk\_rate\_period\_seconds) | Auto Scaling Disk Rate: Period Seconds | `number` | `null` | no |
+| [disk\_rate\_units](#input\_disk\_rate\_units) | Auto Scaling Disk Rate: Units | `string` | `null` | no |
+| [kms\_instance](#input\_kms\_instance) | The CRN of Key protect instance | `string` | `null` | no |
+| [location](#input\_location) | The location or the region in which Database instance exists | `string` | n/a | yes |
+| [memory\_allocation](#input\_memory\_allocation) | Memory allocation required for database | `number` | `null` | no |
+| [memory\_io\_above\_percent](#input\_memory\_io\_above\_percent) | Auto Scaling Memory Scalar: IO Utilization Above Percent | `number` | `null` | no |
+| [memory\_io\_enabled](#input\_memory\_io\_enabled) | Auto Scaling Memory Scalar: IO Utilization Enabled | `bool` | `null` | no |
+| [memory\_io\_over\_period](#input\_memory\_io\_over\_period) | Auto Scaling Memory Scalar: IO Utilization Over Period | `number` | `null` | no |
+| [memory\_rate\_increase\_percent](#input\_memory\_rate\_increase\_percent) | Auto Scaling Memory Rate: Increase Percent | `number` | `null` | no |
+| [memory\_rate\_limit\_mb\_per\_member](#input\_memory\_rate\_limit\_mb\_per\_member) | Auto Scaling Memory Rate: Limit mb per member | `number` | `null` | no |
+| [memory\_rate\_period\_seconds](#input\_memory\_rate\_period\_seconds) | Auto Scaling Memory Rate: Period Seconds | `number` | `null` | no |
+| [memory\_rate\_units](#input\_memory\_rate\_units) | Auto Scaling Memory Rate: Units | `string` | `null` | no |
+| [plan](#input\_plan) | The plan type of the Database instance | `string` | n/a | yes |
+| [point\_in\_time\_recovery\_deployment\_id](#input\_point\_in\_time\_recovery\_deployment\_id) | The CRN of source instance | `string` | `null` | no |
+| [point\_in\_time\_recovery\_time](#input\_point\_in\_time\_recovery\_time) | The point in time recovery time stamp of the deployed instance | `string` | `null` | no |
+| [remote\_leader\_id](#input\_remote\_leader\_id) | The CRN of leader database | `string` | `null` | no |
+| [resource\_group\_id](#input\_resource\_group\_id) | Resource Group ID | `string` | n/a | yes |
+| [service\_endpoints](#input\_service\_endpoints) | Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. | `string` | `null` | no |
+| [service\_name](#input\_service\_name) | Resource instance name for example, my Database instance | `string` | n/a | yes |
+| [tags](#input\_tags) | Tags for the database | `set(string)` | `null` | no |
+| [users](#input\_users) | Database Users. It is set of username and passwords | `set(map(string))` | `null` | no |
+| [whitelist](#input\_whitelist) | Database Whitelist It is set of IP Address and description | `set(map(string))` | `null` | no |
-
+## Outputs
-### NOTE: To make use of a particular version of module, Set the `version` argument to respective module version.
+| Name | Description |
+|------|-------------|
+| [etcd](#output\_etcd) | simple etcd |
+
-NOTE: We can configure the list of users, whitelist by entering respective details in input.tfvars.
## Usage
@@ -98,4 +135,4 @@ terraform plan -var-file="input.tfvars"
```
```
terraform apply -var-file="input.tfvars"
-```
\ No newline at end of file
+```
diff --git a/modules/etcd/main.tf b/modules/etcd/main.tf
index d349bdc..0257979 100644
--- a/modules/etcd/main.tf
+++ b/modules/etcd/main.tf
@@ -9,7 +9,7 @@ resource "ibm_database" "etcd" {
service = "databases-for-etcd"
plan = var.plan
location = var.location
- adminpassword = (var.adminpassword != null ? var.adminpassword : null)
+ adminpassword = (var.adminpassword != null ? var.adminpassword : null) # pragma: allowlist secret
version = (var.database_version != null ? var.database_version : null)
members_memory_allocation_mb = (var.memory_allocation != null ? var.memory_allocation : null)
members_disk_allocation_mb = (var.disk_allocation != null ? var.disk_allocation : null)
diff --git a/modules/etcd/outputs.tf b/modules/etcd/outputs.tf
index 2da150d..c071bb2 100644
--- a/modules/etcd/outputs.tf
+++ b/modules/etcd/outputs.tf
@@ -3,6 +3,7 @@
# Copyright 2020 IBM
###########################################################
output "etcd" {
- value = ibm_database.etcd
- sensitive = true
-}
\ No newline at end of file
+ description = "simple etcd"
+ value = ibm_database.etcd
+ sensitive = true
+}
diff --git a/modules/etcd/variables.tf b/modules/etcd/variables.tf
index 06f6407..6472f57 100644
--- a/modules/etcd/variables.tf
+++ b/modules/etcd/variables.tf
@@ -198,4 +198,4 @@ variable "memory_rate_units" {
default = null
type = string
description = "Auto Scaling Memory Rate: Units "
-}
\ No newline at end of file
+}
diff --git a/modules/etcd/versions.tf b/modules/etcd/versions.tf
index 7f1bcb7..d8fb741 100644
--- a/modules/etcd/versions.tf
+++ b/modules/etcd/versions.tf
@@ -3,10 +3,11 @@
# Copyright 2020 IBM
###########################################################
terraform {
- required_version = ">=0.13"
+ required_version = ">= 1.0.0"
required_providers {
ibm = {
- source = "IBM-Cloud/ibm"
+ source = "IBM-Cloud/ibm"
+ version = "1.41.1"
}
}
-}
\ No newline at end of file
+}
diff --git a/modules/mongo/README.md b/modules/mongo/README.md
index 9cd05aa..53b7735 100644
--- a/modules/mongo/README.md
+++ b/modules/mongo/README.md
@@ -7,85 +7,120 @@ This module is used to provision databases for MongoDb Database on IBM Cloud I
data "ibm_resource_group" "resource_group" {
name = var.resource_group
}
-module "database_simple-icd" {
- source = "../../modules/mongo"
- location = var.location
- plan = var.plan
- service_name = var.service_name
- resource_group_id = data.ibm_resource_group.resource_group.id
- tags = var.tags
- memory_allocation = var.memory_allocation
- disk_allocation = var.disk_allocation
- cpu_allocation = var.cpu_allocation
- database_version = var.database_version
- service_endpoints = var.service_endpoints
+module "database_mongo" {
+ source = "../../modules/mongo"
+ resource_group_id = data.ibm_resource_group.resource_group.id
+ service_name = var.name
+ plan = var.plan
+ location = var.location
+ database_version = var.database_version
+ memory_allocation = var.memory_allocation
+ disk_allocation = var.disk_allocation
+ cpu_allocation = var.cpu_allocation
+ service_endpoints = var.service_endpoints
+ backup_id = var.backup_id
+ remote_leader_id = var.remote_leader_id
+ kms_instance = var.kms_instance
+ disk_encryption_key = var.disk_encryption_key
+ backup_encryption_key = var.backup_encryption_key
+ tags = var.tags
+ point_in_time_recovery_deployment_id = var.point_in_time_recovery_deployment_id
+ point_in_time_recovery_time = var.point_in_time_recovery_time
+ users = var.users
+ whitelist = var.whitelist
+ cpu_rate_increase_percent = var.cpu_rate_increase_percent
+ cpu_rate_limit_count_per_member = var.cpu_rate_limit_count_per_member
+ cpu_rate_period_seconds = var.cpu_rate_period_seconds
+ cpu_rate_units = var.cpu_rate_units
+ disk_capacity_enabled = var.disk_capacity_enabled
+ disk_free_space_less_than_percent = var.disk_free_space_less_than_percent
+ disk_io_above_percent = var.disk_io_above_percent
+ disk_io_enabled = var.disk_io_enabled
+ disk_io_over_period = var.disk_io_over_period
+ disk_rate_increase_percent = var.disk_rate_increase_percent
+ disk_rate_limit_mb_per_member = var.disk_rate_limit_mb_per_member
+ disk_rate_period_seconds = var.disk_rate_period_seconds
+ disk_rate_units = var.disk_rate_units
+ memory_io_above_percent = var.memory_io_above_percent
+ memory_io_enabled = var.memory_io_enabled
+ memory_io_over_period = var.memory_io_over_period
+ memory_rate_increase_percent = var.memory_rate_increase_percent
+ memory_rate_limit_mb_per_member = var.memory_rate_limit_mb_per_member
+ memory_rate_period_seconds = var.memory_rate_period_seconds
+ memory_rate_units = var.memory_rate_units
}
+
```
-## Inputs
+## Requirements
-| Name | Description | Type | Default | Required |
-|---------------------------------------|-------------------------------------------------------------------|----------|---------|----------|
-| resource_group_id | Resource Group Id. | string | n/a | yes |
-| service_name | Resource instance name for example, my Database instance. | string | n/a | yes |
-| plan | The plan type of the Database instance. | string | standard| yes |
-| location | The location or the region in which Database instance exists. | string | n/a | yes |
-| adminpassword | The admin user password for the instance. | string | n/a | no |
-| database_version | The database version to provision if specified. | string | n/a | no |
-| memory_allocation | Memory allocation required for database. | number | n/a | no |
-| disk_allocation | Disk allocation required for database | number | n/a | no |
-| cpu_allocation | CPU allocation required for database. | number | n/a | no |
-| service_endpoints | Types of the service endpoints. | string | public | no |
-| backup_id | The CRN of backup source database. | string | n/a | no |
-| remote_leader_id | The CRN of leader database. | string | n/a | no |
-| kms_instance | The CRN of Key protect instance. | string | n/a | no |
-| disk_encryption_key | The CRN of Key protect key | string | n/a | no |
-| backup_encryption_key | backup_encryption_key_crn | string | n/a | no |
-| tags | Tags for the database | set(str) | n/a | no |
-| point_in_time_recovery_deployment_id |The CRN of source instance. | string | n/a | no |
-| point_in_time_recovery_time | The point in time recovery time stamp of the deployed instance | string | n/a | no |
-| users | Database Users. It is set of username and passwords | set(obj) | n/a | no |
-| whitelist | Database Whitelist It is set of IP Address and description. | set(obj) | n/a | no |
-| cpu_rate_increase_percent | Auto Scaling CPU Rate: Increase Percent | number | n/a | no |
-| cpu_rate_limit_count_per_member | Auto Scaling CPU Rate: Limit count per number. | number | n/a | no |
-| cpu_rate_period_seconds | Auto Scaling CPU Rate: Period Seconds | number | n/a | no |
-| cpu_rate_units | Auto Scaling CPU Rate: Units. | string | n/a | no |
-| disk_capacity_enabled | Auto Scaling Disk Scalar: Capacity Enabled. | bool | n/a | no |
-| disk_free_space_less_than_percent | Auto Scaling Disk Scalar: Capacity Free Space Less Than Percent | number | n/a | no |
-| disk_io_above_percent | Auto Scaling Disk Scalar: IO Utilization Above Percent. | number | n/a | no |
-| disk_io_enabled | Auto Scaling Disk Scalar: IO Utilization Enabled. | bool | n/a | no |
-| disk_io_over_period | Auto Scaling Disk Scalar: IO Utilization Over Period | string | n/a | no |
-| disk_rate_increase_percent | Auto Scaling Disk Rate: Increase Percent | number | n/a | no |
-| disk_rate_limit_mb_per_member | Auto Scaling Disk Rate: Limit mb per member | number | n/a | no |
-| disk_rate_period_seconds | Auto Scaling Disk Rate: Period Seconds | number | n/a | no |
-| disk_rate_units | Auto Scaling Disk Disk: Units. | string | n/a | no |
-| memory_io_above_percent | Auto Scaling Memory Scalar: IO Utilization Above Percent. | number | n/a | no |
-| memory_io_enabled | Auto Scaling Memory Scalar: IO Utilization Enabled. | bool | n/a | no |
-| memory_io_over_period | Auto Scaling Memory Scalar: IO Utilization Over Period | string | n/a | no |
-| memory_rate_increase_percent | Auto Scaling Memory Rate: Increase Percent | number | n/a | no |
-| memory_rate_limit_mb_per_member | Auto Scaling Memory Rate: Limit mb per member | number | n/a | no |
-| memory_rate_period_seconds | Auto Scaling Memory Rate: Period Seconds. | number | n/a | no |
-| memory_rate_units | Auto Scaling Memory Rate: Units. | string | n/a | no |
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [ibm](#requirement\_ibm) | 1.41.1 |
-## Users Inputs
-| Name | Description | Type | Default | Required |
-|--------------------------------------|-----------------------|--------|---------|----------|
-| name | Name Of the User | string | n/a | no |
-| password | User Password | string | n/a | no |
+## Modules
-## Whitelist Inputs
+No modules.
-| Name | Description | Type | Default | Required |
-|-----------------------------------------|---------------------------------------|--------|---------|----------|
-| address | Whitelist IP address in CIDR notation | string | n/a | no |
-| description | Unique white list description | string | n/a | no |
+## Resources
-
+| Name | Type |
+|------|------|
+| [ibm_database.mongodb](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/resources/database) | resource |
+
+## Inputs
+
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [adminpassword](#input\_adminpassword) | The admin user password for the instance | `string` | `null` | no |
+| [backup\_encryption\_key](#input\_backup\_encryption\_key) | The Backup Encryption Key CRN | `string` | `null` | no |
+| [backup\_id](#input\_backup\_id) | The CRN of backup source database | `string` | `null` | no |
+| [cpu\_allocation](#input\_cpu\_allocation) | CPU allocation required for database | `number` | `null` | no |
+| [cpu\_rate\_increase\_percent](#input\_cpu\_rate\_increase\_percent) | Auto Scaling CPU Rate: Increase Percent | `number` | `null` | no |
+| [cpu\_rate\_limit\_count\_per\_member](#input\_cpu\_rate\_limit\_count\_per\_member) | Auto Scaling CPU Rate: Limit count per number | `number` | `null` | no |
+| [cpu\_rate\_period\_seconds](#input\_cpu\_rate\_period\_seconds) | Auto Scaling CPU Rate: Period Seconds | `number` | `null` | no |
+| [cpu\_rate\_units](#input\_cpu\_rate\_units) | Auto Scaling CPU Rate: Units | `string` | `null` | no |
+| [database\_version](#input\_database\_version) | The database version to provision if specified | `string` | `null` | no |
+| [disk\_allocation](#input\_disk\_allocation) | Disk allocation required for database | `number` | `null` | no |
+| [disk\_capacity\_enabled](#input\_disk\_capacity\_enabled) | Auto Scaling Disk Scalar: Capacity Enabled | `bool` | `null` | no |
+| [disk\_encryption\_key](#input\_disk\_encryption\_key) | The CRN of Key protect key | `string` | `null` | no |
+| [disk\_free\_space\_less\_than\_percent](#input\_disk\_free\_space\_less\_than\_percent) | Auto Scaling Disk Scalar: Capacity Free Space Less Than Percent | `number` | `null` | no |
+| [disk\_io\_above\_percent](#input\_disk\_io\_above\_percent) | Auto Scaling Disk Scalar: IO Utilization Above Percent | `number` | `null` | no |
+| [disk\_io\_enabled](#input\_disk\_io\_enabled) | Auto Scaling Disk Scalar: IO Utilization Enabled | `bool` | `null` | no |
+| [disk\_io\_over\_period](#input\_disk\_io\_over\_period) | Auto Scaling Disk Scalar: IO Utilization Over Period | `string` | `null` | no |
+| [disk\_rate\_increase\_percent](#input\_disk\_rate\_increase\_percent) | Auto Scaling Disk Rate: Increase Percent | `number` | `null` | no |
+| [disk\_rate\_limit\_mb\_per\_member](#input\_disk\_rate\_limit\_mb\_per\_member) | Auto Scaling Disk Rate: Limit mb per member | `number` | `null` | no |
+| [disk\_rate\_period\_seconds](#input\_disk\_rate\_period\_seconds) | Auto Scaling Disk Rate: Period Seconds | `number` | `null` | no |
+| [disk\_rate\_units](#input\_disk\_rate\_units) | Auto Scaling Disk Rate: Units | `string` | `null` | no |
+| [kms\_instance](#input\_kms\_instance) | The CRN of Key protect instance | `string` | `null` | no |
+| [location](#input\_location) | The location or the region in which Database instance exists | `string` | n/a | yes |
+| [memory\_allocation](#input\_memory\_allocation) | Memory allocation required for database | `number` | `null` | no |
+| [memory\_io\_above\_percent](#input\_memory\_io\_above\_percent) | Auto Scaling Memory Scalar: IO Utilization Above Percent | `number` | `null` | no |
+| [memory\_io\_enabled](#input\_memory\_io\_enabled) | Auto Scaling Memory Scalar: IO Utilization Enabled | `bool` | `null` | no |
+| [memory\_io\_over\_period](#input\_memory\_io\_over\_period) | Auto Scaling Memory Scalar: IO Utilization Over Period | `number` | `null` | no |
+| [memory\_rate\_increase\_percent](#input\_memory\_rate\_increase\_percent) | Auto Scaling Memory Rate: Increase Percent | `number` | `null` | no |
+| [memory\_rate\_limit\_mb\_per\_member](#input\_memory\_rate\_limit\_mb\_per\_member) | Auto Scaling Memory Rate: Limit mb per member | `number` | `null` | no |
+| [memory\_rate\_period\_seconds](#input\_memory\_rate\_period\_seconds) | Auto Scaling Memory Rate: Period Seconds | `number` | `null` | no |
+| [memory\_rate\_units](#input\_memory\_rate\_units) | Auto Scaling Memory Rate: Units | `string` | `null` | no |
+| [plan](#input\_plan) | The plan type of the Database instance | `string` | n/a | yes |
+| [point\_in\_time\_recovery\_deployment\_id](#input\_point\_in\_time\_recovery\_deployment\_id) | The CRN of source instance | `string` | `null` | no |
+| [point\_in\_time\_recovery\_time](#input\_point\_in\_time\_recovery\_time) | The point in time recovery time stamp of the deployed instance | `string` | `null` | no |
+| [remote\_leader\_id](#input\_remote\_leader\_id) | The CRN of leader database | `string` | `null` | no |
+| [resource\_group\_id](#input\_resource\_group\_id) | Resource Group ID | `string` | n/a | yes |
+| [service\_endpoints](#input\_service\_endpoints) | Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. | `string` | `null` | no |
+| [service\_name](#input\_service\_name) | Resource instance name for example, my Database instance | `string` | n/a | yes |
+| [tags](#input\_tags) | Tags for the database | `set(string)` | `null` | no |
+| [users](#input\_users) | Database Users. It is set of username and passwords | `set(map(string))` | `null` | no |
+| [whitelist](#input\_whitelist) | Database Whitelist It is set of IP Address and description | `set(map(string))` | `null` | no |
-### NOTE: To make use of a particular version of module, Set the `version` argument to respective module version.
+## Outputs
-NOTE: We can configure the list of users, whitelist by entering respective details in input.tfvars.
+| Name | Description |
+|------|-------------|
+| [mongodb](#output\_mongodb) | simple mongodb |
+
## Usage
@@ -97,4 +132,4 @@ terraform plan -var-file="input.tfvars"
```
```
terraform apply -var-file="input.tfvars"
-```
\ No newline at end of file
+```
diff --git a/modules/mongo/main.tf b/modules/mongo/main.tf
index f5f99a0..ef4def5 100644
--- a/modules/mongo/main.tf
+++ b/modules/mongo/main.tf
@@ -9,7 +9,7 @@ resource "ibm_database" "mongodb" {
service = "databases-for-mongodb"
plan = var.plan
location = var.location
- adminpassword = (var.adminpassword != null ? var.adminpassword : null)
+ adminpassword = (var.adminpassword != null ? var.adminpassword : null) # pragma: allowlist secret
version = (var.database_version != null ? var.database_version : null)
members_memory_allocation_mb = (var.memory_allocation != null ? var.memory_allocation : null)
members_disk_allocation_mb = (var.disk_allocation != null ? var.disk_allocation : null)
diff --git a/modules/mongo/outputs.tf b/modules/mongo/outputs.tf
index b5d8798..5ab2161 100644
--- a/modules/mongo/outputs.tf
+++ b/modules/mongo/outputs.tf
@@ -3,6 +3,7 @@
# Copyright 2020 IBM
###########################################################
output "mongodb" {
- value = ibm_database.mongodb
- sensitive = true
-}
\ No newline at end of file
+ description = "simple mongodb"
+ value = ibm_database.mongodb
+ sensitive = true
+}
diff --git a/modules/mongo/variables.tf b/modules/mongo/variables.tf
index fb9b297..91e041e 100644
--- a/modules/mongo/variables.tf
+++ b/modules/mongo/variables.tf
@@ -198,4 +198,4 @@ variable "memory_rate_units" {
default = null
type = string
description = "Auto Scaling Memory Rate: Units "
-}
\ No newline at end of file
+}
diff --git a/modules/mongo/versions.tf b/modules/mongo/versions.tf
index 7f1bcb7..d8fb741 100644
--- a/modules/mongo/versions.tf
+++ b/modules/mongo/versions.tf
@@ -3,10 +3,11 @@
# Copyright 2020 IBM
###########################################################
terraform {
- required_version = ">=0.13"
+ required_version = ">= 1.0.0"
required_providers {
ibm = {
- source = "IBM-Cloud/ibm"
+ source = "IBM-Cloud/ibm"
+ version = "1.41.1"
}
}
-}
\ No newline at end of file
+}
diff --git a/modules/postgresql/README.md b/modules/postgresql/README.md
index d631cde..6621e9a 100644
--- a/modules/postgresql/README.md
+++ b/modules/postgresql/README.md
@@ -7,85 +7,119 @@ This module is used to provision databases for Postgresql Database on IBM Clou
data "ibm_resource_group" "resource_group" {
name = var.resource_group
}
-module "database_simple-icd" {
- source = "../../modules/postgresql"
- location = var.location
- plan = var.plan
- service_name = var.service_name
- resource_group_id = data.ibm_resource_group.resource_group.id
- tags = var.tags
- memory_allocation = var.memory_allocation
- disk_allocation = var.disk_allocation
- cpu_allocation = var.cpu_allocation
- database_version = var.database_version
- service_endpoints = var.service_endpoints
+module "database_postgresql" {
+ source = "../../modules/postgresql"
+ resource_group_id = data.ibm_resource_group.resource_group.id
+ service_name = var.name
+ plan = var.plan
+ location = var.location
+ database_version = var.database_version
+ memory_allocation = var.memory_allocation
+ disk_allocation = var.disk_allocation
+ cpu_allocation = var.cpu_allocation
+ service_endpoints = var.service_endpoints
+ backup_id = var.backup_id
+ remote_leader_id = var.remote_leader_id
+ kms_instance = var.kms_instance
+ disk_encryption_key = var.disk_encryption_key
+ backup_encryption_key = var.backup_encryption_key
+ tags = var.tags
+ point_in_time_recovery_deployment_id = var.point_in_time_recovery_deployment_id
+ point_in_time_recovery_time = var.point_in_time_recovery_time
+ users = var.users
+ whitelist = var.whitelist
+ cpu_rate_increase_percent = var.cpu_rate_increase_percent
+ cpu_rate_limit_count_per_member = var.cpu_rate_limit_count_per_member
+ cpu_rate_period_seconds = var.cpu_rate_period_seconds
+ cpu_rate_units = var.cpu_rate_units
+ disk_capacity_enabled = var.disk_capacity_enabled
+ disk_free_space_less_than_percent = var.disk_free_space_less_than_percent
+ disk_io_above_percent = var.disk_io_above_percent
+ disk_io_enabled = var.disk_io_enabled
+ disk_io_over_period = var.disk_io_over_period
+ disk_rate_increase_percent = var.disk_rate_increase_percent
+ disk_rate_limit_mb_per_member = var.disk_rate_limit_mb_per_member
+ disk_rate_period_seconds = var.disk_rate_period_seconds
+ disk_rate_units = var.disk_rate_units
+ memory_io_above_percent = var.memory_io_above_percent
+ memory_io_enabled = var.memory_io_enabled
+ memory_io_over_period = var.memory_io_over_period
+ memory_rate_increase_percent = var.memory_rate_increase_percent
+ memory_rate_limit_mb_per_member = var.memory_rate_limit_mb_per_member
+ memory_rate_period_seconds = var.memory_rate_period_seconds
+ memory_rate_units = var.memory_rate_units
}
```
-## Inputs
+## Requirements
-| Name | Description | Type | Default | Required |
-|---------------------------------------|-------------------------------------------------------------------|----------|---------|----------|
-| resource_group_id | Resource Group Id. | string | n/a | yes |
-| service_name | Resource instance name for example, my Database instance. | string | n/a | yes |
-| plan | The plan type of the Database instance. | string | standard| yes |
-| location | The location or the region in which Database instance exists. | string | n/a | yes |
-| adminpassword | The admin user password for the instance. | string | n/a | no |
-| database_version | The database version to provision if specified. | string | n/a | no |
-| memory_allocation | Memory allocation required for database. | number | n/a | no |
-| disk_allocation | Disk allocation required for database | number | n/a | no |
-| cpu_allocation | CPU allocation required for database. | number | n/a | no |
-| service_endpoints | Types of the service endpoints. | string | public | no |
-| backup_id | The CRN of backup source database. | string | n/a | no |
-| remote_leader_id | The CRN of leader database. | string | n/a | no |
-| kms_instance | The CRN of Key protect instance. | string | n/a | no |
-| disk_encryption_key | The CRN of Key protect key | string | n/a | no |
-| backup_encryption_key | backup_encryption_key_crn | string | n/a | no |
-| tags | Tags for the database | set(str) | n/a | no |
-| point_in_time_recovery_deployment_id |The CRN of source instance. | string | n/a | no |
-| point_in_time_recovery_time | The point in time recovery time stamp of the deployed instance | string | n/a | no |
-| users | Database Users. It is set of username and passwords | set(obj) | n/a | no |
-| whitelist | Database Whitelist It is set of IP Address and description. | set(obj) | n/a | no |
-| cpu_rate_increase_percent | Auto Scaling CPU Rate: Increase Percent | number | n/a | no |
-| cpu_rate_limit_count_per_member | Auto Scaling CPU Rate: Limit count per number. | number | n/a | no |
-| cpu_rate_period_seconds | Auto Scaling CPU Rate: Period Seconds | number | n/a | no |
-| cpu_rate_units | Auto Scaling CPU Rate: Units. | string | n/a | no |
-| disk_capacity_enabled | Auto Scaling Disk Scalar: Capacity Enabled. | bool | n/a | no |
-| disk_free_space_less_than_percent | Auto Scaling Disk Scalar: Capacity Free Space Less Than Percent | number | n/a | no |
-| disk_io_above_percent | Auto Scaling Disk Scalar: IO Utilization Above Percent. | number | n/a | no |
-| disk_io_enabled | Auto Scaling Disk Scalar: IO Utilization Enabled. | bool | n/a | no |
-| disk_io_over_period | Auto Scaling Disk Scalar: IO Utilization Over Period | string | n/a | no |
-| disk_rate_increase_percent | Auto Scaling Disk Rate: Increase Percent | number | n/a | no |
-| disk_rate_limit_mb_per_member | Auto Scaling Disk Rate: Limit mb per member | number | n/a | no |
-| disk_rate_period_seconds | Auto Scaling Disk Rate: Period Seconds | number | n/a | no |
-| disk_rate_units | Auto Scaling Disk Disk: Units. | string | n/a | no |
-| memory_io_above_percent | Auto Scaling Memory Scalar: IO Utilization Above Percent. | number | n/a | no |
-| memory_io_enabled | Auto Scaling Memory Scalar: IO Utilization Enabled. | bool | n/a | no |
-| memory_io_over_period | Auto Scaling Memory Scalar: IO Utilization Over Period | string | n/a | no |
-| memory_rate_increase_percent | Auto Scaling Memory Rate: Increase Percent | number | n/a | no |
-| memory_rate_limit_mb_per_member | Auto Scaling Memory Rate: Limit mb per member | number | n/a | no |
-| memory_rate_period_seconds | Auto Scaling Memory Rate: Period Seconds. | number | n/a | no |
-| memory_rate_units | Auto Scaling Memory Rate: Units. | string | n/a | no |
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [ibm](#requirement\_ibm) | 1.41.1 |
-## Users Inputs
-| Name | Description | Type | Default | Required |
-|--------------------------------------|-----------------------|--------|---------|----------|
-| name | Name Of the User | string | n/a | no |
-| password | User Password | string | n/a | no |
+## Modules
-## Whitelist Inputs
+No modules.
-| Name | Description | Type | Default | Required |
-|-----------------------------------------|---------------------------------------|--------|---------|----------|
-| address | Whitelist IP address in CIDR notation | string | n/a | no |
-| description | Unique white list description | string | n/a | no |
+## Resources
-
+| Name | Type |
+|------|------|
+| [ibm_database.postgresql](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/resources/database) | resource |
+
+## Inputs
-### NOTE: To make use of a particular version of module, Set the `version` argument to respective module version.
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [adminpassword](#input\_adminpassword) | The admin user password for the instance | `string` | `null` | no |
+| [backup\_encryption\_key](#input\_backup\_encryption\_key) | The Backup Encryption Key CRN | `string` | `null` | no |
+| [backup\_id](#input\_backup\_id) | The CRN of backup source database | `string` | `null` | no |
+| [cpu\_allocation](#input\_cpu\_allocation) | CPU allocation required for database | `number` | `null` | no |
+| [cpu\_rate\_increase\_percent](#input\_cpu\_rate\_increase\_percent) | Auto Scaling CPU Rate: Increase Percent | `number` | `null` | no |
+| [cpu\_rate\_limit\_count\_per\_member](#input\_cpu\_rate\_limit\_count\_per\_member) | Auto Scaling CPU Rate: Limit count per number | `number` | `null` | no |
+| [cpu\_rate\_period\_seconds](#input\_cpu\_rate\_period\_seconds) | Auto Scaling CPU Rate: Period Seconds | `number` | `null` | no |
+| [cpu\_rate\_units](#input\_cpu\_rate\_units) | Auto Scaling CPU Rate: Units | `string` | `null` | no |
+| [database\_version](#input\_database\_version) | The database version to provision if specified | `string` | `null` | no |
+| [disk\_allocation](#input\_disk\_allocation) | Disk allocation required for database | `number` | `null` | no |
+| [disk\_capacity\_enabled](#input\_disk\_capacity\_enabled) | Auto Scaling Disk Scalar: Capacity Enabled | `bool` | `null` | no |
+| [disk\_encryption\_key](#input\_disk\_encryption\_key) | The CRN of Key protect key | `string` | `null` | no |
+| [disk\_free\_space\_less\_than\_percent](#input\_disk\_free\_space\_less\_than\_percent) | Auto Scaling Disk Scalar: Capacity Free Space Less Than Percent | `number` | `null` | no |
+| [disk\_io\_above\_percent](#input\_disk\_io\_above\_percent) | Auto Scaling Disk Scalar: IO Utilization Above Percent | `number` | `null` | no |
+| [disk\_io\_enabled](#input\_disk\_io\_enabled) | Auto Scaling Disk Scalar: IO Utilization Enabled | `bool` | `null` | no |
+| [disk\_io\_over\_period](#input\_disk\_io\_over\_period) | Auto Scaling Disk Scalar: IO Utilization Over Period | `string` | `null` | no |
+| [disk\_rate\_increase\_percent](#input\_disk\_rate\_increase\_percent) | Auto Scaling Disk Rate: Increase Percent | `number` | `null` | no |
+| [disk\_rate\_limit\_mb\_per\_member](#input\_disk\_rate\_limit\_mb\_per\_member) | Auto Scaling Disk Rate: Limit mb per member | `number` | `null` | no |
+| [disk\_rate\_period\_seconds](#input\_disk\_rate\_period\_seconds) | Auto Scaling Disk Rate: Period Seconds | `number` | `null` | no |
+| [disk\_rate\_units](#input\_disk\_rate\_units) | Auto Scaling Disk Rate: Units | `string` | `null` | no |
+| [kms\_instance](#input\_kms\_instance) | The CRN of Key protect instance | `string` | `null` | no |
+| [location](#input\_location) | The location or the region in which Database instance exists | `string` | n/a | yes |
+| [memory\_allocation](#input\_memory\_allocation) | Memory allocation required for database | `number` | `null` | no |
+| [memory\_io\_above\_percent](#input\_memory\_io\_above\_percent) | Auto Scaling Memory Scalar: IO Utilization Above Percent | `number` | `null` | no |
+| [memory\_io\_enabled](#input\_memory\_io\_enabled) | Auto Scaling Memory Scalar: IO Utilization Enabled | `bool` | `null` | no |
+| [memory\_io\_over\_period](#input\_memory\_io\_over\_period) | Auto Scaling Memory Scalar: IO Utilization Over Period | `number` | `null` | no |
+| [memory\_rate\_increase\_percent](#input\_memory\_rate\_increase\_percent) | Auto Scaling Memory Rate: Increase Percent | `number` | `null` | no |
+| [memory\_rate\_limit\_mb\_per\_member](#input\_memory\_rate\_limit\_mb\_per\_member) | Auto Scaling Memory Rate: Limit mb per member | `number` | `null` | no |
+| [memory\_rate\_period\_seconds](#input\_memory\_rate\_period\_seconds) | Auto Scaling Memory Rate: Period Seconds | `number` | `null` | no |
+| [memory\_rate\_units](#input\_memory\_rate\_units) | Auto Scaling Memory Rate: Units | `string` | `null` | no |
+| [plan](#input\_plan) | The plan type of the Database instance | `string` | n/a | yes |
+| [point\_in\_time\_recovery\_deployment\_id](#input\_point\_in\_time\_recovery\_deployment\_id) | The CRN of source instance | `string` | `null` | no |
+| [point\_in\_time\_recovery\_time](#input\_point\_in\_time\_recovery\_time) | The point in time recovery time stamp of the deployed instance | `string` | `null` | no |
+| [remote\_leader\_id](#input\_remote\_leader\_id) | The CRN of leader database | `string` | `null` | no |
+| [resource\_group\_id](#input\_resource\_group\_id) | Resource Group ID | `string` | n/a | yes |
+| [service\_endpoints](#input\_service\_endpoints) | Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. | `string` | `null` | no |
+| [service\_name](#input\_service\_name) | Resource instance name for example, my Database instance | `string` | n/a | yes |
+| [tags](#input\_tags) | Tags for the database | `set(string)` | `null` | no |
+| [users](#input\_users) | Database Users. It is set of username and passwords | `set(map(string))` | `null` | no |
+| [whitelist](#input\_whitelist) | Database Whitelist It is set of IP Address and description | `set(map(string))` | `null` | no |
-NOTE: We can configure the list of users, whitelist by entering respective details in input.tfvars.
+## Outputs
+
+| Name | Description |
+|------|-------------|
+| [postgresql](#output\_postgresql) | simple postgresql |
+
## Usage
@@ -97,4 +131,4 @@ terraform plan -var-file="input.tfvars"
```
```
terraform apply -var-file="input.tfvars"
-```
\ No newline at end of file
+```
diff --git a/modules/postgresql/main.tf b/modules/postgresql/main.tf
index e1ed2a6..338ba94 100644
--- a/modules/postgresql/main.tf
+++ b/modules/postgresql/main.tf
@@ -9,7 +9,7 @@ resource "ibm_database" "postgresql" {
service = "databases-for-postgresql"
plan = var.plan
location = var.location
- adminpassword = (var.adminpassword != null ? var.adminpassword : null)
+ adminpassword = (var.adminpassword != null ? var.adminpassword : null) # pragma: allowlist secret
version = (var.database_version != null ? var.database_version : null)
members_memory_allocation_mb = (var.memory_allocation != null ? var.memory_allocation : null)
members_disk_allocation_mb = (var.disk_allocation != null ? var.disk_allocation : null)
diff --git a/modules/postgresql/outputs.tf b/modules/postgresql/outputs.tf
index 4a8f3f4..571f431 100644
--- a/modules/postgresql/outputs.tf
+++ b/modules/postgresql/outputs.tf
@@ -3,6 +3,7 @@
# Copyright 2020 IBM
###########################################################
output "postgresql" {
- value = ibm_database.postgresql
- sensitive = true
-}
\ No newline at end of file
+ description = "simple postgresql"
+ value = ibm_database.postgresql
+ sensitive = true
+}
diff --git a/modules/postgresql/variables.tf b/modules/postgresql/variables.tf
index 25ebcdb..d486e73 100644
--- a/modules/postgresql/variables.tf
+++ b/modules/postgresql/variables.tf
@@ -198,4 +198,4 @@ variable "memory_rate_units" {
default = null
type = string
description = "Auto Scaling Memory Rate: Units "
-}
\ No newline at end of file
+}
diff --git a/modules/postgresql/versions.tf b/modules/postgresql/versions.tf
index 7f1bcb7..d8fb741 100644
--- a/modules/postgresql/versions.tf
+++ b/modules/postgresql/versions.tf
@@ -3,10 +3,11 @@
# Copyright 2020 IBM
###########################################################
terraform {
- required_version = ">=0.13"
+ required_version = ">= 1.0.0"
required_providers {
ibm = {
- source = "IBM-Cloud/ibm"
+ source = "IBM-Cloud/ibm"
+ version = "1.41.1"
}
}
-}
\ No newline at end of file
+}
diff --git a/modules/rabbitmq/README.md b/modules/rabbitmq/README.md
index 48f66e8..3f2d07e 100644
--- a/modules/rabbitmq/README.md
+++ b/modules/rabbitmq/README.md
@@ -7,85 +7,119 @@ This module is used to provision messages for Rabbitmq Database on IBM Cloud I
data "ibm_resource_group" "resource_group" {
name = var.resource_group
}
-module "database_simple-icd" {
- source = "../../modules/rabbitmq"
- location = var.location
- plan = var.plan
- service_name = var.service_name
- resource_group_id = data.ibm_resource_group.resource_group.id
- tags = var.tags
- memory_allocation = var.memory_allocation
- disk_allocation = var.disk_allocation
- cpu_allocation = var.cpu_allocation
- database_version = var.database_version
- service_endpoints = var.service_endpoints
+module "database_rabbitmq" {
+ source = "../../modules/rabbitmq"
+ resource_group_id = data.ibm_resource_group.resource_group.id
+ service_name = var.name
+ plan = var.plan
+ location = var.location
+ database_version = var.database_version
+ memory_allocation = var.memory_allocation
+ disk_allocation = var.disk_allocation
+ cpu_allocation = var.cpu_allocation
+ service_endpoints = var.service_endpoints
+ backup_id = var.backup_id
+ remote_leader_id = var.remote_leader_id
+ kms_instance = var.kms_instance
+ disk_encryption_key = var.disk_encryption_key
+ backup_encryption_key = var.backup_encryption_key
+ tags = var.tags
+ point_in_time_recovery_deployment_id = var.point_in_time_recovery_deployment_id
+ point_in_time_recovery_time = var.point_in_time_recovery_time
+ users = var.users
+ whitelist = var.whitelist
+ cpu_rate_increase_percent = var.cpu_rate_increase_percent
+ cpu_rate_limit_count_per_member = var.cpu_rate_limit_count_per_member
+ cpu_rate_period_seconds = var.cpu_rate_period_seconds
+ cpu_rate_units = var.cpu_rate_units
+ disk_capacity_enabled = var.disk_capacity_enabled
+ disk_free_space_less_than_percent = var.disk_free_space_less_than_percent
+ disk_io_above_percent = var.disk_io_above_percent
+ disk_io_enabled = var.disk_io_enabled
+ disk_io_over_period = var.disk_io_over_period
+ disk_rate_increase_percent = var.disk_rate_increase_percent
+ disk_rate_limit_mb_per_member = var.disk_rate_limit_mb_per_member
+ disk_rate_period_seconds = var.disk_rate_period_seconds
+ disk_rate_units = var.disk_rate_units
+ memory_io_above_percent = var.memory_io_above_percent
+ memory_io_enabled = var.memory_io_enabled
+ memory_io_over_period = var.memory_io_over_period
+ memory_rate_increase_percent = var.memory_rate_increase_percent
+ memory_rate_limit_mb_per_member = var.memory_rate_limit_mb_per_member
+ memory_rate_period_seconds = var.memory_rate_period_seconds
+ memory_rate_units = var.memory_rate_units
}
```
-## Inputs
+## Requirements
-| Name | Description | Type | Default | Required |
-|---------------------------------------|-------------------------------------------------------------------|----------|---------|----------|
-| resource_group_id | Resource Group Id. | string | n/a | yes |
-| service_name | Resource instance name for example, my Database instance. | string | n/a | yes |
-| plan | The plan type of the Database instance. | string | standard| yes |
-| location | The location or the region in which Database instance exists. | string | n/a | yes |
-| adminpassword | The admin user password for the instance. | string | n/a | no |
-| database_version | The database version to provision if specified. | string | n/a | no |
-| memory_allocation | Memory allocation required for database. | number | n/a | no |
-| disk_allocation | Disk allocation required for database | number | n/a | no |
-| cpu_allocation | CPU allocation required for database. | number | n/a | no |
-| service_endpoints | Types of the service endpoints. | string | public | no |
-| backup_id | The CRN of backup source database. | string | n/a | no |
-| remote_leader_id | The CRN of leader database. | string | n/a | no |
-| kms_instance | The CRN of Key protect instance. | string | n/a | no |
-| disk_encryption_key | The CRN of Key protect key | string | n/a | no |
-| backup_encryption_key | backup_encryption_key_crn | string | n/a | no |
-| tags | Tags for the database | set(str) | n/a | no |
-| point_in_time_recovery_deployment_id |The CRN of source instance. | string | n/a | no |
-| point_in_time_recovery_time | The point in time recovery time stamp of the deployed instance | string | n/a | no |
-| users | Database Users. It is set of username and passwords | set(obj) | n/a | no |
-| whitelist | Database Whitelist It is set of IP Address and description. | set(obj) | n/a | no |
-| cpu_rate_increase_percent | Auto Scaling CPU Rate: Increase Percent | number | n/a | no |
-| cpu_rate_limit_count_per_member | Auto Scaling CPU Rate: Limit count per number. | number | n/a | no |
-| cpu_rate_period_seconds | Auto Scaling CPU Rate: Period Seconds | number | n/a | no |
-| cpu_rate_units | Auto Scaling CPU Rate: Units. | string | n/a | no |
-| disk_capacity_enabled | Auto Scaling Disk Scalar: Capacity Enabled. | bool | n/a | no |
-| disk_free_space_less_than_percent | Auto Scaling Disk Scalar: Capacity Free Space Less Than Percent | number | n/a | no |
-| disk_io_above_percent | Auto Scaling Disk Scalar: IO Utilization Above Percent. | number | n/a | no |
-| disk_io_enabled | Auto Scaling Disk Scalar: IO Utilization Enabled. | bool | n/a | no |
-| disk_io_over_period | Auto Scaling Disk Scalar: IO Utilization Over Period | string | n/a | no |
-| disk_rate_increase_percent | Auto Scaling Disk Rate: Increase Percent | number | n/a | no |
-| disk_rate_limit_mb_per_member | Auto Scaling Disk Rate: Limit mb per member | number | n/a | no |
-| disk_rate_period_seconds | Auto Scaling Disk Rate: Period Seconds | number | n/a | no |
-| disk_rate_units | Auto Scaling Disk Disk: Units. | string | n/a | no |
-| memory_io_above_percent | Auto Scaling Memory Scalar: IO Utilization Above Percent. | number | n/a | no |
-| memory_io_enabled | Auto Scaling Memory Scalar: IO Utilization Enabled. | bool | n/a | no |
-| memory_io_over_period | Auto Scaling Memory Scalar: IO Utilization Over Period | string | n/a | no |
-| memory_rate_increase_percent | Auto Scaling Memory Rate: Increase Percent | number | n/a | no |
-| memory_rate_limit_mb_per_member | Auto Scaling Memory Rate: Limit mb per member | number | n/a | no |
-| memory_rate_period_seconds | Auto Scaling Memory Rate: Period Seconds. | number | n/a | no |
-| memory_rate_units | Auto Scaling Memory Rate: Units. | string | n/a | no |
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [ibm](#requirement\_ibm) | 1.41.1 |
-## Users Inputs
-| Name | Description | Type | Default | Required |
-|--------------------------------------|-----------------------|--------|---------|----------|
-| name | Name Of the User | string | n/a | no |
-| password | User Password | string | n/a | no |
+## Modules
-## Whitelist Inputs
+No modules.
-| Name | Description | Type | Default | Required |
-|-----------------------------------------|---------------------------------------|--------|---------|----------|
-| address | Whitelist IP address in CIDR notation | string | n/a | no |
-| description | Unique white list description | string | n/a | no |
+## Resources
-
+| Name | Type |
+|------|------|
+| [ibm_database.rabbitmq](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/resources/database) | resource |
+
+## Inputs
-### NOTE: To make use of a particular version of module, Set the `version` argument to respective module version.
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [adminpassword](#input\_adminpassword) | The admin user password for the instance | `string` | `null` | no |
+| [backup\_encryption\_key](#input\_backup\_encryption\_key) | The Backup Encryption Key CRN | `string` | `null` | no |
+| [backup\_id](#input\_backup\_id) | The CRN of backup source database | `string` | `null` | no |
+| [cpu\_allocation](#input\_cpu\_allocation) | CPU allocation required for database | `number` | `null` | no |
+| [cpu\_rate\_increase\_percent](#input\_cpu\_rate\_increase\_percent) | Auto Scaling CPU Rate: Increase Percent | `number` | `null` | no |
+| [cpu\_rate\_limit\_count\_per\_member](#input\_cpu\_rate\_limit\_count\_per\_member) | Auto Scaling CPU Rate: Limit count per number | `number` | `null` | no |
+| [cpu\_rate\_period\_seconds](#input\_cpu\_rate\_period\_seconds) | Auto Scaling CPU Rate: Period Seconds | `number` | `null` | no |
+| [cpu\_rate\_units](#input\_cpu\_rate\_units) | Auto Scaling CPU Rate: Units | `string` | `null` | no |
+| [database\_version](#input\_database\_version) | The database version to provision if specified | `string` | `null` | no |
+| [disk\_allocation](#input\_disk\_allocation) | Disk allocation required for database | `number` | `null` | no |
+| [disk\_capacity\_enabled](#input\_disk\_capacity\_enabled) | Auto Scaling Disk Scalar: Capacity Enabled | `bool` | `null` | no |
+| [disk\_encryption\_key](#input\_disk\_encryption\_key) | The CRN of Key protect key | `string` | `null` | no |
+| [disk\_free\_space\_less\_than\_percent](#input\_disk\_free\_space\_less\_than\_percent) | Auto Scaling Disk Scalar: Capacity Free Space Less Than Percent | `number` | `null` | no |
+| [disk\_io\_above\_percent](#input\_disk\_io\_above\_percent) | Auto Scaling Disk Scalar: IO Utilization Above Percent | `number` | `null` | no |
+| [disk\_io\_enabled](#input\_disk\_io\_enabled) | Auto Scaling Disk Scalar: IO Utilization Enabled | `bool` | `null` | no |
+| [disk\_io\_over\_period](#input\_disk\_io\_over\_period) | Auto Scaling Disk Scalar: IO Utilization Over Period | `string` | `null` | no |
+| [disk\_rate\_increase\_percent](#input\_disk\_rate\_increase\_percent) | Auto Scaling Disk Rate: Increase Percent | `number` | `null` | no |
+| [disk\_rate\_limit\_mb\_per\_member](#input\_disk\_rate\_limit\_mb\_per\_member) | Auto Scaling Disk Rate: Limit mb per member | `number` | `null` | no |
+| [disk\_rate\_period\_seconds](#input\_disk\_rate\_period\_seconds) | Auto Scaling Disk Rate: Period Seconds | `number` | `null` | no |
+| [disk\_rate\_units](#input\_disk\_rate\_units) | Auto Scaling Disk Rate: Units | `string` | `null` | no |
+| [kms\_instance](#input\_kms\_instance) | The CRN of Key protect instance | `string` | `null` | no |
+| [location](#input\_location) | The location or the region in which Database instance exists | `string` | n/a | yes |
+| [memory\_allocation](#input\_memory\_allocation) | Memory allocation required for database | `number` | `null` | no |
+| [memory\_io\_above\_percent](#input\_memory\_io\_above\_percent) | Auto Scaling Memory Scalar: IO Utilization Above Percent | `number` | `null` | no |
+| [memory\_io\_enabled](#input\_memory\_io\_enabled) | Auto Scaling Memory Scalar: IO Utilization Enabled | `bool` | `null` | no |
+| [memory\_io\_over\_period](#input\_memory\_io\_over\_period) | Auto Scaling Memory Scalar: IO Utilization Over Period | `number` | `null` | no |
+| [memory\_rate\_increase\_percent](#input\_memory\_rate\_increase\_percent) | Auto Scaling Memory Rate: Increase Percent | `number` | `null` | no |
+| [memory\_rate\_limit\_mb\_per\_member](#input\_memory\_rate\_limit\_mb\_per\_member) | Auto Scaling Memory Rate: Limit mb per member | `number` | `null` | no |
+| [memory\_rate\_period\_seconds](#input\_memory\_rate\_period\_seconds) | Auto Scaling Memory Rate: Period Seconds | `number` | `null` | no |
+| [memory\_rate\_units](#input\_memory\_rate\_units) | Auto Scaling Memory Rate: Units | `string` | `null` | no |
+| [plan](#input\_plan) | The plan type of the Database instance | `string` | n/a | yes |
+| [point\_in\_time\_recovery\_deployment\_id](#input\_point\_in\_time\_recovery\_deployment\_id) | The CRN of source instance | `string` | `null` | no |
+| [point\_in\_time\_recovery\_time](#input\_point\_in\_time\_recovery\_time) | The point in time recovery time stamp of the deployed instance | `string` | `null` | no |
+| [remote\_leader\_id](#input\_remote\_leader\_id) | The CRN of leader database | `string` | `null` | no |
+| [resource\_group\_id](#input\_resource\_group\_id) | Resource Group ID | `string` | n/a | yes |
+| [service\_endpoints](#input\_service\_endpoints) | Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. | `string` | `null` | no |
+| [service\_name](#input\_service\_name) | Resource instance name for example, my Database instance | `string` | n/a | yes |
+| [tags](#input\_tags) | Tags for the database | `set(string)` | `null` | no |
+| [users](#input\_users) | Database Users. It is set of username and passwords | `set(map(string))` | `null` | no |
+| [whitelist](#input\_whitelist) | Database Whitelist It is set of IP Address and description | `set(map(string))` | `null` | no |
-NOTE: We can configure the list of users, whitelist by entering respective details in input.tfvars.
+## Outputs
+
+| Name | Description |
+|------|-------------|
+| [rabbitmq](#output\_rabbitmq) | simple rabbitmq |
+
## Usage
@@ -97,4 +131,4 @@ terraform plan -var-file="input.tfvars"
```
```
terraform apply -var-file="input.tfvars"
-```
\ No newline at end of file
+```
diff --git a/modules/rabbitmq/main.tf b/modules/rabbitmq/main.tf
index 65e06f3..12af608 100644
--- a/modules/rabbitmq/main.tf
+++ b/modules/rabbitmq/main.tf
@@ -9,7 +9,7 @@ resource "ibm_database" "rabbitmq" {
service = "messages-for-rabbitmq"
plan = var.plan
location = var.location
- adminpassword = (var.adminpassword != null ? var.adminpassword : null)
+ adminpassword = (var.adminpassword != null ? var.adminpassword : null) # pragma: allowlist secret
version = (var.database_version != null ? var.database_version : null)
members_memory_allocation_mb = (var.memory_allocation != null ? var.memory_allocation : null)
members_disk_allocation_mb = (var.disk_allocation != null ? var.disk_allocation : null)
diff --git a/modules/rabbitmq/outputs.tf b/modules/rabbitmq/outputs.tf
index 879c915..8957dba 100644
--- a/modules/rabbitmq/outputs.tf
+++ b/modules/rabbitmq/outputs.tf
@@ -3,6 +3,7 @@
# Copyright 2020 IBM
###########################################################
output "rabbitmq" {
- value = ibm_database.rabbitmq
- sensitive = true
-}
\ No newline at end of file
+ description = "simple rabbitmq"
+ value = ibm_database.rabbitmq
+ sensitive = true
+}
diff --git a/modules/rabbitmq/variables.tf b/modules/rabbitmq/variables.tf
index b2bd296..5039125 100644
--- a/modules/rabbitmq/variables.tf
+++ b/modules/rabbitmq/variables.tf
@@ -198,4 +198,4 @@ variable "memory_rate_units" {
default = null
type = string
description = "Auto Scaling Memory Rate: Units "
-}
\ No newline at end of file
+}
diff --git a/modules/rabbitmq/versions.tf b/modules/rabbitmq/versions.tf
index 7f1bcb7..d8fb741 100644
--- a/modules/rabbitmq/versions.tf
+++ b/modules/rabbitmq/versions.tf
@@ -3,10 +3,11 @@
# Copyright 2020 IBM
###########################################################
terraform {
- required_version = ">=0.13"
+ required_version = ">= 1.0.0"
required_providers {
ibm = {
- source = "IBM-Cloud/ibm"
+ source = "IBM-Cloud/ibm"
+ version = "1.41.1"
}
}
-}
\ No newline at end of file
+}
diff --git a/modules/redis/README.md b/modules/redis/README.md
index 4667e8a..a1df12f 100644
--- a/modules/redis/README.md
+++ b/modules/redis/README.md
@@ -7,85 +7,120 @@ This module is used to provision databases for Redis Database on IBM Cloud Inf
data "ibm_resource_group" "resource_group" {
name = var.resource_group
}
-module "database_simple-icd" {
- source = "../../modules/redis"
- location = var.location
- plan = var.plan
- service_name = var.service_name
- resource_group_id = data.ibm_resource_group.resource_group.id
- tags = var.tags
- memory_allocation = var.memory_allocation
- disk_allocation = var.disk_allocation
- cpu_allocation = var.cpu_allocation
- database_version = var.database_version
- service_endpoints = var.service_endpoints
+module "database_redis" {
+ source = "../../modules/redis"
+ resource_group_id = data.ibm_resource_group.resource_group.id
+ service_name = var.name
+ plan = var.plan
+ location = var.location
+ database_version = var.database_version
+ memory_allocation = var.memory_allocation
+ disk_allocation = var.disk_allocation
+ cpu_allocation = var.cpu_allocation
+ service_endpoints = var.service_endpoints
+ backup_id = var.backup_id
+ remote_leader_id = var.remote_leader_id
+ kms_instance = var.kms_instance
+ disk_encryption_key = var.disk_encryption_key
+ backup_encryption_key = var.backup_encryption_key
+ tags = var.tags
+ point_in_time_recovery_deployment_id = var.point_in_time_recovery_deployment_id
+ point_in_time_recovery_time = var.point_in_time_recovery_time
+ users = var.users
+ whitelist = var.whitelist
+ cpu_rate_increase_percent = var.cpu_rate_increase_percent
+ cpu_rate_limit_count_per_member = var.cpu_rate_limit_count_per_member
+ cpu_rate_period_seconds = var.cpu_rate_period_seconds
+ cpu_rate_units = var.cpu_rate_units
+ disk_capacity_enabled = var.disk_capacity_enabled
+ disk_free_space_less_than_percent = var.disk_free_space_less_than_percent
+ disk_io_above_percent = var.disk_io_above_percent
+ disk_io_enabled = var.disk_io_enabled
+ disk_io_over_period = var.disk_io_over_period
+ disk_rate_increase_percent = var.disk_rate_increase_percent
+ disk_rate_limit_mb_per_member = var.disk_rate_limit_mb_per_member
+ disk_rate_period_seconds = var.disk_rate_period_seconds
+ disk_rate_units = var.disk_rate_units
+ memory_io_above_percent = var.memory_io_above_percent
+ memory_io_enabled = var.memory_io_enabled
+ memory_io_over_period = var.memory_io_over_period
+ memory_rate_increase_percent = var.memory_rate_increase_percent
+ memory_rate_limit_mb_per_member = var.memory_rate_limit_mb_per_member
+ memory_rate_period_seconds = var.memory_rate_period_seconds
+ memory_rate_units = var.memory_rate_units
}
```
-## Inputs
+## Requirements
-| Name | Description | Type | Default | Required |
-|---------------------------------------|-------------------------------------------------------------------|----------|---------|----------|
-| resource_group_id | Resource Group Id. | string | n/a | yes |
-| service_name | Resource instance name for example, my Database instance. | string | n/a | yes |
-| plan | The plan type of the Database instance. | string | standard| yes |
-| location | The location or the region in which Database instance exists. | string | n/a | yes |
-| adminpassword | The admin user password for the instance. | string | n/a | no |
-| database_version | The database version to provision if specified. | string | n/a | no |
-| memory_allocation | Memory allocation required for database. | number | n/a | no |
-| disk_allocation | Disk allocation required for database | number | n/a | no |
-| cpu_allocation | CPU allocation required for database. | number | n/a | no |
-| service_endpoints | Types of the service endpoints. | string | public | no |
-| backup_id | The CRN of backup source database. | string | n/a | no |
-| remote_leader_id | The CRN of leader database. | string | n/a | no |
-| kms_instance | The CRN of Key protect instance. | string | n/a | no |
-| disk_encryption_key | The CRN of Key protect key | string | n/a | no |
-| backup_encryption_key | backup_encryption_key_crn | string | n/a | no |
-| tags | Tags for the database | set(str) | n/a | no |
-| point_in_time_recovery_deployment_id |The CRN of source instance. | string | n/a | no |
-| point_in_time_recovery_time | The point in time recovery time stamp of the deployed instance | string | n/a | no |
-| users | Database Users. It is set of username and passwords | set(obj) | n/a | no |
-| whitelist | Database Whitelist It is set of IP Address and description. | set(obj) | n/a | no |
-| cpu_rate_increase_percent | Auto Scaling CPU Rate: Increase Percent | number | n/a | no |
-| cpu_rate_limit_count_per_member | Auto Scaling CPU Rate: Limit count per number. | number | n/a | no |
-| cpu_rate_period_seconds | Auto Scaling CPU Rate: Period Seconds | number | n/a | no |
-| cpu_rate_units | Auto Scaling CPU Rate: Units. | string | n/a | no |
-| disk_capacity_enabled | Auto Scaling Disk Scalar: Capacity Enabled. | bool | n/a | no |
-| disk_free_space_less_than_percent | Auto Scaling Disk Scalar: Capacity Free Space Less Than Percent | number | n/a | no |
-| disk_io_above_percent | Auto Scaling Disk Scalar: IO Utilization Above Percent. | number | n/a | no |
-| disk_io_enabled | Auto Scaling Disk Scalar: IO Utilization Enabled. | bool | n/a | no |
-| disk_io_over_period | Auto Scaling Disk Scalar: IO Utilization Over Period | string | n/a | no |
-| disk_rate_increase_percent | Auto Scaling Disk Rate: Increase Percent | number | n/a | no |
-| disk_rate_limit_mb_per_member | Auto Scaling Disk Rate: Limit mb per member | number | n/a | no |
-| disk_rate_period_seconds | Auto Scaling Disk Rate: Period Seconds | number | n/a | no |
-| disk_rate_units | Auto Scaling Disk Disk: Units. | string | n/a | no |
-| memory_io_above_percent | Auto Scaling Memory Scalar: IO Utilization Above Percent. | number | n/a | no |
-| memory_io_enabled | Auto Scaling Memory Scalar: IO Utilization Enabled. | bool | n/a | no |
-| memory_io_over_period | Auto Scaling Memory Scalar: IO Utilization Over Period | string | n/a | no |
-| memory_rate_increase_percent | Auto Scaling Memory Rate: Increase Percent | number | n/a | no |
-| memory_rate_limit_mb_per_member | Auto Scaling Memory Rate: Limit mb per member | number | n/a | no |
-| memory_rate_period_seconds | Auto Scaling Memory Rate: Period Seconds. | number | n/a | no |
-| memory_rate_units | Auto Scaling Memory Rate: Units. | string | n/a | no |
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [ibm](#requirement\_ibm) | 1.41.1 |
-## Users Inputs
-| Name | Description | Type | Default | Required |
-|--------------------------------------|-----------------------|--------|---------|----------|
-| name | Name Of the User | string | n/a | no |
-| password | User Password | string | n/a | no |
+## Modules
-## Whitelist Inputs
+No modules.
-| Name | Description | Type | Default | Required |
-|-----------------------------------------|---------------------------------------|--------|---------|----------|
-| address | Whitelist IP address in CIDR notation | string | n/a | no |
-| description | Unique white list description | string | n/a | no |
+## Resources
-
+| Name | Type |
+|------|------|
+| [ibm_database.redis](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/resources/database) | resource |
+
+## Inputs
-#### NOTE: To make use of a particular version of module, Set the `version` argument to respective module version.
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [adminpassword](#input\_adminpassword) | The admin user password for the instance | `string` | `null` | no |
+| [backup\_encryption\_key](#input\_backup\_encryption\_key) | The Backup Encryption Key CRN | `string` | `null` | no |
+| [backup\_id](#input\_backup\_id) | The CRN of backup source database | `string` | `null` | no |
+| [cpu\_allocation](#input\_cpu\_allocation) | CPU allocation required for database | `number` | `null` | no |
+| [cpu\_rate\_increase\_percent](#input\_cpu\_rate\_increase\_percent) | Auto Scaling CPU Rate: Increase Percent | `number` | `null` | no |
+| [cpu\_rate\_limit\_count\_per\_member](#input\_cpu\_rate\_limit\_count\_per\_member) | Auto Scaling CPU Rate: Limit count per number | `number` | `null` | no |
+| [cpu\_rate\_period\_seconds](#input\_cpu\_rate\_period\_seconds) | Auto Scaling CPU Rate: Period Seconds | `number` | `null` | no |
+| [cpu\_rate\_units](#input\_cpu\_rate\_units) | Auto Scaling CPU Rate: Units | `string` | `null` | no |
+| [database\_version](#input\_database\_version) | The database version to provision if specified | `string` | `null` | no |
+| [disk\_allocation](#input\_disk\_allocation) | Disk allocation required for database | `number` | `null` | no |
+| [disk\_capacity\_enabled](#input\_disk\_capacity\_enabled) | Auto Scaling Disk Scalar: Capacity Enabled | `bool` | `null` | no |
+| [disk\_encryption\_key](#input\_disk\_encryption\_key) | The CRN of Key protect key | `string` | `null` | no |
+| [disk\_free\_space\_less\_than\_percent](#input\_disk\_free\_space\_less\_than\_percent) | Auto Scaling Disk Scalar: Capacity Free Space Less Than Percent | `number` | `null` | no |
+| [disk\_io\_above\_percent](#input\_disk\_io\_above\_percent) | Auto Scaling Disk Scalar: IO Utilization Above Percent | `number` | `null` | no |
+| [disk\_io\_enabled](#input\_disk\_io\_enabled) | Auto Scaling Disk Scalar: IO Utilization Enabled | `bool` | `null` | no |
+| [disk\_io\_over\_period](#input\_disk\_io\_over\_period) | Auto Scaling Disk Scalar: IO Utilization Over Period | `string` | `null` | no |
+| [disk\_rate\_increase\_percent](#input\_disk\_rate\_increase\_percent) | Auto Scaling Disk Rate: Increase Percent | `number` | `null` | no |
+| [disk\_rate\_limit\_mb\_per\_member](#input\_disk\_rate\_limit\_mb\_per\_member) | Auto Scaling Disk Rate: Limit mb per member | `number` | `null` | no |
+| [disk\_rate\_period\_seconds](#input\_disk\_rate\_period\_seconds) | Auto Scaling Disk Rate: Period Seconds | `number` | `null` | no |
+| [disk\_rate\_units](#input\_disk\_rate\_units) | Auto Scaling Disk Rate: Units | `string` | `null` | no |
+| [kms\_instance](#input\_kms\_instance) | The CRN of Key protect instance | `string` | `null` | no |
+| [location](#input\_location) | The location or the region in which Database instance exists | `string` | n/a | yes |
+| [memory\_allocation](#input\_memory\_allocation) | Memory allocation required for database | `number` | `null` | no |
+| [memory\_io\_above\_percent](#input\_memory\_io\_above\_percent) | Auto Scaling Memory Scalar: IO Utilization Above Percent | `number` | `null` | no |
+| [memory\_io\_enabled](#input\_memory\_io\_enabled) | Auto Scaling Memory Scalar: IO Utilization Enabled | `bool` | `null` | no |
+| [memory\_io\_over\_period](#input\_memory\_io\_over\_period) | Auto Scaling Memory Scalar: IO Utilization Over Period | `number` | `null` | no |
+| [memory\_rate\_increase\_percent](#input\_memory\_rate\_increase\_percent) | Auto Scaling Memory Rate: Increase Percent | `number` | `null` | no |
+| [memory\_rate\_limit\_mb\_per\_member](#input\_memory\_rate\_limit\_mb\_per\_member) | Auto Scaling Memory Rate: Limit mb per member | `number` | `null` | no |
+| [memory\_rate\_period\_seconds](#input\_memory\_rate\_period\_seconds) | Auto Scaling Memory Rate: Period Seconds | `number` | `null` | no |
+| [memory\_rate\_units](#input\_memory\_rate\_units) | Auto Scaling Memory Rate: Units | `string` | `null` | no |
+| [plan](#input\_plan) | The plan type of the Database instance | `string` | n/a | yes |
+| [point\_in\_time\_recovery\_deployment\_id](#input\_point\_in\_time\_recovery\_deployment\_id) | The CRN of source instance | `string` | `null` | no |
+| [point\_in\_time\_recovery\_time](#input\_point\_in\_time\_recovery\_time) | The point in time recovery time stamp of the deployed instance | `string` | `null` | no |
+| [remote\_leader\_id](#input\_remote\_leader\_id) | The CRN of leader database | `string` | `null` | no |
+| [resource\_group\_id](#input\_resource\_group\_id) | Resource Group ID | `string` | n/a | yes |
+| [service\_endpoints](#input\_service\_endpoints) | Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. | `string` | `null` | no |
+| [service\_name](#input\_service\_name) | Resource instance name for example, my Database instance | `string` | n/a | yes |
+| [tags](#input\_tags) | Tags for the database | `set(string)` | `null` | no |
+| [users](#input\_users) | Database Users. It is set of username and passwords | `set(map(string))` | `null` | no |
+| [whitelist](#input\_whitelist) | Database Whitelist It is set of IP Address and description | `set(map(string))` | `null` | no |
+
+## Outputs
+
+| Name | Description |
+|------|-------------|
+| [redis](#output\_redis) | simple redis |
+
-NOTE: We can configure the list of users, whitelist by entering respective details in input.tfvars.
## Usage
@@ -97,4 +132,4 @@ terraform plan -var-file="input.tfvars"
```
```
terraform apply -var-file="input.tfvars"
-```
\ No newline at end of file
+```
diff --git a/modules/redis/main.tf b/modules/redis/main.tf
index af5e652..4f7e894 100644
--- a/modules/redis/main.tf
+++ b/modules/redis/main.tf
@@ -9,7 +9,7 @@ resource "ibm_database" "redis" {
service = "databases-for-redis"
plan = var.plan
location = var.location
- adminpassword = (var.adminpassword != null ? var.adminpassword : null)
+ adminpassword = (var.adminpassword != null ? var.adminpassword : null) # pragma: allowlist secret
version = (var.database_version != null ? var.database_version : null)
members_memory_allocation_mb = (var.memory_allocation != null ? var.memory_allocation : null)
members_disk_allocation_mb = (var.disk_allocation != null ? var.disk_allocation : null)
diff --git a/modules/redis/outputs.tf b/modules/redis/outputs.tf
index 46d8b01..1f6d08e 100644
--- a/modules/redis/outputs.tf
+++ b/modules/redis/outputs.tf
@@ -3,6 +3,7 @@
# Copyright 2020 IBM
###########################################################
output "redis" {
- value = ibm_database.redis
- sensitive = true
-}
\ No newline at end of file
+ description = "simple redis"
+ value = ibm_database.redis
+ sensitive = true
+}
diff --git a/modules/redis/variables.tf b/modules/redis/variables.tf
index 77900da..173429f 100644
--- a/modules/redis/variables.tf
+++ b/modules/redis/variables.tf
@@ -198,4 +198,4 @@ variable "memory_rate_units" {
default = null
type = string
description = "Auto Scaling Memory Rate: Units "
-}
\ No newline at end of file
+}
diff --git a/modules/redis/versions.tf b/modules/redis/versions.tf
index 7f1bcb7..d8fb741 100644
--- a/modules/redis/versions.tf
+++ b/modules/redis/versions.tf
@@ -3,10 +3,11 @@
# Copyright 2020 IBM
###########################################################
terraform {
- required_version = ">=0.13"
+ required_version = ">= 1.0.0"
required_providers {
ibm = {
- source = "IBM-Cloud/ibm"
+ source = "IBM-Cloud/ibm"
+ version = "1.41.1"
}
}
-}
\ No newline at end of file
+}
diff --git a/modules/service-credentials/README.md b/modules/service-credentials/README.md
index 014b514..7b0881b 100644
--- a/modules/service-credentials/README.md
+++ b/modules/service-credentials/README.md
@@ -5,35 +5,57 @@ This example is used to create a service credentials to an existing database on
## Example Usage
```
provider "ibm" {
+ region = var.ibm_region
+}
+data "ibm_resource_group" "resource_group" {
+ name = var.resource_group != null ? var.resource_group : "default"
}
-module "db-service-credentials" {
- source = "../../modules/service-credentials"
- db_name = var.db_name
- key_name = var.key_name
- key_role = var.key_role
- key_tags = var.key_tags
+module "db_service_credentials" {
+ source = "../../modules/service-credentials"
+ db_name = var.db_name
+ location = var.location
+ resource_group_id = data.ibm_resource_group.resource_group.id
+ key_name = var.key_name
+ key_role = var.key_role
}
```
+## Requirements
+
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [ibm](#requirement\_ibm) | 1.41.1 |
+
+## Modules
+
+No modules.
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [ibm_resource_key.db_key](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/resources/resource_key) | resource |
+| [ibm_database.db](https://registry.terraform.io/providers/IBM-Cloud/ibm/1.41.1/docs/data-sources/database) | data source |
+
## Inputs
-| Name | Description | Type | Default | Required |
-|----------------------|---------------------------------------------------|----------|---------|----------|
-| db_name | Existing db Name. | string | n/a | yes |
-| resource_group_id | ID of the resource group | string | n/a | no |
-| location | Location to which DB instance belongs to | string | n/a | no |
-| key_name | Name of key to be created. | string | n/a | yes |
-| key_role | name of the user role | string | n/a | yes |
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [db\_name](#input\_db\_name) | Name of an existing Database | `string` | n/a | yes |
+| [key\_name](#input\_key\_name) | Nam eof the Key instance to be created | `string` | n/a | yes |
+| [key\_role](#input\_key\_role) | Name of a user role. Valid roles are Writer, Reader, Manager, Administrator, Operator, Viewer, and Editor. | `string` | `"Viewer"` | no |
+| [location](#input\_location) | Location in which DB instance exists | `string` | `null` | no |
+| [resource\_group\_id](#input\_resource\_group\_id) | ID of the resource group, DB instance belongs to | `string` | `null` | no |
## Outputs
-| Name | Description | Type |
-|----------------------|---------------------------------------------------|----------|
-| key_id | Unique id of key instance. | string |
-
+| Name | Description |
+|------|-------------|
+| [key\_id](#output\_key\_id) | The ID of the key |
## Usage
diff --git a/modules/service-credentials/main.tf b/modules/service-credentials/main.tf
index 58cc24a..ae9f9d2 100644
--- a/modules/service-credentials/main.tf
+++ b/modules/service-credentials/main.tf
@@ -8,8 +8,8 @@ data "ibm_database" "db" {
resource_group_id = var.resource_group_id != null ? var.resource_group_id : null
}
-resource "ibm_resource_key" "dbKey" {
+resource "ibm_resource_key" "db_key" {
name = var.key_name
role = var.key_role
resource_instance_id = data.ibm_database.db.id
-}
\ No newline at end of file
+}
diff --git a/modules/service-credentials/outputs.tf b/modules/service-credentials/outputs.tf
index 91154ba..9fa9302 100644
--- a/modules/service-credentials/outputs.tf
+++ b/modules/service-credentials/outputs.tf
@@ -5,5 +5,5 @@
output "key_id" {
description = "The ID of the key"
- value = ibm_resource_key.dbKey.id
-}
\ No newline at end of file
+ value = ibm_resource_key.db_key.id
+}
diff --git a/modules/service-credentials/versions.tf b/modules/service-credentials/versions.tf
index 7f1bcb7..d8fb741 100644
--- a/modules/service-credentials/versions.tf
+++ b/modules/service-credentials/versions.tf
@@ -3,10 +3,11 @@
# Copyright 2020 IBM
###########################################################
terraform {
- required_version = ">=0.13"
+ required_version = ">= 1.0.0"
required_providers {
ibm = {
- source = "IBM-Cloud/ibm"
+ source = "IBM-Cloud/ibm"
+ version = "1.41.1"
}
}
-}
\ No newline at end of file
+}
diff --git a/outputs.tf b/outputs.tf
new file mode 100644
index 0000000..135186b
--- /dev/null
+++ b/outputs.tf
@@ -0,0 +1,11 @@
+##############################################################################
+# Outputs
+##############################################################################
+
+#output "myoutput" {
+# description = "Description of my output"
+# value = "value"
+# depends_on = []
+#}
+
+##############################################################################
diff --git a/renovate.json b/renovate.json
new file mode 100644
index 0000000..a8bf161
--- /dev/null
+++ b/renovate.json
@@ -0,0 +1,4 @@
+{
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
+ "extends": ["local>terraform-ibm-modules/common-dev-assets:commonRenovateConfig"]
+}
diff --git a/test/database_test.go b/test/database_test.go
deleted file mode 100644
index 578d46c..0000000
--- a/test/database_test.go
+++ /dev/null
@@ -1,51 +0,0 @@
-package test
-
-import (
- "fmt"
- "strings"
- "testing"
-
- "github.com/gruntwork-io/terratest/modules/random"
- "github.com/gruntwork-io/terratest/modules/terraform"
-)
-
-// An example of how to test the Terraform module to create cos instance in examples/instance using Terratest.
-func TestAccIBMDatabaseInstance(t *testing.T) {
- t.Parallel()
-
- // Unique name for an isnatnce so we can distinguish it from any other cos instances provisioned in your IBM account
- expectedInstanceName := fmt.Sprintf("terratest-%s", strings.ToLower(random.UniqueId()))
-
- // resource group
- expectedResourceGroup := "default"
-
- // Region
- expectedRegion := "us-south"
-
- // Construct the terraform options with default retryable errors to handle the most common retryable errors in
- // terraform testing.
- terraformOptions := terraform.WithDefaultRetryableErrors(t, &terraform.Options{
- // The path to where our Terraform code is located
- TerraformDir: "../examples/simple-redis",
-
- // Variables to pass to our Terraform code using -var options
- Vars: map[string]interface{}{
- "service_name": expectedInstanceName,
- "location": expectedRegion,
- "resource_group": expectedResourceGroup,
- },
- })
-
- // At the end of the test, run `terraform destroy` to clean up any resources that were created
- defer terraform.Destroy(t, terraformOptions)
-
- // This will run `terraform init` and `terraform apply` and fail the test if there are any errors
- terraform.InitAndApply(t, terraformOptions)
-
- // Run `terraform output` to get the value of an output variable
- /*instanceID := terraform.Output(t, terraformOptions, "cos_instance_id")
- if len(instanceID) <= 0 {
- t.Fatal("Wrong output")
- }
- fmt.Println("COS INstance iD", instanceID)*/
-}
diff --git a/tests/README.md b/tests/README.md
new file mode 100644
index 0000000..dfd6842
--- /dev/null
+++ b/tests/README.md
@@ -0,0 +1,5 @@
+# Tests
+
+For information about how to create and run tests, see [Validation tests](https://terraform-ibm-modules.github.io/documentation/#/tests) in the project documentation.
+
+
diff --git a/tests/go.mod b/tests/go.mod
new file mode 100644
index 0000000..023be99
--- /dev/null
+++ b/tests/go.mod
@@ -0,0 +1,100 @@
+module github.com/terraform-ibm-modules/terraform-ibm-database
+
+go 1.18
+
+require (
+ github.com/stretchr/testify v1.8.1
+ github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.2.3
+)
+
+require (
+ cloud.google.com/go v0.83.0 // indirect
+ cloud.google.com/go/storage v1.10.0 // indirect
+ github.com/IBM-Cloud/bluemix-go v0.0.0-20221026143540-4d6050d2dbc5 // indirect
+ github.com/IBM-Cloud/power-go-client v1.2.1 // indirect
+ github.com/IBM/go-sdk-core/v5 v5.10.2 // indirect
+ github.com/IBM/platform-services-go-sdk v0.29.1 // indirect
+ github.com/IBM/vpc-go-sdk v1.0.2 // indirect
+ github.com/Microsoft/go-winio v0.4.16 // indirect
+ github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 // indirect
+ github.com/PuerkitoBio/purell v1.1.1 // indirect
+ github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
+ github.com/acomagu/bufpipe v1.0.3 // indirect
+ github.com/agext/levenshtein v1.2.3 // indirect
+ github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
+ github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect
+ github.com/aws/aws-sdk-go v1.40.56 // indirect
+ github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
+ github.com/davecgh/go-spew v1.1.1 // indirect
+ github.com/emirpasic/gods v1.12.0 // indirect
+ github.com/go-git/gcfg v1.5.0 // indirect
+ github.com/go-git/go-billy/v5 v5.3.1 // indirect
+ github.com/go-git/go-git/v5 v5.4.2 // indirect
+ github.com/go-openapi/analysis v0.21.2 // indirect
+ github.com/go-openapi/errors v0.20.2 // indirect
+ github.com/go-openapi/jsonpointer v0.19.5 // indirect
+ github.com/go-openapi/jsonreference v0.19.6 // indirect
+ github.com/go-openapi/loads v0.21.1 // indirect
+ github.com/go-openapi/runtime v0.23.0 // indirect
+ github.com/go-openapi/spec v0.20.4 // indirect
+ github.com/go-openapi/strfmt v0.21.3 // indirect
+ github.com/go-openapi/swag v0.21.1 // indirect
+ github.com/go-openapi/validate v0.20.3 // indirect
+ github.com/go-playground/locales v0.14.0 // indirect
+ github.com/go-playground/universal-translator v0.18.0 // indirect
+ github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
+ github.com/golang/protobuf v1.5.2 // indirect
+ github.com/googleapis/gax-go/v2 v2.0.5 // indirect
+ github.com/gruntwork-io/terratest v0.40.24 // indirect
+ github.com/hashicorp/errwrap v1.0.0 // indirect
+ github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
+ github.com/hashicorp/go-getter v1.6.1 // indirect
+ github.com/hashicorp/go-multierror v1.1.0 // indirect
+ github.com/hashicorp/go-retryablehttp v0.7.1 // indirect
+ github.com/hashicorp/go-safetemp v1.0.0 // indirect
+ github.com/hashicorp/go-version v1.3.0 // indirect
+ github.com/hashicorp/hcl/v2 v2.9.1 // indirect
+ github.com/hashicorp/terraform-json v0.13.0 // indirect
+ github.com/imdario/mergo v0.3.12 // indirect
+ github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
+ github.com/jinzhu/copier v0.3.5 // indirect
+ github.com/jmespath/go-jmespath v0.4.0 // indirect
+ github.com/josharian/intern v1.0.0 // indirect
+ github.com/jstemmer/go-junit-report v0.9.1 // indirect
+ github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 // indirect
+ github.com/klauspost/compress v1.13.6 // indirect
+ github.com/leodido/go-urn v1.2.1 // indirect
+ github.com/mailru/easyjson v0.7.7 // indirect
+ github.com/mattn/go-zglob v0.0.2-0.20190814121620-e3c945676326 // indirect
+ github.com/mitchellh/go-homedir v1.1.0 // indirect
+ github.com/mitchellh/go-testing-interface v1.0.0 // indirect
+ github.com/mitchellh/go-wordwrap v1.0.1 // indirect
+ github.com/mitchellh/mapstructure v1.4.3 // indirect
+ github.com/oklog/ulid v1.3.1 // indirect
+ github.com/opentracing/opentracing-go v1.2.0 // indirect
+ github.com/pmezard/go-difflib v1.0.0 // indirect
+ github.com/sergi/go-diff v1.1.0 // indirect
+ github.com/tmccombs/hcl2json v0.3.3 // indirect
+ github.com/ulikunitz/xz v0.5.8 // indirect
+ github.com/xanzy/ssh-agent v0.3.0 // indirect
+ github.com/zclconf/go-cty v1.9.1 // indirect
+ go.mongodb.org/mongo-driver v1.10.0 // indirect
+ go.opencensus.io v0.23.0 // indirect
+ golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d // indirect
+ golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 // indirect
+ golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
+ golang.org/x/net v0.0.0-20221004154528-8021a29435af // indirect
+ golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c // indirect
+ golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10 // indirect
+ golang.org/x/text v0.3.7 // indirect
+ golang.org/x/tools v0.1.12 // indirect
+ google.golang.org/api v0.47.0 // indirect
+ google.golang.org/appengine v1.6.7 // indirect
+ google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c // indirect
+ google.golang.org/grpc v1.38.0 // indirect
+ google.golang.org/protobuf v1.28.0 // indirect
+ gopkg.in/go-playground/validator.v9 v9.31.0 // indirect
+ gopkg.in/warnings.v0 v0.1.2 // indirect
+ gopkg.in/yaml.v2 v2.4.0 // indirect
+ gopkg.in/yaml.v3 v3.0.1 // indirect
+)
diff --git a/tests/go.sum b/tests/go.sum
new file mode 100644
index 0000000..98df8ff
--- /dev/null
+++ b/tests/go.sum
@@ -0,0 +1,1023 @@
+cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
+cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
+cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU=
+cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU=
+cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY=
+cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc=
+cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0=
+cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To=
+cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4=
+cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M=
+cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc=
+cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk=
+cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs=
+cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc=
+cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY=
+cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI=
+cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk=
+cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg=
+cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8=
+cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0=
+cloud.google.com/go v0.83.0 h1:bAMqZidYkmIsUqe6PtkEPT7Q+vfizScn+jfNA6jwK9c=
+cloud.google.com/go v0.83.0/go.mod h1:Z7MJUsANfY0pYPdw0lbnivPx4/vhy/e2FEkSkF7vAVY=
+cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o=
+cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE=
+cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc=
+cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg=
+cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc=
+cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ=
+cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE=
+cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk=
+cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I=
+cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw=
+cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA=
+cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU=
+cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw=
+cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos=
+cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk=
+cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs=
+cloud.google.com/go/storage v1.10.0 h1:STgFzyU5/8miMl0//zKh2aQeTyeaUH3WN9bSUiJ09bA=
+cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
+dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
+github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
+github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
+github.com/IBM-Cloud/bluemix-go v0.0.0-20221026143540-4d6050d2dbc5 h1:pIPDTYytM117G4BZBpxPLF40rqvSYDnhLkFDz0/1/MM=
+github.com/IBM-Cloud/bluemix-go v0.0.0-20221026143540-4d6050d2dbc5/go.mod h1:cO5KCpiop9eP/pM/5W07TprYUkv/kHtajW1FiZgE59k=
+github.com/IBM-Cloud/power-go-client v1.2.1 h1:21z0hxZLgM9npv6u2IvKCHxhfbwxQM/q8ULV+pua5Sk=
+github.com/IBM-Cloud/power-go-client v1.2.1/go.mod h1:Qfx0fNi+9hms+xu9Z6Euhu9088ByW6C/TCMLECTRWNE=
+github.com/IBM/go-sdk-core/v5 v5.9.2/go.mod h1:YlOwV9LeuclmT/qi/LAK2AsobbAP42veV0j68/rlZsE=
+github.com/IBM/go-sdk-core/v5 v5.10.2 h1:bfqhYNwwpJ3zJQSYpF3umhmRIKaa762itvJkTAWCCLU=
+github.com/IBM/go-sdk-core/v5 v5.10.2/go.mod h1:WZPFasUzsKab/2mzt29xPcfruSk5js2ywAPwW4VJjdI=
+github.com/IBM/platform-services-go-sdk v0.29.1 h1:ZBwJ1MhmQYZsQwS+1myrmeuuFeBEl48iPe8qdqrxKNQ=
+github.com/IBM/platform-services-go-sdk v0.29.1/go.mod h1:jy0Ahvj5Gkkua3Gd7t22bo0GfmHRQaPZcaqwfVgEY7k=
+github.com/IBM/vpc-go-sdk v1.0.2 h1:WhI1Cb8atA8glUdFg0SEUh9u8afjnKHxZAj9onQBi04=
+github.com/IBM/vpc-go-sdk v1.0.2/go.mod h1:42NO/XCXsyrYqpvtxoX5xwSEv/jBU1MKEoyaYkIUico=
+github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA=
+github.com/Microsoft/go-winio v0.4.16 h1:FtSW/jqD+l4ba5iPBj9CODVtgfYAD8w2wS923g/cFDk=
+github.com/Microsoft/go-winio v0.4.16/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0=
+github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 h1:YoJbenK9C67SkzkDfmQuVln04ygHj3vjZfd9FL+GmQQ=
+github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7/go.mod h1:z4/9nQmJSSwwds7ejkxaJwO37dru3geImFUdJlaLzQo=
+github.com/PuerkitoBio/purell v1.1.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0=
+github.com/PuerkitoBio/purell v1.1.1 h1:WEQqlqaGbrPkxLJWfBwQmfEAE1Z7ONdDLqrN38tNFfI=
+github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0=
+github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 h1:d+Bc7a5rLufV/sSk/8dngufqelfh6jnri85riMAaF/M=
+github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE=
+github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk=
+github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4=
+github.com/agext/levenshtein v1.2.1/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558=
+github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo=
+github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558=
+github.com/agnivade/levenshtein v1.0.1/go.mod h1:CURSv5d9Uaml+FovSIICkLbAUZ9S4RqaHDIsdSBg7lM=
+github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8=
+github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 h1:kFOfPq6dUM1hTo4JG6LR5AXSUEsOjtdm0kw0FtQtMJA=
+github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c=
+github.com/apparentlymart/go-cidr v1.1.0 h1:2mAhrMoF+nhXqxTzSZMUzDHkLjmIHC+Zzn4tdgBZjnU=
+github.com/apparentlymart/go-dump v0.0.0-20180507223929-23540a00eaa3/go.mod h1:oL81AME2rN47vu18xqj1S1jPIPuN7afo62yKTNn3XMM=
+github.com/apparentlymart/go-textseg v1.0.0/go.mod h1:z96Txxhf3xSFMPmb5X/1W05FF/Nj9VFpLOpjS5yuumk=
+github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw=
+github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo=
+github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio=
+github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs=
+github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY=
+github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY=
+github.com/asaskevich/govalidator v0.0.0-20200108200545-475eaeb16496/go.mod h1:oGkLhpf+kjZl6xBf758TQhh5XrAeiJv/7FRz/2spLIg=
+github.com/asaskevich/govalidator v0.0.0-20200428143746-21a406dcc535/go.mod h1:oGkLhpf+kjZl6xBf758TQhh5XrAeiJv/7FRz/2spLIg=
+github.com/asaskevich/govalidator v0.0.0-20200907205600-7a23bdc65eef/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw=
+github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d h1:Byv0BzEl3/e6D5CLfI0j/7hiIEtvGVFPCZ7Ei2oq8iQ=
+github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw=
+github.com/aws/aws-sdk-go v1.15.78/go.mod h1:E3/ieXAlvM0XWO57iftYVDLLvQ824smPP3ATZkfNZeM=
+github.com/aws/aws-sdk-go v1.34.28/go.mod h1:H7NKnBqNVzoTJpGfLrQkkD+ytBA93eiDYi/+8rV9s48=
+github.com/aws/aws-sdk-go v1.40.56 h1:FM2yjR0UUYFzDTMx+mH9Vyw1k1EUUxsAFzk+BjkzANA=
+github.com/aws/aws-sdk-go v1.40.56/go.mod h1:585smgzpB/KqRA+K3y/NL/oYRqQvpNJYvLm+LY1U59Q=
+github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d h1:xDfNPAt8lFiC1UJrqV3uuy861HCTo708pDMbjHHdCas=
+github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d/go.mod h1:6QX/PXZ00z/TKoufEY6K/a0k6AhaJrQKdFe6OfVXsa4=
+github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
+github.com/cheggaaa/pb v1.0.27/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXHm81s=
+github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
+github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
+github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
+github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
+github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
+github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
+github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
+github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
+github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
+github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/docker/go-units v0.3.3/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
+github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
+github.com/emirpasic/gods v1.12.0 h1:QAUIPSaCu4G+POclxeqb3F+WPpdKqFGlw36+yOzGlrg=
+github.com/emirpasic/gods v1.12.0/go.mod h1:YfzfFFoVP/catgzJb4IKIqXjX78Ha8FMSDh3ymbK86o=
+github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
+github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
+github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98=
+github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po=
+github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk=
+github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk=
+github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
+github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
+github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc=
+github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
+github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4=
+github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=
+github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
+github.com/gliderlabs/ssh v0.2.2 h1:6zsha5zo/TWhRhwqCD3+EarCAgZ2yN28ipRnGPnwkI0=
+github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0=
+github.com/globalsign/mgo v0.0.0-20180905125535-1ca0a4f7cbcb/go.mod h1:xkRDCp4j0OGD1HRkm4kmhM+pmpv3AKq5SU7GMg4oO/Q=
+github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8/go.mod h1:xkRDCp4j0OGD1HRkm4kmhM+pmpv3AKq5SU7GMg4oO/Q=
+github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4=
+github.com/go-git/gcfg v1.5.0/go.mod h1:5m20vg6GwYabIxaOonVkTdrILxQMpEShl1xiMF4ua+E=
+github.com/go-git/go-billy/v5 v5.2.0/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0=
+github.com/go-git/go-billy/v5 v5.3.1 h1:CPiOUAzKtMRvolEKw+bG1PLRpT7D3LIs3/3ey4Aiu34=
+github.com/go-git/go-billy/v5 v5.3.1/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0=
+github.com/go-git/go-git-fixtures/v4 v4.2.1 h1:n9gGL1Ct/yIw+nfsfr8s4+sbhT+Ncu2SubfXjIWgci8=
+github.com/go-git/go-git-fixtures/v4 v4.2.1/go.mod h1:K8zd3kDUAykwTdDCr+I0per6Y6vMiRR/nnVTBtavnB0=
+github.com/go-git/go-git/v5 v5.4.2 h1:BXyZu9t0VkbiHtqrsvdq39UDhGJTl1h55VW6CSC4aY4=
+github.com/go-git/go-git/v5 v5.4.2/go.mod h1:gQ1kArt6d+n+BGd+/B/I74HwRTLhth2+zti4ihgckDc=
+github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
+github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
+github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
+github.com/go-openapi/analysis v0.0.0-20180825180245-b006789cd277/go.mod h1:k70tL6pCuVxPJOHXQ+wIac1FUrvNkHolPie/cLEU6hI=
+github.com/go-openapi/analysis v0.17.0/go.mod h1:IowGgpVeD0vNm45So8nr+IcQ3pxVtpRoBWb8PVZO0ik=
+github.com/go-openapi/analysis v0.18.0/go.mod h1:IowGgpVeD0vNm45So8nr+IcQ3pxVtpRoBWb8PVZO0ik=
+github.com/go-openapi/analysis v0.19.2/go.mod h1:3P1osvZa9jKjb8ed2TPng3f0i/UY9snX6gxi44djMjk=
+github.com/go-openapi/analysis v0.19.4/go.mod h1:3P1osvZa9jKjb8ed2TPng3f0i/UY9snX6gxi44djMjk=
+github.com/go-openapi/analysis v0.19.5/go.mod h1:hkEAkxagaIvIP7VTn8ygJNkd4kAYON2rCu0v0ObL0AU=
+github.com/go-openapi/analysis v0.19.10/go.mod h1:qmhS3VNFxBlquFJ0RGoDtylO9y4pgTAUNE9AEEMdlJQ=
+github.com/go-openapi/analysis v0.19.16/go.mod h1:GLInF007N83Ad3m8a/CbQ5TPzdnGT7workfHwuVjNVk=
+github.com/go-openapi/analysis v0.20.0/go.mod h1:BMchjvaHDykmRMsK40iPtvyOfFdMMxlOmQr9FBZk+Og=
+github.com/go-openapi/analysis v0.20.1/go.mod h1:BMchjvaHDykmRMsK40iPtvyOfFdMMxlOmQr9FBZk+Og=
+github.com/go-openapi/analysis v0.21.2 h1:hXFrOYFHUAMQdu6zwAiKKJHJQ8kqZs1ux/ru1P1wLJU=
+github.com/go-openapi/analysis v0.21.2/go.mod h1:HZwRk4RRisyG8vx2Oe6aqeSQcoxRp47Xkp3+K6q+LdY=
+github.com/go-openapi/errors v0.17.0/go.mod h1:LcZQpmvG4wyF5j4IhA73wkLFQg+QJXOQHVjmcZxhka0=
+github.com/go-openapi/errors v0.18.0/go.mod h1:LcZQpmvG4wyF5j4IhA73wkLFQg+QJXOQHVjmcZxhka0=
+github.com/go-openapi/errors v0.19.2/go.mod h1:qX0BLWsyaKfvhluLejVpVNwNRdXZhEbTA4kxxpKBC94=
+github.com/go-openapi/errors v0.19.3/go.mod h1:qX0BLWsyaKfvhluLejVpVNwNRdXZhEbTA4kxxpKBC94=
+github.com/go-openapi/errors v0.19.6/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpXe8DOa1Mi1M=
+github.com/go-openapi/errors v0.19.7/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpXe8DOa1Mi1M=
+github.com/go-openapi/errors v0.19.8/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpXe8DOa1Mi1M=
+github.com/go-openapi/errors v0.19.9/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpXe8DOa1Mi1M=
+github.com/go-openapi/errors v0.20.1/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpXe8DOa1Mi1M=
+github.com/go-openapi/errors v0.20.2 h1:dxy7PGTqEh94zj2E3h1cUmQQWiM1+aeCROfAr02EmK8=
+github.com/go-openapi/errors v0.20.2/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpXe8DOa1Mi1M=
+github.com/go-openapi/jsonpointer v0.17.0/go.mod h1:cOnomiV+CVVwFLk0A/MExoFMjwdsUdVpsRhURCKh+3M=
+github.com/go-openapi/jsonpointer v0.18.0/go.mod h1:cOnomiV+CVVwFLk0A/MExoFMjwdsUdVpsRhURCKh+3M=
+github.com/go-openapi/jsonpointer v0.19.2/go.mod h1:3akKfEdA7DF1sugOqz1dVQHBcuDBPKZGEoHC/NkiQRg=
+github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg=
+github.com/go-openapi/jsonpointer v0.19.5 h1:gZr+CIYByUqjcgeLXnQu2gHYQC9o73G2XUeOFYEICuY=
+github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg=
+github.com/go-openapi/jsonreference v0.17.0/go.mod h1:g4xxGn04lDIRh0GJb5QlpE3HfopLOL6uZrK/VgnsK9I=
+github.com/go-openapi/jsonreference v0.18.0/go.mod h1:g4xxGn04lDIRh0GJb5QlpE3HfopLOL6uZrK/VgnsK9I=
+github.com/go-openapi/jsonreference v0.19.2/go.mod h1:jMjeRr2HHw6nAVajTXJ4eiUwohSTlpa0o73RUL1owJc=
+github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8=
+github.com/go-openapi/jsonreference v0.19.5/go.mod h1:RdybgQwPxbL4UEjuAruzK1x3nE69AqPYEJeo/TWfEeg=
+github.com/go-openapi/jsonreference v0.19.6 h1:UBIxjkht+AWIgYzCDSv2GN+E/togfwXUJFRTWhl2Jjs=
+github.com/go-openapi/jsonreference v0.19.6/go.mod h1:diGHMEHg2IqXZGKxqyvWdfWU/aim5Dprw5bqpKkTvns=
+github.com/go-openapi/loads v0.17.0/go.mod h1:72tmFy5wsWx89uEVddd0RjRWPZm92WRLhf7AC+0+OOU=
+github.com/go-openapi/loads v0.18.0/go.mod h1:72tmFy5wsWx89uEVddd0RjRWPZm92WRLhf7AC+0+OOU=
+github.com/go-openapi/loads v0.19.0/go.mod h1:72tmFy5wsWx89uEVddd0RjRWPZm92WRLhf7AC+0+OOU=
+github.com/go-openapi/loads v0.19.2/go.mod h1:QAskZPMX5V0C2gvfkGZzJlINuP7Hx/4+ix5jWFxsNPs=
+github.com/go-openapi/loads v0.19.3/go.mod h1:YVfqhUCdahYwR3f3iiwQLhicVRvLlU/WO5WPaZvcvSI=
+github.com/go-openapi/loads v0.19.5/go.mod h1:dswLCAdonkRufe/gSUC3gN8nTSaB9uaS2es0x5/IbjY=
+github.com/go-openapi/loads v0.19.6/go.mod h1:brCsvE6j8mnbmGBh103PT/QLHfbyDxA4hsKvYBNEGVc=
+github.com/go-openapi/loads v0.19.7/go.mod h1:brCsvE6j8mnbmGBh103PT/QLHfbyDxA4hsKvYBNEGVc=
+github.com/go-openapi/loads v0.20.0/go.mod h1:2LhKquiE513rN5xC6Aan6lYOSddlL8Mp20AW9kpviM4=
+github.com/go-openapi/loads v0.20.2/go.mod h1:hTVUotJ+UonAMMZsvakEgmWKgtulweO9vYP2bQYKA/o=
+github.com/go-openapi/loads v0.21.0/go.mod h1:rHYve9nZrQ4CJhyeIIFJINGCg1tQpx2yJrrNo8sf1ws=
+github.com/go-openapi/loads v0.21.1 h1:Wb3nVZpdEzDTcly8S4HMkey6fjARRzb7iEaySimlDW0=
+github.com/go-openapi/loads v0.21.1/go.mod h1:/DtAMXXneXFjbQMGEtbamCZb+4x7eGwkvZCvBmwUG+g=
+github.com/go-openapi/runtime v0.0.0-20180920151709-4f900dc2ade9/go.mod h1:6v9a6LTXWQCdL8k1AO3cvqx5OtZY/Y9wKTgaoP6YRfA=
+github.com/go-openapi/runtime v0.19.0/go.mod h1:OwNfisksmmaZse4+gpV3Ne9AyMOlP1lt4sK4FXt0O64=
+github.com/go-openapi/runtime v0.19.4/go.mod h1:X277bwSUBxVlCYR3r7xgZZGKVvBd/29gLDlFGtJ8NL4=
+github.com/go-openapi/runtime v0.19.15/go.mod h1:dhGWCTKRXlAfGnQG0ONViOZpjfg0m2gUt9nTQPQZuoo=
+github.com/go-openapi/runtime v0.19.16/go.mod h1:5P9104EJgYcizotuXhEuUrzVc+j1RiSjahULvYmlv98=
+github.com/go-openapi/runtime v0.19.24/go.mod h1:Lm9YGCeecBnUUkFTxPC4s1+lwrkJ0pthx8YvyjCfkgk=
+github.com/go-openapi/runtime v0.23.0 h1:HX6ET2sHCIvaKeDDQoU01CtO1ekg5EkekHSkLTtWXH0=
+github.com/go-openapi/runtime v0.23.0/go.mod h1:aQg+kaIQEn+A2CRSY1TxbM8+sT9g2V3aLc1FbIAnbbs=
+github.com/go-openapi/spec v0.17.0/go.mod h1:XkF/MOi14NmjsfZ8VtAKf8pIlbZzyoTvZsdfssdxcBI=
+github.com/go-openapi/spec v0.18.0/go.mod h1:XkF/MOi14NmjsfZ8VtAKf8pIlbZzyoTvZsdfssdxcBI=
+github.com/go-openapi/spec v0.19.2/go.mod h1:sCxk3jxKgioEJikev4fgkNmwS+3kuYdJtcsZsD5zxMY=
+github.com/go-openapi/spec v0.19.3/go.mod h1:FpwSN1ksY1eteniUU7X0N/BgJ7a4WvBFVA8Lj9mJglo=
+github.com/go-openapi/spec v0.19.6/go.mod h1:Hm2Jr4jv8G1ciIAo+frC/Ft+rR2kQDh8JHKHb3gWUSk=
+github.com/go-openapi/spec v0.19.8/go.mod h1:Hm2Jr4jv8G1ciIAo+frC/Ft+rR2kQDh8JHKHb3gWUSk=
+github.com/go-openapi/spec v0.19.15/go.mod h1:+81FIL1JwC5P3/Iuuozq3pPE9dXdIEGxFutcFKaVbmU=
+github.com/go-openapi/spec v0.20.0/go.mod h1:+81FIL1JwC5P3/Iuuozq3pPE9dXdIEGxFutcFKaVbmU=
+github.com/go-openapi/spec v0.20.1/go.mod h1:93x7oh+d+FQsmsieroS4cmR3u0p/ywH649a3qwC9OsQ=
+github.com/go-openapi/spec v0.20.3/go.mod h1:gG4F8wdEDN+YPBMVnzE85Rbhf+Th2DTvA9nFPQ5AYEg=
+github.com/go-openapi/spec v0.20.4 h1:O8hJrt0UMnhHcluhIdUgCLRWyM2x7QkBXRvOs7m+O1M=
+github.com/go-openapi/spec v0.20.4/go.mod h1:faYFR1CvsJZ0mNsmsphTMSoRrNV3TEDoAM7FOEWeq8I=
+github.com/go-openapi/strfmt v0.17.0/go.mod h1:P82hnJI0CXkErkXi8IKjPbNBM6lV6+5pLP5l494TcyU=
+github.com/go-openapi/strfmt v0.18.0/go.mod h1:P82hnJI0CXkErkXi8IKjPbNBM6lV6+5pLP5l494TcyU=
+github.com/go-openapi/strfmt v0.19.0/go.mod h1:+uW+93UVvGGq2qGaZxdDeJqSAqBqBdl+ZPMF/cC8nDY=
+github.com/go-openapi/strfmt v0.19.2/go.mod h1:0yX7dbo8mKIvc3XSKp7MNfxw4JytCfCD6+bY1AVL9LU=
+github.com/go-openapi/strfmt v0.19.3/go.mod h1:0yX7dbo8mKIvc3XSKp7MNfxw4JytCfCD6+bY1AVL9LU=
+github.com/go-openapi/strfmt v0.19.4/go.mod h1:eftuHTlB/dI8Uq8JJOyRlieZf+WkkxUuk0dgdHXr2Qk=
+github.com/go-openapi/strfmt v0.19.5/go.mod h1:eftuHTlB/dI8Uq8JJOyRlieZf+WkkxUuk0dgdHXr2Qk=
+github.com/go-openapi/strfmt v0.19.11/go.mod h1:UukAYgTaQfqJuAFlNxxMWNvMYiwiXtLsF2VwmoFtbtc=
+github.com/go-openapi/strfmt v0.20.0/go.mod h1:UukAYgTaQfqJuAFlNxxMWNvMYiwiXtLsF2VwmoFtbtc=
+github.com/go-openapi/strfmt v0.20.2/go.mod h1:43urheQI9dNtE5lTZQfuFJvjYJKPrxicATpEfZwHUNk=
+github.com/go-openapi/strfmt v0.21.0/go.mod h1:ZRQ409bWMj+SOgXofQAGTIo2Ebu72Gs+WaRADcS5iNg=
+github.com/go-openapi/strfmt v0.21.1/go.mod h1:I/XVKeLc5+MM5oPNN7P6urMOpuLXEcNrCX/rPGuWb0k=
+github.com/go-openapi/strfmt v0.21.3 h1:xwhj5X6CjXEZZHMWy1zKJxvW9AfHC9pkyUjLvHtKG7o=
+github.com/go-openapi/strfmt v0.21.3/go.mod h1:k+RzNO0Da+k3FrrynSNN8F7n/peCmQQqbbXjtDfvmGg=
+github.com/go-openapi/swag v0.17.0/go.mod h1:AByQ+nYG6gQg71GINrmuDXCPWdL640yX49/kXLo40Tg=
+github.com/go-openapi/swag v0.18.0/go.mod h1:AByQ+nYG6gQg71GINrmuDXCPWdL640yX49/kXLo40Tg=
+github.com/go-openapi/swag v0.19.2/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk=
+github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk=
+github.com/go-openapi/swag v0.19.7/go.mod h1:ao+8BpOPyKdpQz3AOJfbeEVpLmWAvlT1IfTe5McPyhY=
+github.com/go-openapi/swag v0.19.9/go.mod h1:ao+8BpOPyKdpQz3AOJfbeEVpLmWAvlT1IfTe5McPyhY=
+github.com/go-openapi/swag v0.19.12/go.mod h1:eFdyEBkTdoAf/9RXBvj4cr1nH7GD8Kzo5HTt47gr72M=
+github.com/go-openapi/swag v0.19.13/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ=
+github.com/go-openapi/swag v0.19.14/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ=
+github.com/go-openapi/swag v0.19.15/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ=
+github.com/go-openapi/swag v0.21.1 h1:wm0rhTb5z7qpJRHBdPOMuY4QjVUMbF6/kwoYeRAOrKU=
+github.com/go-openapi/swag v0.21.1/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ=
+github.com/go-openapi/validate v0.18.0/go.mod h1:Uh4HdOzKt19xGIGm1qHf/ofbX1YQ4Y+MYsct2VUrAJ4=
+github.com/go-openapi/validate v0.19.2/go.mod h1:1tRCw7m3jtI8eNWEEliiAqUIcBztB2KDnRCRMUi7GTA=
+github.com/go-openapi/validate v0.19.3/go.mod h1:90Vh6jjkTn+OT1Eefm0ZixWNFjhtOH7vS9k0lo6zwJo=
+github.com/go-openapi/validate v0.19.10/go.mod h1:RKEZTUWDkxKQxN2jDT7ZnZi2bhZlbNMAuKvKB+IaGx8=
+github.com/go-openapi/validate v0.19.12/go.mod h1:Rzou8hA/CBw8donlS6WNEUQupNvUZ0waH08tGe6kAQ4=
+github.com/go-openapi/validate v0.19.15/go.mod h1:tbn/fdOwYHgrhPBzidZfJC2MIVvs9GA7monOmWBbeCI=
+github.com/go-openapi/validate v0.20.1/go.mod h1:b60iJT+xNNLfaQJUqLI7946tYiFEOuE9E4k54HpKcJ0=
+github.com/go-openapi/validate v0.20.3 h1:GZPPhhKSZrE8HjB4eEkoYAZmoWA4+tCemSgINH1/vKw=
+github.com/go-openapi/validate v0.20.3/go.mod h1:goDdqVGiigM3jChcrYJxD2joalke3ZXeftD16byIjA4=
+github.com/go-playground/locales v0.14.0 h1:u50s323jtVGugKlcYeyzC0etD1HifMjqmJqb8WugfUU=
+github.com/go-playground/locales v0.14.0/go.mod h1:sawfccIbzZTqEDETgFXqTho0QybSa7l++s0DH+LDiLs=
+github.com/go-playground/universal-translator v0.18.0 h1:82dyy6p4OuJq4/CByFNOn/jYrnRPArHwAcmLoJZxyho=
+github.com/go-playground/universal-translator v0.18.0/go.mod h1:UvRDBj+xPUEGrFYl+lu/H90nyDXpg0fqeB/AQUGNTVA=
+github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg=
+github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
+github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE=
+github.com/go-test/deep v1.0.3/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA=
+github.com/go-test/deep v1.0.7 h1:/VSMRlnY/JSyqxQUzQLKVMAskpY/NZKFA5j2P+0pP2M=
+github.com/go-test/deep v1.0.7/go.mod h1:QV8Hv/iy04NyLBxAdO9njL0iVPN1S4d/A3NVv1V36o8=
+github.com/gobuffalo/attrs v0.0.0-20190224210810-a9411de4debd/go.mod h1:4duuawTqi2wkkpB4ePgWMaai6/Kc6WEz83bhFwpHzj0=
+github.com/gobuffalo/depgen v0.0.0-20190329151759-d478694a28d3/go.mod h1:3STtPUQYuzV0gBVOY3vy6CfMm/ljR4pABfrTeHNLHUY=
+github.com/gobuffalo/depgen v0.1.0/go.mod h1:+ifsuy7fhi15RWncXQQKjWS9JPkdah5sZvtHc2RXGlg=
+github.com/gobuffalo/envy v1.6.15/go.mod h1:n7DRkBerg/aorDM8kbduw5dN3oXGswK5liaSCx4T5NI=
+github.com/gobuffalo/envy v1.7.0/go.mod h1:n7DRkBerg/aorDM8kbduw5dN3oXGswK5liaSCx4T5NI=
+github.com/gobuffalo/flect v0.1.0/go.mod h1:d2ehjJqGOH/Kjqcoz+F7jHTBbmDb38yXA598Hb50EGs=
+github.com/gobuffalo/flect v0.1.1/go.mod h1:8JCgGVbRjJhVgD6399mQr4fx5rRfGKVzFjbj6RE/9UI=
+github.com/gobuffalo/flect v0.1.3/go.mod h1:8JCgGVbRjJhVgD6399mQr4fx5rRfGKVzFjbj6RE/9UI=
+github.com/gobuffalo/genny v0.0.0-20190329151137-27723ad26ef9/go.mod h1:rWs4Z12d1Zbf19rlsn0nurr75KqhYp52EAGGxTbBhNk=
+github.com/gobuffalo/genny v0.0.0-20190403191548-3ca520ef0d9e/go.mod h1:80lIj3kVJWwOrXWWMRzzdhW3DsrdjILVil/SFKBzF28=
+github.com/gobuffalo/genny v0.1.0/go.mod h1:XidbUqzak3lHdS//TPu2OgiFB+51Ur5f7CSnXZ/JDvo=
+github.com/gobuffalo/genny v0.1.1/go.mod h1:5TExbEyY48pfunL4QSXxlDOmdsD44RRq4mVZ0Ex28Xk=
+github.com/gobuffalo/gitgen v0.0.0-20190315122116-cc086187d211/go.mod h1:vEHJk/E9DmhejeLeNt7UVvlSGv3ziL+djtTr3yyzcOw=
+github.com/gobuffalo/gogen v0.0.0-20190315121717-8f38393713f5/go.mod h1:V9QVDIxsgKNZs6L2IYiGR8datgMhB577vzTDqypH360=
+github.com/gobuffalo/gogen v0.1.0/go.mod h1:8NTelM5qd8RZ15VjQTFkAW6qOMx5wBbW4dSCS3BY8gg=
+github.com/gobuffalo/gogen v0.1.1/go.mod h1:y8iBtmHmGc4qa3urIyo1shvOD8JftTtfcKi+71xfDNE=
+github.com/gobuffalo/logger v0.0.0-20190315122211-86e12af44bc2/go.mod h1:QdxcLw541hSGtBnhUc4gaNIXRjiDppFGaDqzbrBd3v8=
+github.com/gobuffalo/mapi v1.0.1/go.mod h1:4VAGh89y6rVOvm5A8fKFxYG+wIW6LO1FMTG9hnKStFc=
+github.com/gobuffalo/mapi v1.0.2/go.mod h1:4VAGh89y6rVOvm5A8fKFxYG+wIW6LO1FMTG9hnKStFc=
+github.com/gobuffalo/packd v0.0.0-20190315124812-a385830c7fc0/go.mod h1:M2Juc+hhDXf/PnmBANFCqx4DM3wRbgDvnVWeG2RIxq4=
+github.com/gobuffalo/packd v0.1.0/go.mod h1:M2Juc+hhDXf/PnmBANFCqx4DM3wRbgDvnVWeG2RIxq4=
+github.com/gobuffalo/packr/v2 v2.0.9/go.mod h1:emmyGweYTm6Kdper+iywB6YK5YzuKchGtJQZ0Odn4pQ=
+github.com/gobuffalo/packr/v2 v2.2.0/go.mod h1:CaAwI0GPIAv+5wKLtv8Afwl+Cm78K/I/VCm/3ptBN+0=
+github.com/gobuffalo/syncx v0.0.0-20190224160051-33c29581e754/go.mod h1:HhnNqWY95UYwwW3uSASeV7vtgYkT2t16hJgV3AEPUpw=
+github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
+github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
+github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
+github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e h1:1r7pUrabqp18hOBcwBwiTsbnFeTZHV9eER/QT5JVZxY=
+github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
+github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
+github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
+github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y=
+github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
+github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
+github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
+github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4=
+github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8=
+github.com/golang/protobuf v1.1.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
+github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
+github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk=
+github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8=
+github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA=
+github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs=
+github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w=
+github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0=
+github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8=
+github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
+github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
+github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
+github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM=
+github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw=
+github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
+github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
+github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
+github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
+github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
+github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
+github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
+github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
+github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg=
+github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
+github.com/google/martian v2.1.0+incompatible h1:/CP5g8u/VJHijgedC/Legn3BAbAaWPgecwXBIDzw5no=
+github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs=
+github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0=
+github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0=
+github.com/google/martian/v3 v3.2.1 h1:d8MncMlErDFTwQGBK1xhv026j9kqhvw1Qv9IbWT1VLQ=
+github.com/google/martian/v3 v3.2.1/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk=
+github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
+github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
+github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
+github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
+github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
+github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
+github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
+github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
+github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
+github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
+github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
+github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
+github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
+github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
+github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
+github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
+github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
+github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
+github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
+github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
+github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg=
+github.com/googleapis/gax-go/v2 v2.0.5 h1:sjZBwGj9Jlw33ImPtvFviGYvseOtDM7hkSKB7+Tv3SM=
+github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk=
+github.com/gruntwork-io/terratest v0.40.24 h1:vxVi714rX+joBLrxBVnbMzSYQ2srIfXzjqvImHl6Rtk=
+github.com/gruntwork-io/terratest v0.40.24/go.mod h1:JGeIGgLbxbG9/Oqm06z6YXVr76CfomdmLkV564qov+8=
+github.com/hashicorp/errwrap v1.0.0 h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA=
+github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
+github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80=
+github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ=
+github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48=
+github.com/hashicorp/go-getter v1.6.1 h1:NASsgP4q6tL94WH6nJxKWj8As2H/2kop/bB1d8JMyRY=
+github.com/hashicorp/go-getter v1.6.1/go.mod h1:IZCrswsZPeWv9IkVnLElzRU/gz/QPi6pZHn4tv6vbwA=
+github.com/hashicorp/go-hclog v0.9.2 h1:CG6TE5H9/JXsFWJCfoIVpKFIkFe6ysEuHirp4DxCsHI=
+github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ=
+github.com/hashicorp/go-multierror v1.1.0 h1:B9UzwGQJehnUY1yNrnwREHc3fGbC2xefo8g4TbElacI=
+github.com/hashicorp/go-multierror v1.1.0/go.mod h1:spPvp8C1qA32ftKqdAHm4hHTbPw+vmowP0z+KUhOZdA=
+github.com/hashicorp/go-retryablehttp v0.7.0/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY=
+github.com/hashicorp/go-retryablehttp v0.7.1 h1:sUiuQAnLlbvmExtFQs72iFW/HXeUn8Z1aJLQ4LJJbTQ=
+github.com/hashicorp/go-retryablehttp v0.7.1/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY=
+github.com/hashicorp/go-safetemp v1.0.0 h1:2HR189eFNrjHQyENnQMMpCiBAsRxzbTMIgBhEyExpmo=
+github.com/hashicorp/go-safetemp v1.0.0/go.mod h1:oaerMy3BhqiTbVye6QuFhFtIceqFoDHxNAB65b+Rj1I=
+github.com/hashicorp/go-version v1.1.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
+github.com/hashicorp/go-version v1.3.0 h1:McDWVJIU/y+u1BRV06dPaLfLCaT7fUTJLp5r04x7iNw=
+github.com/hashicorp/go-version v1.3.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
+github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
+github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
+github.com/hashicorp/hcl/v2 v2.9.1 h1:eOy4gREY0/ZQHNItlfuEZqtcQbXIxzojlP301hDpnac=
+github.com/hashicorp/hcl/v2 v2.9.1/go.mod h1:FwWsfWEjyV/CMj8s/gqAuiviY72rJ1/oayI9WftqcKg=
+github.com/hashicorp/terraform-json v0.13.0 h1:Li9L+lKD1FO5RVFRM1mMMIBDoUHslOniyEi5CM+FWGY=
+github.com/hashicorp/terraform-json v0.13.0/go.mod h1:y5OdLBCT+rxbwnpxZs9kGL7R9ExU76+cpdY8zHwoazk=
+github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
+github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
+github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
+github.com/imdario/mergo v0.3.12 h1:b6R2BslTbIEToALKP7LxUvijTsNI9TAe80pLWN2g/HU=
+github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA=
+github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
+github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A=
+github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo=
+github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4=
+github.com/jinzhu/copier v0.3.5 h1:GlvfUwHk62RokgqVNvYsku0TATCF7bAHVwEXoBh3iJg=
+github.com/jinzhu/copier v0.3.5/go.mod h1:DfbEm0FYsaqBcKcFuvmOZb218JkPGtvSHsKg8S8hyyg=
+github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k=
+github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg=
+github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo=
+github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8=
+github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U=
+github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg=
+github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY=
+github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y=
+github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
+github.com/jstemmer/go-junit-report v0.9.1 h1:6QPYqodiu3GuPL+7mfx+NwDdp2eTkp9IfEUpgAwUN0o=
+github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk=
+github.com/karrick/godirwalk v1.8.0/go.mod h1:H5KPZjojv4lE+QYImBI8xVtrBRgYrIVsaRPx4tDPEn4=
+github.com/karrick/godirwalk v1.10.3/go.mod h1:RoGL9dQei4vP9ilrpETWE8CLOZ1kiN0LhBygSwrAsHA=
+github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 h1:DowS9hvgyYSX4TO5NpyC606/Z4SxnNYbT+WX27or6Ck=
+github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM=
+github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00=
+github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
+github.com/klauspost/compress v1.9.5/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A=
+github.com/klauspost/compress v1.11.2/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs=
+github.com/klauspost/compress v1.13.6 h1:P76CopJELS0TiO2mebmnzgWaajssP/EszplttgQxcgc=
+github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk=
+github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
+github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
+github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
+github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI=
+github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
+github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
+github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA=
+github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
+github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
+github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
+github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k=
+github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
+github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
+github.com/leodido/go-urn v1.2.1 h1:BqpAaACuzVSgi/VLzGZIobT2z4v53pjosyNd9Yv6n/w=
+github.com/leodido/go-urn v1.2.1/go.mod h1:zt4jvISO2HfUBqxjfIshjdMTYS56ZS/qv49ictyFfxY=
+github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
+github.com/mailru/easyjson v0.0.0-20190312143242-1de009706dbe/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
+github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
+github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
+github.com/mailru/easyjson v0.7.1/go.mod h1:KAzv3t3aY1NaHWoQz1+4F1ccyAH66Jk7yos7ldAVICs=
+github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
+github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=
+github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
+github.com/markbates/oncer v0.0.0-20181203154359-bf2de49a0be2/go.mod h1:Ld9puTsIW75CHf65OeIOkyKbteujpZVXDpWK6YGZbxE=
+github.com/markbates/safe v1.0.1/go.mod h1:nAqgmRi7cY2nqMc92/bSEeQA+R4OheNU2T1kNSCBdG0=
+github.com/matryer/is v1.2.0 h1:92UTHpy8CDwaJ08GqLDzhhuixiBUUD1p3AU6PHddz4A=
+github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA=
+github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
+github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
+github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU=
+github.com/mattn/go-zglob v0.0.2-0.20190814121620-e3c945676326 h1:ofNAzWCcyTALn2Zv40+8XitdzCgXY6e9qvXwN9W0YXg=
+github.com/mattn/go-zglob v0.0.2-0.20190814121620-e3c945676326/go.mod h1:9fxibJccNxU2cnpIKLRRFA7zX7qhkJIQWBb449FYHOo=
+github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s=
+github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
+github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
+github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
+github.com/mitchellh/go-testing-interface v1.0.0 h1:fzU/JVNcaqHQEcVFAKeR41fkiLdIPrefOvVG1VZ96U0=
+github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI=
+github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo=
+github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0=
+github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0=
+github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
+github.com/mitchellh/mapstructure v1.3.2/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
+github.com/mitchellh/mapstructure v1.3.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
+github.com/mitchellh/mapstructure v1.4.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
+github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
+github.com/mitchellh/mapstructure v1.4.3 h1:OVowDSCllw/YjdLkam3/sm7wEtOy59d8ndGgCcyj8cs=
+github.com/mitchellh/mapstructure v1.4.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
+github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
+github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc=
+github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=
+github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A=
+github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE=
+github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU=
+github.com/oklog/ulid v1.3.1 h1:EGfNDEx6MqHz8B3uNV6QAib1UR2Lm97sHi3ocA6ESJ4=
+github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U=
+github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
+github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk=
+github.com/onsi/ginkgo v1.14.2/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY=
+github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0=
+github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE=
+github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU=
+github.com/onsi/ginkgo/v2 v2.0.0/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c=
+github.com/onsi/ginkgo/v2 v2.1.3/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c=
+github.com/onsi/ginkgo/v2 v2.1.4/go.mod h1:um6tUpWM/cxCK3/FK8BXqEiUMUwRgSM4JXG47RKZmLU=
+github.com/onsi/ginkgo/v2 v2.1.6/go.mod h1:MEH45j8TBi6u9BMogfbp0stKC5cdGjumZj5Y7AG4VIk=
+github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY=
+github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo=
+github.com/onsi/gomega v1.10.5/go.mod h1:gza4q3jKQJijlu05nKWRCW/GavJumGt8aNRxWg7mt48=
+github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY=
+github.com/onsi/gomega v1.18.0/go.mod h1:0q+aL8jAiMXy9hbwj2mr5GziHiwhAIQpFmmtT5hitRs=
+github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro=
+github.com/onsi/gomega v1.20.1/go.mod h1:DtrZpjmvpn2mPm4YWQa0/ALMDj9v4YxLgojwPeREyVo=
+github.com/onsi/gomega v1.21.1 h1:OB/euWYIExnPBohllTicTHmGTrMaqJ67nIu80j0/uEM=
+github.com/onsi/gomega v1.21.1/go.mod h1:iYAIXgPSaDHak0LCMA+AWBpIKBr8WZicMxnE8luStNc=
+github.com/opentracing/opentracing-go v1.2.0 h1:uEJPy/1a5RIPAJ0Ov+OIO8OxWu77jEv+1B0VhjKrZUs=
+github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc=
+github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k=
+github.com/pelletier/go-toml v1.4.0/go.mod h1:PN7xzY2wHTK0K9p34ErDQMlFxa51Fk0OUruD3k1mMwo=
+github.com/pelletier/go-toml v1.7.0/go.mod h1:vwGMzjaWMwyfHwgIBhI2YUM4fB6nL6lVAvS1LBMMhTE=
+github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
+github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
+github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
+github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
+github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
+github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
+github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
+github.com/rogpeppe/go-internal v1.2.2/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
+github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
+github.com/sebdah/goldie v1.0.0/go.mod h1:jXP4hmWywNEwZzhMuv2ccnqTSFpuq8iyQhtQdkkZBH4=
+github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=
+github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
+github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
+github.com/sirupsen/logrus v1.4.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
+github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q=
+github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
+github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ=
+github.com/spf13/pflag v1.0.2/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
+github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
+github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE=
+github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
+github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c=
+github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
+github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
+github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
+github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
+github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
+github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
+github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
+github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
+github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
+github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk=
+github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
+github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.2.3 h1:c4l6O7DB6Aq1Q7PlPmig9Crb0ifm9xSI5dfKoI3vUqI=
+github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.2.3/go.mod h1:Ia1UAtDXRblFyvfcZxNDaxowwWL8K4tGFVrtTu2/zzY=
+github.com/tidwall/pretty v1.0.0 h1:HsD+QiTn7sK6flMKIvNmpqz1qrpP3Ps6jOKIKMooyg4=
+github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk=
+github.com/tmccombs/hcl2json v0.3.3 h1:+DLNYqpWE0CsOQiEZu+OZm5ZBImake3wtITYxQ8uLFQ=
+github.com/tmccombs/hcl2json v0.3.3/go.mod h1:Y2chtz2x9bAeRTvSibVRVgbLJhLJXKlUeIvjeVdnm4w=
+github.com/ulikunitz/xz v0.5.8 h1:ERv8V6GKqVi23rgu5cj9pVfVzJbOqAY2Ntl88O6c2nQ=
+github.com/ulikunitz/xz v0.5.8/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
+github.com/vektah/gqlparser v1.1.2/go.mod h1:1ycwN7Ij5njmMkPPAOaRFY4rET2Enx7IkVv3vaXspKw=
+github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk=
+github.com/vmihailenco/msgpack/v4 v4.3.12/go.mod h1:gborTTJjAo/GWTqqRjrLCn9pgNN+NXzzngzBKDPIqw4=
+github.com/vmihailenco/tagparser v0.1.1/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI=
+github.com/xanzy/ssh-agent v0.3.0 h1:wUMzuKtKilRgBAD1sUb8gOwwRr2FGoBVumcjoOACClI=
+github.com/xanzy/ssh-agent v0.3.0/go.mod h1:3s9xbODqPuuhK9JV1R321M/FlMZSBvE5aY6eAcqrDh0=
+github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI=
+github.com/xdg-go/scram v1.0.2/go.mod h1:1WAq6h33pAW+iRreB34OORO2Nf7qel3VV3fjBj+hCSs=
+github.com/xdg-go/scram v1.1.1/go.mod h1:RaEWvsqvNKKvBPvcKeFjrG2cJqOkHTiyTpzz23ni57g=
+github.com/xdg-go/stringprep v1.0.2/go.mod h1:8F9zXuvzgwmyT5DUm4GUfZGDdT3W+LCvS6+da4O5kxM=
+github.com/xdg-go/stringprep v1.0.3/go.mod h1:W3f5j4i+9rC0kuIEJL0ky1VpHXQU3ocBgklLGvcBnW8=
+github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c/go.mod h1:lB8K/P019DLNhemzwFU4jHLhdvlE6uDZjXFejJXr49I=
+github.com/xdg/stringprep v0.0.0-20180714160509-73f8eece6fdc/go.mod h1:Jhud4/sHMO4oL310DaZAKk9ZaJ08SJfe+sJh0HrGL1Y=
+github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d/go.mod h1:rHwXgn7JulP+udvsHwJoVG1YGAP6VLg4y9I5dyZdqmA=
+github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
+github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
+github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
+github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
+github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
+github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
+github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
+github.com/zclconf/go-cty v1.2.0/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8=
+github.com/zclconf/go-cty v1.8.0/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk=
+github.com/zclconf/go-cty v1.8.1/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk=
+github.com/zclconf/go-cty v1.9.1 h1:viqrgQwFl5UpSxc046qblj78wZXVDFnSOufaOTER+cc=
+github.com/zclconf/go-cty v1.9.1/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk=
+github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8=
+go.mongodb.org/mongo-driver v1.0.3/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM=
+go.mongodb.org/mongo-driver v1.1.1/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM=
+go.mongodb.org/mongo-driver v1.3.0/go.mod h1:MSWZXKOynuguX+JSvwP8i+58jYCXxbia8HS3gZBapIE=
+go.mongodb.org/mongo-driver v1.3.4/go.mod h1:MSWZXKOynuguX+JSvwP8i+58jYCXxbia8HS3gZBapIE=
+go.mongodb.org/mongo-driver v1.4.3/go.mod h1:WcMNYLx/IlOxLe6JRJiv2uXuCz6zBLndR4SoGjYphSc=
+go.mongodb.org/mongo-driver v1.4.4/go.mod h1:WcMNYLx/IlOxLe6JRJiv2uXuCz6zBLndR4SoGjYphSc=
+go.mongodb.org/mongo-driver v1.4.6/go.mod h1:WcMNYLx/IlOxLe6JRJiv2uXuCz6zBLndR4SoGjYphSc=
+go.mongodb.org/mongo-driver v1.5.1/go.mod h1:gRXCHX4Jo7J0IJ1oDQyUxF7jfy19UfxniMS4xxMmUqw=
+go.mongodb.org/mongo-driver v1.7.3/go.mod h1:NqaYOwnXWr5Pm7AOpO5QFxKJ503nbMse/R79oO62zWg=
+go.mongodb.org/mongo-driver v1.7.5/go.mod h1:VXEWRZ6URJIkUq2SCAyapmhH0ZLRBP+FT4xhp5Zvxng=
+go.mongodb.org/mongo-driver v1.10.0 h1:UtV6N5k14upNp4LTduX0QCufG124fSu25Wz9tu94GLg=
+go.mongodb.org/mongo-driver v1.10.0/go.mod h1:wsihk0Kdgv8Kqu1Anit4sfK+22vSFbUrAVEYRhCXrA8=
+go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
+go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
+go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
+go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
+go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
+go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk=
+go.opencensus.io v0.23.0 h1:gqCw0LfLxScz8irSi8exQc7fyQ0fKQU/qnC/X8+V/1M=
+go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E=
+golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
+golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
+golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
+golang.org/x/crypto v0.0.0-20190320223903-b7391e95e576/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
+golang.org/x/crypto v0.0.0-20190422162423-af44ce270edf/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE=
+golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/crypto v0.0.0-20190530122614-20be4c3c3ed5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/crypto v0.0.0-20190617133340-57b3e21c3d56/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
+golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
+golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4=
+golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4=
+golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
+golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d h1:sK3txAijHtOK88l68nt020reeT1ZdKLIYetKl95FzVY=
+golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
+golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
+golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
+golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
+golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek=
+golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY=
+golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
+golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
+golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
+golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM=
+golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU=
+golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
+golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
+golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
+golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
+golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
+golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
+golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
+golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
+golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
+golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs=
+golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
+golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
+golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
+golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 h1:VLliZ0d+/avPrXXH+OakdXhpJuEoBZuwh1m2j7U6Iug=
+golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
+golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE=
+golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o=
+golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc=
+golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY=
+golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
+golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
+golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
+golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
+golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
+golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
+golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
+golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY=
+golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 h1:6zppjxzCulZykYSLyVDYbneBfbaBIQPYMevg0bEwv2s=
+golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
+golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20181005035420-146acd28ed58/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190320064053-1272bf9dcd53/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
+golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
+golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
+golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
+golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
+golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
+golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
+golang.org/x/net v0.0.0-20200602114024-627f9648deb9/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
+golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
+golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
+golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
+golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
+golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
+golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
+golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
+golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
+golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
+golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
+golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
+golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc=
+golang.org/x/net v0.0.0-20210326060303-6b1517762897/go.mod h1:uSPa2vr4CLtc/ILN5odXGNXS6mhrKVzTaCXzk9m6W3k=
+golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM=
+golang.org/x/net v0.0.0-20210421230115-4e50805a0758/go.mod h1:72T/g9IO56b78aLF+1Kcs5dz7/ng1VjMUvfKvpfy+jM=
+golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk=
+golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
+golang.org/x/net v0.0.0-20210614182718-04defd469f4e/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
+golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
+golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
+golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
+golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
+golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
+golang.org/x/net v0.0.0-20221004154528-8021a29435af h1:wv66FM3rLZGPdxpYL+ApnDe2HzHcTFta3z5nsc13wI4=
+golang.org/x/net v0.0.0-20221004154528-8021a29435af/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=
+golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
+golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
+golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
+golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
+golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
+golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
+golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
+golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
+golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
+golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
+golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
+golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c h1:pkQiBZBvdos9qq4wBAHqlzuZHEXo07pqV06ef90u1WI=
+golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
+golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20190412183630-56d357773e84/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190321052220-f7bb7a8bee54/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190419153524-e8e3143a4f4a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190502175342-a43fa875dd82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190531175056-4c3a928424d2/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210420072515-93ed5bcd2bfe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210502180810-71e4cd670f79/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20220319134239-a9b59b0215f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20220422013727-9388b58f7150/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20220517195934-5e4e11fc645e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10 h1:WIoqL4EROvwiPdUtaip4VcDdpZ4kha7wBWZrbVKCIZg=
+golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
+golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 h1:JGgROgKl9N8DuW20oFS5gxc+lE67/N3FcwmBPMe7ArY=
+golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
+golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
+golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
+golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
+golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
+golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
+golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
+golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
+golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
+golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
+golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
+golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20190125232054-d66bd3c5d5a6/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY=
+golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190329151228-23e29df326fe/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190416151739-9c9e1878f421/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190420181800-aa740d480789/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
+golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
+golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
+golang.org/x/tools v0.0.0-20190531172133-b3315ee88b7d/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
+golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
+golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
+golang.org/x/tools v0.0.0-20190617190820-da514acc4774/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
+golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
+golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
+golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw=
+golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw=
+golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8=
+golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
+golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
+golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
+golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
+golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
+golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
+golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
+golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE=
+golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
+golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
+golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
+golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
+golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
+golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0=
+golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
+golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
+golang.org/x/tools v0.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E=
+golang.org/x/tools v0.1.12 h1:VveCTK38A2rkS8ZqFY25HIDFscX5X9OoEhJd3quQmXU=
+golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
+golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE=
+google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M=
+google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
+google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
+google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
+google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
+google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
+google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
+google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
+google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
+google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
+google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
+google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE=
+google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE=
+google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM=
+google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc=
+google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg=
+google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE=
+google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8=
+google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU=
+google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94=
+google.golang.org/api v0.47.0 h1:sQLWZQvP6jPGIP4JGPkJu4zHswrv81iobiyszr3b/0I=
+google.golang.org/api v0.47.0/go.mod h1:Wbvgpq1HddcWVtzsVLyfLp8lDg6AA241LmgIL59tHXo=
+google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
+google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
+google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
+google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0=
+google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
+google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
+google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c=
+google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
+google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
+google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
+google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
+google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
+google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
+google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
+google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
+google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8=
+google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
+google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
+google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
+google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
+google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
+google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
+google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA=
+google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
+google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
+google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
+google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
+google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
+google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
+google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
+google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
+google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U=
+google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo=
+google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA=
+google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A=
+google.golang.org/genproto v0.0.0-20210513213006-bf773b8c8384/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A=
+google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c h1:wtujag7C+4D6KMoulW9YauvK2lgdvCMS260jsqqBXr0=
+google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0=
+google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
+google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
+google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
+google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
+google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY=
+google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
+google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
+google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
+google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60=
+google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk=
+google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
+google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
+google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
+google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc=
+google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8=
+google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
+google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
+google.golang.org/grpc v1.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
+google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM=
+google.golang.org/grpc v1.37.1/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM=
+google.golang.org/grpc v1.38.0 h1:/9BgsAsa5nWe26HqOlvlgJnqBuktYOLCgjCPqsa56W0=
+google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM=
+google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw=
+google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
+google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
+google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
+google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE=
+google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo=
+google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
+google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
+google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
+google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4=
+google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
+google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
+google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
+google.golang.org/protobuf v1.28.0 h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw=
+google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
+gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
+gopkg.in/cheggaaa/pb.v1 v1.0.27/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw=
+gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
+gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys=
+gopkg.in/go-playground/assert.v1 v1.2.1 h1:xoYuJVE7KT85PYWrN730RguIQO0ePzVRfFMXadIrXTM=
+gopkg.in/go-playground/assert.v1 v1.2.1/go.mod h1:9RXL0bg/zibRAgZUYszZSwO/z8Y/a8bDuhia5mkpMnE=
+gopkg.in/go-playground/validator.v9 v9.31.0 h1:bmXmP2RSNtFES+bn4uYuHT7iJFJv7Vj+an+ZQdDaD1M=
+gopkg.in/go-playground/validator.v9 v9.31.0/go.mod h1:+c9/zcJMFNgbLvly1L1V+PpxWdVbfP1avr/N00E2vyQ=
+gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ=
+gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw=
+gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME=
+gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI=
+gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
+gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
+gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+gopkg.in/yaml.v3 v3.0.0-20200605160147-a5ece683394c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
+gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
+honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
+honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
+honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
+honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg=
+honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
+honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
+rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
+rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
+rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
diff --git a/tests/pr_test.go b/tests/pr_test.go
new file mode 100644
index 0000000..a6f92b8
--- /dev/null
+++ b/tests/pr_test.go
@@ -0,0 +1,54 @@
+// Tests in this file are run in the PR pipeline
+package test
+
+import (
+ "fmt"
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+ "github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper/testhelper"
+)
+
+const resourceGroup = "geretain-test-resources"
+
+const defaultExampleTerraformDir = "examples/simple-redis"
+
+func setupOptions(t *testing.T, prefix string) *testhelper.TestOptions {
+ options := testhelper.TestOptionsDefault(&testhelper.TestOptions{
+ Testing: t,
+ TerraformDir: defaultExampleTerraformDir,
+ Prefix: prefix,
+ ResourceGroup: resourceGroup,
+ DefaultRegion: "us-south",
+ })
+
+ options.TerraformVars = map[string]interface{}{
+ "location": options.DefaultRegion,
+ "resource_group": options.ResourceGroup,
+ "service_name": fmt.Sprintf("%s-%s", options.Prefix, "db"),
+ }
+ return options
+}
+
+func TestRunBasicExample(t *testing.T) {
+ t.Parallel()
+
+ options := setupOptions(t, "ibm-redis")
+
+ output, err := options.RunTestConsistency()
+ assert.Nil(t, err, "This should not have errored")
+ assert.NotNil(t, output, "Expected some output")
+}
+
+func TestRunUpgradeExample(t *testing.T) {
+ t.Parallel()
+ t.Skip()
+
+ options := setupOptions(t, "ibm-redis-upg")
+
+ output, err := options.RunTestUpgrade()
+ if !options.UpgradeTestSkipped {
+ assert.Nil(t, err, "This should not have errored")
+ assert.NotNil(t, output, "Expected some output")
+ }
+}
diff --git a/variables.tf b/variables.tf
new file mode 100644
index 0000000..d25b11a
--- /dev/null
+++ b/variables.tf
@@ -0,0 +1,15 @@
+##############################################################################
+# List of input varaibles - example
+##############################################################################
+
+# variable "is_kp_instance_exist" {
+# default = false
+# description = "Determines if kp instance exists on not. If false, it creates and instance with given name."
+# type = bool
+# }
+# variable "resource_group_id" {
+# type = string
+# description = "Resource group ID of instance"
+# }
+
+##############################################################################
diff --git a/versions.tf b/versions.tf
index a4662fe..2a511e3 100644
--- a/versions.tf
+++ b/versions.tf
@@ -1,30 +1,7 @@
-#####################################################
-# activity tracker as a service
-# Copyright 2020 IBM
-#####################################################
-
-/***************************************************
-NOTE: To source a particular version of IBM terraform
-provider version, configure the parameter `version`.
-
+#########################################################################################
+# IBM Cloud Key Management Services Provisioning and Managing Keys
+# Copyright 2021 IBM
+#########################################################################################
terraform {
- required_version = ">=0.13"
- required_providers {
- ibm = {
- source = "IBM-Cloud/ibm"
- version = "1.20.0"
- }
- }
-}
-If we dont configure the version parameter,
-it fetches latest provider version.
-****************************************************/
-
-terraform {
- required_version = ">=0.13"
- required_providers {
- ibm = {
- source = "IBM-Cloud/ibm"
- }
- }
+ required_version = ">= 1.0.0"
}