terraform: remove main
A good main.tf acts as an entrypoint to a module and is typically used when the module is smaller. For larger module it's best to split things up and try to map the resources with the filename to make them easier to find.
This commit is contained in:
parent
641702a577
commit
c667deea19
2 changed files with 6 additions and 5 deletions
6
terraform/terraform_backend.tf
Normal file
6
terraform/terraform_backend.tf
Normal file
|
@ -0,0 +1,6 @@
|
|||
terraform {
|
||||
backend "remote" {
|
||||
organization = "nix-community"
|
||||
workspaces { name = "nix-community" }
|
||||
}
|
||||
}
|
|
@ -1,9 +1,4 @@
|
|||
terraform {
|
||||
backend "remote" {
|
||||
organization = "nix-community"
|
||||
workspaces { name = "nix-community" }
|
||||
}
|
||||
|
||||
required_providers {
|
||||
cloudflare = {
|
||||
source = "cloudflare/cloudflare"
|
Loading…
Add table
Reference in a new issue