Skip to content

Commit

Permalink
chore(terraform): cleanup no longer required definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
tyriis committed Dec 6, 2023
1 parent 80d485c commit 9afa81f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 49 deletions.
8 changes: 1 addition & 7 deletions infra/terraform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,8 @@ optional: (dev-prerequisites)
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | <= 1.6.5 |
| <a name="requirement_cloudflare"></a> [cloudflare](#requirement\_cloudflare) | 4.20.0 |
| <a name="requirement_github"></a> [github](#requirement\_github) | >= 4.18.0 |
| <a name="requirement_http"></a> [http](#requirement\_http) | 3.4.0 |
| <a name="requirement_kubectl"></a> [kubectl](#requirement\_kubectl) | >= 1.13.1 |
| <a name="requirement_kubernetes"></a> [kubernetes](#requirement\_kubernetes) | >= 2.6.1 |
| <a name="requirement_tls"></a> [tls](#requirement\_tls) | 4.0.5 |
| <a name="requirement_vault"></a> [vault](#requirement\_vault) | >= 3.2.1 |

### Providers

Expand All @@ -70,9 +66,7 @@ No resources.

### Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_k8s_context"></a> [k8s\_context](#input\_k8s\_context) | flux sync target path | `string` | `"admin@talos-flux"` | no |
No inputs.

### Outputs

Expand Down
4 changes: 4 additions & 0 deletions infra/terraform/cloudflare/providers.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
provider "cloudflare" {
email = data.sops_file.secrets.data["cloudflare_email"]
api_key = data.sops_file.secrets.data["cloudflare_apikey"]
}
16 changes: 0 additions & 16 deletions infra/terraform/main.tf
Original file line number Diff line number Diff line change
@@ -1,26 +1,10 @@
terraform {
required_version = "<= 1.6.5"
required_providers {
github = {
source = "integrations/github"
version = ">= 4.18.0"
}
kubernetes = {
source = "hashicorp/kubernetes"
version = ">= 2.6.1"
}
kubectl = {
source = "gavinbunney/kubectl"
version = ">= 1.13.1"
}
tls = {
source = "hashicorp/tls"
version = "4.0.5"
}
vault = {
source = "hashicorp/vault"
version = ">= 3.2.1"
}
cloudflare = {
source = "cloudflare/cloudflare"
version = "4.20.0"
Expand Down
21 changes: 0 additions & 21 deletions infra/terraform/providers.tf

This file was deleted.

5 changes: 0 additions & 5 deletions infra/terraform/variables.tf

This file was deleted.

0 comments on commit 9afa81f

Please sign in to comment.