Created
November 2, 2018 19:30
-
-
Save albertoal/a905138afce25f31236c070c878b055e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provider "aws" { | |
region = "eu-west-2" | |
} | |
terraform { | |
backend "s3" { | |
bucket = "tf-state-blog" | |
key = "dev/terraform" | |
region = "eu-west-2" | |
} | |
} | |
locals { | |
azs = ["eu-west-2a", "eu-west-2b", "eu-west-2c"] | |
environment = "dev" | |
kops_state_bucket_name = "${local.environment}-kops-state" | |
// Needs to be a FQDN | |
kubernetes_cluster_name = "k8s-dev0.domain.com" | |
ingress_ips = ["10.0.0.100/32", "10.0.0.101/32"] | |
vpc_name = "${local.environment}-vpc" | |
tags = { | |
environment = "${local.environment}" | |
terraform = true | |
} | |
} | |
data "aws_region" "current" {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment