cloud-native-toolkit / terraform-tools-gitops

Module to create a GitOps repository
6 stars 6 forks source link

The initialize script fails if the repository has been cloned before #54

Closed seansund closed 2 years ago

seansund commented 2 years ago

The module failed the first time so I upgraded to the latest version and reran terraform apply. The execution failed the second time because the directory into which the repo was cloned already existed.

The name of the directory should probably be randomized to prevent conflicts and/or cleaned up, even if there is an error

seansund commented 2 years ago

Found while testing cloud-native-toolkit/software-everywhere#33