w3f / polkadot-validator-setup

Polkadot Validator Secure Setup
Apache License 2.0
217 stars 130 forks source link

Provider google present in backend.tf (terraform) #7

Open ghost opened 5 years ago

ghost commented 5 years ago

Hello, thank you for the work.

Checking the configuration of the terraform section I saw that the tag "google" is shown in several providers are not GCP.

% grep -irl "google" terraform/*
terraform/**aws**/backend.tf
terraform/**azure**/backend.tf
terraform/gcp/output.tf
terraform/gcp/main.tf
terraform/gcp/provider.tf
terraform/packet/backend.tf
terraform/remote-state/main.tf
fgimenez commented 5 years ago

Thanks for your interest! :)

Yep, we use GCP for creating the backend storage on all the providers. Some provider must be defined for the backend, we decided for GCP.

However I think we could make this configurable too by using templates also for the terraform files (ie. having the ability to modify them according to config before they are used by terraform). PRs are very welcome :)