Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update examples #227

Merged
merged 3 commits into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/examples/deploy_service_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ usage:
auth:
# Add authentication step with OIDC using aws-cli/setup command
- aws-cli/setup:
profile: "OIDC-USER"
profile_name: "OIDC-USER"
role_arn: "arn:aws:iam::123456789012:role/VALID_OIDC_ECR_ROLE"
# Must use same profile configured in aws-cli/setup command
profile_name: "OIDC-USER"
Expand All @@ -26,13 +26,13 @@ usage:
auth:
# Add authentication step with OIDC using aws-cli/setup command
- aws-cli/setup:
profile: "OIDC-USER"
profile_name: "OIDC-USER"
role_arn: "arn:aws:iam::123456789012:role/VALID_OIDC_ECS_ROLE"
# Must use same profile configured in aws-cli/setup command
profile_name: "OIDC-USER"
region: us-east-1
requires:
- aws-ecr/build-and-push-image
- aws-ecr/build_and_push_image
family: '${MY_APP_PREFIX}-service'
cluster: '${MY_APP_PREFIX}-cluster'
container_image_name_updates: 'container=${MY_APP_PREFIX}-service,tag=${CIRCLE_SHA1}'
2 changes: 1 addition & 1 deletion src/examples/run_task_ec2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ usage:
- image: cimg/python:3.10
steps:
- aws-cli/setup:
profile: "OIDC-USER"
profile_name: "OIDC-USER"
role_arn: "arn:aws:iam::123456789012:role/VALID_OIDC_ECS_ROLE"
- aws-ecs/run_task:
cluster: cluster1
Expand Down
3 changes: 2 additions & 1 deletion src/examples/run_task_fargate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ usage:
version: 2.1
orbs:
aws-ecs: circleci/[email protected]
aws-cli: circleci/[email protected]
jobs:
run_task:
docker:
- image: cimg/python:3.10
steps:
- aws-cli/setup:
profile: "OIDC-USER"
profile_name: "OIDC-USER"
role_arn: "arn:aws:iam::123456789012:role/VALID_OIDC_ECS_ROLE"
- aws-ecs/run_task:
cluster: cluster1
Expand Down
3 changes: 2 additions & 1 deletion src/examples/run_task_fargate_spot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ usage:
version: 2.1
orbs:
aws-ecs: circleci/[email protected]
aws-cli: circleci/[email protected]
jobs:
run_task:
docker:
- image: cimg/python:3.10
steps:
- aws-cli/setup:
profile: "OIDC-USER"
profile_name: "OIDC-USER"
role_arn: "arn:aws:iam::123456789012:role/VALID_OIDC_ECS_ROLE"
- aws-ecs/run_task:
cluster: $CLUSTER_NAME
Expand Down