diff --git a/.aws/task-definition.json b/.aws/testnet.json similarity index 80% rename from .aws/task-definition.json rename to .aws/testnet.json index 147ab9ffc..145bc4dc5 100644 --- a/.aws/task-definition.json +++ b/.aws/testnet.json @@ -10,13 +10,13 @@ "containerDefinitions":[ { "name":"rif-gateways-ccbridge-testnet", - "image":"094889878379.dkr.ecr.us-west-2.amazonaws.com/rif-wallet-services-dev:latest", + "image":"094889878379.dkr.ecr.us-west-2.amazonaws.com/rif-gateways-ccbridge:latest", "logConfiguration":{ "logDriver":"awslogs", "options":{ "awslogs-region":"us-west-2", - "awslogs-group":"rif-gateways-ccbridge", - "awslogs-stream-prefix":"rif-gateways" + "awslogs-group":"/ecs/rif-gateways-ccbridge", + "awslogs-stream-prefix":"testnet" } } } diff --git a/.github/workflows/testnet.yml b/.github/workflows/testnet.yml index b00dcdcca..cdef80de8 100644 --- a/.github/workflows/testnet.yml +++ b/.github/workflows/testnet.yml @@ -5,11 +5,11 @@ on: types: [published] env: - AWS_REGION: us-west-2 + AWS_REGION: ${{ secrets.AWS_REGION }} ECR_REPOSITORY: rif-gateways-ccbridge ECS_SERVICE: ccbridge_services_testnet # set this to your Amazon ECS service name ECS_CLUSTER: rif-gateways-ccbridge # set this to your Amazon ECS cluster name - ECS_TASK_DEFINITION: .aws/task-definition.json # set this to the path to your Amazon ECS task definition + ECS_TASK_DEFINITION: .aws/testnet.json # set this to the path to your Amazon ECS task definition # file, e.g. .aws/task-definition.json CONTAINER_NAME: rif-gateways-ccbridge-testnet # set this to the name of the container in the # containerDefinitions section of your task definition