We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bb3f82 commit 2cae797Copy full SHA for 2cae797
scripts/migrate-tenant.sh
@@ -30,7 +30,7 @@ parse_args() {
30
CONFIG_FILE="${TF_DIR}/config.yml"
31
32
rendered=$(terragrunt render --format json --working-dir "$TF_DIR")
33
- arc_cluster_name=$(echo "$rendered" | jq -r '.inputs.arc_cluster_name')
+ arc_cluster_name=$(echo "$rendered" | jq -r '.inputs.arc_deployment_specs.cluster_name')
34
aws_profile=$(echo "$rendered" | jq -r '.inputs.aws_profile')
35
aws_region=$(echo "$rendered" | jq -r '.inputs.aws_region')
36
@@ -40,7 +40,7 @@ parse_args() {
40
--alias "${arc_cluster_name}-${aws_profile}-${aws_region}" \
41
--profile "$aws_profile"
42
43
- FROM_CTX="$arc_cluster_name"
+ FROM_CTX="${arc_cluster_name}-${aws_profile}-${aws_region}"
44
}
45
46
detect_clusters() {
0 commit comments