From 1d8c1db1e76ef27fd319a49b3fc3f7aa6e5768f2 Mon Sep 17 00:00:00 2001 From: drfaust92 Date: Mon, 26 Jun 2023 15:41:40 +0300 Subject: [PATCH] ssl + bump to 1.20 --- README.md | 1 + docs/index.md | 1 + internal/provider/provider.go | 7 ++++--- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 33bcc40..ce04d5c 100644 --- a/README.md +++ b/README.md @@ -116,6 +116,7 @@ provider "airflow" { - `oauth2_token` - (Optional) An OAUTH2 identity token used to authenticate against an Airflow server. **Conflicts with username and password** - `username` - (Optional) The username to use for API basic authentication. **Conflicts with oauth2_token** - `password` - (Optional) The password to use for API basic authentication. **Conflicts with oauth2_token** +- `disable_ssl_verification` - (Optional) Disable SSL verification. Default is `false` ## Running Acceptence Tests diff --git a/docs/index.md b/docs/index.md index c69b6f8..cffa51f 100644 --- a/docs/index.md +++ b/docs/index.md @@ -73,6 +73,7 @@ provider "airflow" { - `oauth2_token` - (Optional) An OAUTH2 identity token used to authenticate against an Airflow server. **Conflicts with username and password** - `username` - (Optional) The username to use for API basic authentication. **Conflicts with oauth2_token** - `password` - (Optional) The password to use for API basic authentication. **Conflicts with oauth2_token** +- `disable_ssl_verification` - (Optional) Disable SSL verification. Default is `false` ## Running Acceptence Tests diff --git a/internal/provider/provider.go b/internal/provider/provider.go index 280e5c8..5fb7ee1 100644 --- a/internal/provider/provider.go +++ b/internal/provider/provider.go @@ -56,9 +56,10 @@ func AirflowProvider() *schema.Provider { ConflictsWith: []string{"oauth2_token"}, }, "disable_ssl_verification": { - Type: schema.TypeBool, - Optional: true, - Default: false, + Type: schema.TypeBool, + Optional: true, + Description: "Disable SSL verification", + Default: false, }, }, ResourcesMap: map[string]*schema.Resource{