Skip to content

Commit

Permalink
[FIX] fix env
Browse files Browse the repository at this point in the history
  • Loading branch information
ohksj77 committed Mar 16, 2024
1 parent fc306a8 commit 799df2b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/backend-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@ jobs:
cd ./terraform
terraform init
terraform apply -auto-approve
env:
TF_VAR_vpc_cidr_block: ${{ secrets.TF_VAR_vpc_cidr_block }}
TF_VAR_public_subnet_cidr: ${{ secrets.TF_VAR_public_subnet_cidr }}
TF_VAR_private_subnet_cidr: ${{ toJson(secrets.TF_VAR_private_subnet_cidr) }}
TF_VAR_ami: ${{ secrets.TF_VAR_ami }}
TF_VAR_db_password: ${{ secrets.TF_VAR_db_password }}
TF_VAR_tags: ${{ toJson(secrets.TF_VAR_tags) }}
TF_VAR_elb_protocol: ${{ toJson(secrets.TF_VAR_elb_protocol) }}
TF_VAR_elb_port: ${{ toJson(secrets.TF_VAR_elb_port) }}
TF_VAR_rabbitmq: ${{ toJson(secrets.TF_VAR_rabbitmq) }}

- name: Get EC2 instance IP
id: get_ec2_ip
Expand Down

0 comments on commit 799df2b

Please sign in to comment.