S
Size: a a a
S
VT
S
S
S
VT
S
VT
VT
S
VT
VT
While in principle provider blocks can appear in any module, it is recommended that they be placed only in the root module of a configuration, since this approach allows users to configure providers just once and re-use them across all descendent modules.S
VT
VT
S
provider "aws" {
region = "eu-central-1"
access_key = "key"
secret_key = "key"
}
#module "providers" {
# source = "/home/ubuntu/terraform/modules/providers"
#}
resource "aws_route53_record" "dev_domains" {
zone_id = "${var.hosted-zones["test-terraform.com"]}"
count = "${length(var.dev-domains)}"
name = "${element(var.dev-domains, count.index)}"
type = "A"
ttl = "300"
records = ["1.1.1.1"]VT
VT
VT