From 36a6678219d2c62bf28994137a1da21c60cb6b5f Mon Sep 17 00:00:00 2001 From: Gordon Date: Mon, 29 Jan 2024 13:19:30 -0500 Subject: [PATCH] Mark stage -> deployment direct only so path selection can't use that to bypass rest_api --- pkg/engine2/testdata/cf_distribution.dataflow-viz.yaml | 1 - pkg/templates/aws/edges/api_stage-api_deployment.yaml | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/engine2/testdata/cf_distribution.dataflow-viz.yaml b/pkg/engine2/testdata/cf_distribution.dataflow-viz.yaml index 74c3230a2..1ac5bbe9e 100755 --- a/pkg/engine2/testdata/cf_distribution.dataflow-viz.yaml +++ b/pkg/engine2/testdata/cf_distribution.dataflow-viz.yaml @@ -14,7 +14,6 @@ resources: cloudfront_distribution/cloudfront_distribution_2 -> rest_api/rest_api_1: path: - - aws:api_deployment:rest_api_1:api_deployment-0 - aws:api_stage:rest_api_1:cloudfront_distribution_2-rest_api_1 cloudfront_distribution/cloudfront_distribution_2 -> s3_bucket/s3-bucket-3: diff --git a/pkg/templates/aws/edges/api_stage-api_deployment.yaml b/pkg/templates/aws/edges/api_stage-api_deployment.yaml index 24e457d91..9f6f0c3b6 100644 --- a/pkg/templates/aws/edges/api_stage-api_deployment.yaml +++ b/pkg/templates/aws/edges/api_stage-api_deployment.yaml @@ -1,2 +1,3 @@ source: aws:api_stage target: aws:api_deployment +direct_edge_only: true