Skip to content

Commit

Permalink
fix: changed module.cache[0].cache_bucket_name -> module.cache.cache_…
Browse files Browse the repository at this point in the history
…bucket_name (#10)

* refactored cache and its service account into a submodule

* Created submodule for setting up gitlab runners on GKE

* ran terraform fmt to format the config files

* moved the cache module and the the GKE-runner module into the module directory

* updataed config to use the Deimos gke node pool module to provision the node pool

* removed the deimos gke nodepool module. used a terrofrm resource block instead

* added read me

* updated the GKE runner module and added a README.md file

* added output.tf file to the gke runner submodule

* removed unnecessary values from the locals.tf file

* added config to generate cache name

* updated the README.md file with requirements

* minor fixes to variables

* removed service account from cache module

* fixed some minor bugs in the gke submodule

* reconfigured the random resource to be created only when var.bucket_name is not set

* reconfigured the GKE submodule to always create a gcs based cache

* modified config to allow for cache location to be set to region if var.cache_location isnt passed

* fix: changed module.cache[0].cache_bucket_name -> module.cache.cahe_bucket_name

Co-authored-by: daphney Igwe <daphney.igwe@deimos.co.za>
  • Loading branch information
DaphneyI and DaphneyI authored May 18, 2022
1 parent c942022 commit 0d1fa07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GKE-runner/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ output "node_pool_name" {
}

output "cache_bucket_name" {
value = module.cache[0].cache_bucket_name
value = module.cache.cache_bucket_name
description = "name of the gcs bucket used a s runner cache"
}

Expand Down

0 comments on commit 0d1fa07

Please sign in to comment.