From 361bb254cdd750dcc7026c402574cd5b6319c8c7 Mon Sep 17 00:00:00 2001 From: Kerim Satirli Date: Fri, 14 Jun 2024 14:11:52 +0200 Subject: [PATCH] linting --- examples/basic/main.tf | 4 ---- examples/basic/providers.tf | 3 +++ examples/branch_protection/main.tf | 4 ---- examples/branch_protection/providers.tf | 3 +++ examples/complex/main.tf | 4 ---- examples/complex/providers.tf | 3 +++ examples/deploy_keys/main.tf | 4 ---- examples/deploy_keys/providers.tf | 3 +++ examples/files/main.tf | 4 ---- examples/files/providers.tf | 3 +++ examples/issue_labels/main.tf | 4 ---- examples/issue_labels/providers.tf | 3 +++ examples/pages/main.tf | 4 ---- examples/pages/providers.tf | 3 +++ examples/project/main.tf | 4 ---- examples/project/providers.tf | 3 +++ examples/project_columns/main.tf | 4 ---- examples/project_columns/providers.tf | 3 +++ examples/template/main.tf | 4 ---- examples/template/providers.tf | 3 +++ examples/webhook/main.tf | 4 ---- examples/webhook/providers.tf | 3 +++ 22 files changed, 33 insertions(+), 44 deletions(-) create mode 100644 examples/basic/providers.tf create mode 100644 examples/branch_protection/providers.tf create mode 100644 examples/complex/providers.tf create mode 100644 examples/deploy_keys/providers.tf create mode 100644 examples/files/providers.tf create mode 100644 examples/issue_labels/providers.tf create mode 100644 examples/pages/providers.tf create mode 100644 examples/project/providers.tf create mode 100644 examples/project_columns/providers.tf create mode 100644 examples/template/providers.tf create mode 100644 examples/webhook/providers.tf diff --git a/examples/basic/main.tf b/examples/basic/main.tf index a386639..99c2fe2 100644 --- a/examples/basic/main.tf +++ b/examples/basic/main.tf @@ -1,7 +1,3 @@ -provider "github" { - owner = "a-demo-organization" -} - module "basic_example" { source = "../../" diff --git a/examples/basic/providers.tf b/examples/basic/providers.tf new file mode 100644 index 0000000..147483f --- /dev/null +++ b/examples/basic/providers.tf @@ -0,0 +1,3 @@ +provider "github" { + owner = "a-demo-organization" +} diff --git a/examples/branch_protection/main.tf b/examples/branch_protection/main.tf index 302fa42..265302f 100644 --- a/examples/branch_protection/main.tf +++ b/examples/branch_protection/main.tf @@ -1,7 +1,3 @@ -provider "github" { - owner = "a-demo-organization" -} - module "branch_protection_example" { source = "../../" diff --git a/examples/branch_protection/providers.tf b/examples/branch_protection/providers.tf new file mode 100644 index 0000000..147483f --- /dev/null +++ b/examples/branch_protection/providers.tf @@ -0,0 +1,3 @@ +provider "github" { + owner = "a-demo-organization" +} diff --git a/examples/complex/main.tf b/examples/complex/main.tf index f37ea83..ac2c083 100644 --- a/examples/complex/main.tf +++ b/examples/complex/main.tf @@ -1,7 +1,3 @@ -provider "github" { - owner = "a-demo-organization" -} - module "complex_example" { source = "../.." diff --git a/examples/complex/providers.tf b/examples/complex/providers.tf new file mode 100644 index 0000000..147483f --- /dev/null +++ b/examples/complex/providers.tf @@ -0,0 +1,3 @@ +provider "github" { + owner = "a-demo-organization" +} diff --git a/examples/deploy_keys/main.tf b/examples/deploy_keys/main.tf index fc03c74..937a08c 100644 --- a/examples/deploy_keys/main.tf +++ b/examples/deploy_keys/main.tf @@ -1,7 +1,3 @@ -provider "github" { - owner = "a-demo-organization" -} - module "deploy_keys_example" { source = "../.." diff --git a/examples/deploy_keys/providers.tf b/examples/deploy_keys/providers.tf new file mode 100644 index 0000000..147483f --- /dev/null +++ b/examples/deploy_keys/providers.tf @@ -0,0 +1,3 @@ +provider "github" { + owner = "a-demo-organization" +} diff --git a/examples/files/main.tf b/examples/files/main.tf index c850af0..688c49c 100644 --- a/examples/files/main.tf +++ b/examples/files/main.tf @@ -1,7 +1,3 @@ -provider "github" { - owner = "a-demo-organization" -} - module "files_example" { source = "../.." diff --git a/examples/files/providers.tf b/examples/files/providers.tf new file mode 100644 index 0000000..147483f --- /dev/null +++ b/examples/files/providers.tf @@ -0,0 +1,3 @@ +provider "github" { + owner = "a-demo-organization" +} diff --git a/examples/issue_labels/main.tf b/examples/issue_labels/main.tf index 3e65b95..12c9671 100644 --- a/examples/issue_labels/main.tf +++ b/examples/issue_labels/main.tf @@ -1,7 +1,3 @@ -provider "github" { - owner = "a-demo-organization" -} - module "issue_labels_example" { source = "../.." diff --git a/examples/issue_labels/providers.tf b/examples/issue_labels/providers.tf new file mode 100644 index 0000000..147483f --- /dev/null +++ b/examples/issue_labels/providers.tf @@ -0,0 +1,3 @@ +provider "github" { + owner = "a-demo-organization" +} diff --git a/examples/pages/main.tf b/examples/pages/main.tf index 08b0ab5..3d7757e 100644 --- a/examples/pages/main.tf +++ b/examples/pages/main.tf @@ -1,7 +1,3 @@ -provider "github" { - owner = "a-demo-organization" -} - module "pages_example" { source = "../.." diff --git a/examples/pages/providers.tf b/examples/pages/providers.tf new file mode 100644 index 0000000..147483f --- /dev/null +++ b/examples/pages/providers.tf @@ -0,0 +1,3 @@ +provider "github" { + owner = "a-demo-organization" +} diff --git a/examples/project/main.tf b/examples/project/main.tf index a8fe685..4830703 100644 --- a/examples/project/main.tf +++ b/examples/project/main.tf @@ -1,7 +1,3 @@ -provider "github" { - owner = "a-demo-organization" -} - module "project_example" { source = "../.." diff --git a/examples/project/providers.tf b/examples/project/providers.tf new file mode 100644 index 0000000..147483f --- /dev/null +++ b/examples/project/providers.tf @@ -0,0 +1,3 @@ +provider "github" { + owner = "a-demo-organization" +} diff --git a/examples/project_columns/main.tf b/examples/project_columns/main.tf index 9fd8b17..c68eeb6 100644 --- a/examples/project_columns/main.tf +++ b/examples/project_columns/main.tf @@ -1,7 +1,3 @@ -provider "github" { - owner = "a-demo-organization" -} - module "project_column_example" { source = "../.." diff --git a/examples/project_columns/providers.tf b/examples/project_columns/providers.tf new file mode 100644 index 0000000..147483f --- /dev/null +++ b/examples/project_columns/providers.tf @@ -0,0 +1,3 @@ +provider "github" { + owner = "a-demo-organization" +} diff --git a/examples/template/main.tf b/examples/template/main.tf index 2fa6c51..913e123 100644 --- a/examples/template/main.tf +++ b/examples/template/main.tf @@ -1,7 +1,3 @@ -provider "github" { - owner = "a-demo-organization" -} - module "template_example" { source = "../.." diff --git a/examples/template/providers.tf b/examples/template/providers.tf new file mode 100644 index 0000000..147483f --- /dev/null +++ b/examples/template/providers.tf @@ -0,0 +1,3 @@ +provider "github" { + owner = "a-demo-organization" +} diff --git a/examples/webhook/main.tf b/examples/webhook/main.tf index 58ce4c9..363041f 100644 --- a/examples/webhook/main.tf +++ b/examples/webhook/main.tf @@ -1,7 +1,3 @@ -provider "github" { - owner = "a-demo-organization" -} - module "webhook_example" { source = "../.." diff --git a/examples/webhook/providers.tf b/examples/webhook/providers.tf new file mode 100644 index 0000000..147483f --- /dev/null +++ b/examples/webhook/providers.tf @@ -0,0 +1,3 @@ +provider "github" { + owner = "a-demo-organization" +}