Skip to content

Commit

Permalink
Disabled appmesh portion of EKS test. (#432)
Browse files Browse the repository at this point in the history
  • Loading branch information
jefchien authored Dec 10, 2021
1 parent 1c2f946 commit d7fbfec
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions terraform/eks/appmesh/appmesh.tf
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,11 @@ resource "local_file" "appmesh_deployment" {
helm_release.eks]
}

resource "null_resource" "traffic_deployment" {
triggers = {
config_contents = md5(local_file.appmesh_deployment.content)
}
provisioner "local-exec" {
command = "kubectl --kubeconfig=${var.kubeconfig} apply -f ${local_file.appmesh_deployment.filename}"
}
}
#resource "null_resource" "traffic_deployment" {
# triggers = {
# config_contents = md5(local_file.appmesh_deployment.content)
# }
# provisioner "local-exec" {
# command = "kubectl --kubeconfig=${var.kubeconfig} apply -f ${local_file.appmesh_deployment.filename}"
# }
#}
8 changes: 4 additions & 4 deletions terraform/eks/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,10 @@ module "validator" {
mocked_server_validating_url = length(kubernetes_service.mocked_server_service) > 0 ? "http://${kubernetes_service.mocked_server_service.0.load_balancer_ingress.0.hostname}/check-data" : ""
cloudwatch_context_json = var.aoc_base_scenario == "prometheus" ? jsonencode({
clusterName : var.eks_cluster_name
appMesh : {
namespace : module.demo_appmesh.0.metric_dimension_namespace
job : "kubernetes-pod-appmesh-envoy"
}
# appMesh : {
# namespace : module.demo_appmesh.0.metric_dimension_namespace
# job : "kubernetes-pod-appmesh-envoy"
# }
nginx : {
namespace : module.demo_nginx.0.metric_dimension_namespace
job : "kubernetes-service-endpoints"
Expand Down

0 comments on commit d7fbfec

Please sign in to comment.