diff --git a/.github/workflows/backend-cd.yml b/.github/workflows/backend-cd.yml index 608d4d9..26dbb08 100644 --- a/.github/workflows/backend-cd.yml +++ b/.github/workflows/backend-cd.yml @@ -47,18 +47,7 @@ jobs: run: | cd ./terraform terraform init - terraform apply -auto-approve \ - -var="vpc_cidr_block=${{ secrets.TF_VAR_vpc_cidr_block }}" \ - -var="public_subnet_cidr=${{ secrets.TF_VAR_public_subnet_cidr }}" \ - -var="private_subnet_cidr=${{ secrets.TF_VAR_private_subnet_cidr }}" \ - -var="ami=${{ secrets.TF_VAR_ami }}" \ - -var="db_password=${{ secrets.TF_VAR_db_password }}" \ - -var="elb_protocol=${{ secrets.TF_VAR_elb_protocol }}" \ - -var="elb_port=${{ secrets.TF_VAR_elb_port }}" \ - -var="rabbitmq_username=${{ secrets.TF_VAR_rabbitmq_username }}" \ - -var="rabbitmq_password=${{ secrets.TF_VAR_rabbitmq_password }}" \ - -var="tags_archuuid=${{ secrets.TF_VAR_tags_archuuid }}" \ - -var="tags_env=${{ secrets.TF_VAR_tags_env }}" + terraform apply -auto-approve - name: Get EC2 instance IP id: get_ec2_ip