Skip to content

Commit

Permalink
chore: sync terragrunt.hcl
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiFleKs committed Sep 18, 2019
1 parent c15cf3b commit ab54762
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 25 deletions.
14 changes: 7 additions & 7 deletions terraform/live/sample/eks-addons/terragrunt.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ inputs = {

nginx_ingress = {
version = "0.25.1"
chart_version = "1.19.0"
chart_version = "1.20.0"
enabled = false
default_network_policy = false
ingress_cidr = "0.0.0.0/0"
Expand Down Expand Up @@ -108,8 +108,7 @@ EXTRA_VALUES
{
"Effect": "Allow",
"Action": [
"route53:ChangeResourceRecordSets",
"route53:ListResourceRecordSets"
"route53:ChangeResourceRecordSets"
],
"Resource": [
"arn:aws:route53:::hostedzone/*"
Expand All @@ -118,7 +117,8 @@ EXTRA_VALUES
{
"Effect": "Allow",
"Action": [
"route53:ListHostedZones"
"route53:ListHostedZones",
"route53:ListResourceRecordSets"
],
"Resource": [
"*"
Expand Down Expand Up @@ -263,7 +263,7 @@ syncGarbageCollection:
enabled: true
dry: false
prometheus:
enabled: true
enabled: false
EXTRA_VALUES
}

Expand All @@ -285,7 +285,7 @@ EXTRA_VALUES
}

prometheus_operator = {
chart_version = "6.8.3"
chart_version = "6.10.0"
enabled = false
default_network_policy = false
namespace = "monitoring"
Expand Down Expand Up @@ -338,11 +338,11 @@ POLICY
enabled = false
default_network_policy = false
namespace = "fluentd-cloudwatch"
log_group_name = "/aws/eks/sample/containers"
timeout = 3600
force_update = false
recreate_pods = false
wait = true
containers_log_retention_in_days = 180

extra_values = <<VALUES
VALUES
Expand Down
3 changes: 0 additions & 3 deletions terraform/live/sample/eks-namespaces/terragrunt.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ locals {

inputs = {

//
// [provider]
//
aws = {
"region" = local.aws_region
}
Expand Down
31 changes: 16 additions & 15 deletions terraform/live/sample/eks/terragrunt.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ terraform {
}

locals {
aws_region = basename(dirname(get_terragrunt_dir()))
cluster-name = "sample"
env = "sample"
key_name = "sample"
custom_tags = {}
}

inputs = {
Expand All @@ -53,7 +55,7 @@ inputs = {
// [provider]
//
aws = {
"region" = "eu-west-1"
"region" = local.aws_region
}

//
Expand All @@ -62,9 +64,9 @@ inputs = {
vpc = {
create = true
cidr = "10.0.0.0/16"
vpc_id = "vpc-0fd2efe63408f5aba"
public_subnets_id = "subnet-0a60f7202528d8f64,subnet-0f7deaa3e53b86817,subnet-0f58143b87ef10257"
private_subnets_id = "subnet-0b0cca9118459c6c9,subnet-0296207fa6ff0c9ce,subnet-00f139ff79e016c19"
vpc_id = ""
public_subnets_id = ""
private_subnets_id = ""
}

//
Expand All @@ -85,7 +87,7 @@ inputs = {
//
cluster-name = local.cluster-name

kubernetes_version = "1.13"
kubernetes_version = "1.14"

endpoint_private_access = true

Expand All @@ -102,11 +104,9 @@ inputs = {
kubeconfig_assume_role_arn = ""

map_users = <<MAP_USERS
- userarn: arn:aws:iam::000000000000:user/MyUser
username: admin
groups:
- system:masters
MAP_USERS
MAP_USERS
map_roles = <<MAP_ROLES
MAP_ROLES

extra_network_policies = <<EXTRA_NETWORK_POLICIES
apiVersion: networking.k8s.io/v1
Expand All @@ -131,11 +131,12 @@ spec:
- Ingress
EXTRA_NETWORK_POLICIES

custom_tags = {
Env = local.env
}

custom_tags_list = []
custom_tags = merge(
{
"Env" = local.env
},
local.custom_tags
)

bastion = {
create = true
Expand Down

0 comments on commit ab54762

Please sign in to comment.