From 7918a8af1188b2dd7f8b2f5eb77d5c63920c31bd Mon Sep 17 00:00:00 2001 From: Brian Vu <64455338+brivu@users.noreply.github.com> Date: Mon, 31 Jul 2023 10:42:23 -0700 Subject: [PATCH] chore: fix parameters to use snake case (#203) --- src/examples/deploy_ecs_scheduled_task.yml | 4 ++-- src/examples/deploy_service_update.yml | 2 +- src/examples/update_service.yml | 4 ++-- src/examples/update_task_definition_from_json.yml | 4 ++-- src/examples/verify_revision_deployment.yml | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/examples/deploy_ecs_scheduled_task.yml b/src/examples/deploy_ecs_scheduled_task.yml index 68daf71c..3c1c7d9e 100644 --- a/src/examples/deploy_ecs_scheduled_task.yml +++ b/src/examples/deploy_ecs_scheduled_task.yml @@ -16,8 +16,8 @@ usage: role_arn: "arn:aws:iam::123456789012:role/OIDC_ARN" region: AWS_REGION profile_name: "OIDC-PROFILE" - session-duration: 3600 - role-session-name: "example-session-name" + session_duration: "3600" + role_session_name: "example-session-name" - aws-ecs/update_task_definition_from_json: task_definition_json: my-app-definition.json - aws-ecs/deploy_ecs_scheduled_task: diff --git a/src/examples/deploy_service_update.yml b/src/examples/deploy_service_update.yml index 40035404..4fa90186 100644 --- a/src/examples/deploy_service_update.yml +++ b/src/examples/deploy_service_update.yml @@ -19,7 +19,7 @@ usage: role_arn: "arn:aws:iam::123456789012:role/VALID_OIDC_ECR_ROLE" # Must use same profile configured in aws-cli/setup command profile: "OIDC-USER" - registry-id: AWS_ECR_REGISTRY_ID + registry_id: ${AWS_ECR_REGISTRY_ID} repo: '${MY_APP_PREFIX}' region: AWS_REGION tag: '${CIRCLE_SHA1}' diff --git a/src/examples/update_service.yml b/src/examples/update_service.yml index 43e8256d..74064569 100644 --- a/src/examples/update_service.yml +++ b/src/examples/update_service.yml @@ -16,8 +16,8 @@ usage: role_arn: "arn:aws:iam::123456789012:role/OIDC_ARN" region: AWS_REGION profile_name: "OIDC-PROFILE" - session-duration: 3600 - role-session-name: "example-session-name" + session_duration: "3600" + role_session_name: "example-session-name" - aws-ecs/update_service: family: '${MY_APP_PREFIX}-service' cluster: '${MY_APP_PREFIX}-cluster' diff --git a/src/examples/update_task_definition_from_json.yml b/src/examples/update_task_definition_from_json.yml index fac42699..5e36ff3c 100644 --- a/src/examples/update_task_definition_from_json.yml +++ b/src/examples/update_task_definition_from_json.yml @@ -14,8 +14,8 @@ usage: role_arn: "arn:aws:iam::123456789012:role/OIDC_ARN" region: AWS_REGION profile_name: "OIDC-PROFILE" - session-duration: 3600 - role-session-name: "example-session-name" + session_duration: "3600" + role_session_name: "example-session-name" - aws-ecs/update_task_definition_from_json: task_definition_json: my-app-definition.json workflows: diff --git a/src/examples/verify_revision_deployment.yml b/src/examples/verify_revision_deployment.yml index 32edf98d..0738032f 100644 --- a/src/examples/verify_revision_deployment.yml +++ b/src/examples/verify_revision_deployment.yml @@ -14,8 +14,8 @@ usage: role_arn: "arn:aws:iam::123456789012:role/OIDC_ARN" region: AWS_REGION profile_name: "OIDC-PROFILE" - session-duration: 3600 - role-session-name: "example-session-name" + session_duration: "3600" + role_session_name: "example-session-name" - run: name: Get last task definition command: >