Skip to content

Commit 01b5d1c

Browse files
fix: test output different
1 parent cce3418 commit 01b5d1c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/terraform-deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ jobs:
3838
run: |
3939
cd infrastructure/terraform
4040
terraform apply -auto-approve
41-
IP=$(terraform output -raw public_ip)
41+
IP=$(terraform output -raw public_ip | tr -d '\r\n')
4242
echo "public_ip=$IP" >> $GITHUB_OUTPUT
43+
echo "Extrahierte IP: $IP"
4344
env:
4445
TF_VAR_aws_access_key: ${{ github.event.inputs.aws_access_key_id }}
4546
TF_VAR_aws_secret_key: ${{ github.event.inputs.aws_secret_access_key }}

0 commit comments

Comments
 (0)