Skip to content

Commit

Permalink
fix: moved cache and gke-runner submodule into the folders directory (#…
Browse files Browse the repository at this point in the history
…11)

Co-authored-by: daphney Igwe <daphney.igwe@deimos.co.za>
  • Loading branch information
DaphneyI and DaphneyI authored May 18, 2022
1 parent 7363c7a commit 8443244
Show file tree
Hide file tree
Showing 12 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Full contributing guidelines are covered [here](CONTRIBUTING.md).

| Name | Source | Version |
|------|--------|---------|
| <a name="module_cache_gcs"></a> [cache\_gcs](#module\_cache\_gcs) | ./cache | n/a |
| <a name="module_cache_gcs"></a> [cache\_gcs](#module\_cache\_gcs) | ./modules/cache | n/a |

## Resources

Expand Down
2 changes: 1 addition & 1 deletion cache.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "cache_gcs" {
source = "./cache"
source = "./modules/cache"
count = var.create_cache_bucket ? 1 : 0
bucket_name = local.bucket_name
bucket_location = var.cache_location != null ? var.cache_location : var.region
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions GKE-runner/main.tf → modules/gke-runner/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ module "cache" {
#--------------------------------------------------------

resource "google_service_account_key" "cache_admin" {
# count = local.count
service_account_id = local.cache_service_account_name
}

Expand All @@ -104,7 +103,6 @@ resource "kubernetes_namespace" "runner_namespace" {
}

resource "kubernetes_secret" "cache_secret" {
# count = local.count
metadata {
name = local.cache_secret_name
namespace = kubernetes_namespace.runner_namespace.metadata[0].name
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 8443244

Please sign in to comment.