Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- VAGRANT
- terraform
- cloud armor
- Java
- vm
- Uptime Check
- github
- IAM
- AWS
- cicd
- gcp
- 자격증
- vpc peering
- Python
- pub/sub
- interconnect
- Terraform Cloud
- cloud
- devops
- cloud function
- 후기
- 우테캠
- Clean Code
- direnv
- 보안 규칙
- CentOS
- docker
- MIG
- Google Cloud Platform
- kubernetes
Archives
- Today
- Total
EMD Blog
Github Actions Terraform Output 이슈 본문
반응형
Github Actions에서 Terraform output 출력 시 이상한 값이 출력됨. output 값이 출력되는 것이 아니라 run에 해당되는 프로세스가 출력됨.
[예상한 값]
192.168.1.129
[실제 출력 값]
/home/runner/work/_temp/067af7a4-257b-4fd1-87b4-26517e149c8d/terraform-bin -chdir=infra output -raw database_ip 192.168.1.129::debug::Terraform exited with code 0. ::debug::stdout: 192.168.1.129 ::debug::stderr: ::debug::exitcode: 0 ::set-output name=stdout::192.168.1.129 ::set-output name=stderr:: ::set-output name=exitcode::0
확인해보니 terraform setup 시 terraform_wrapper값을 false로 지정해줘야 함.
https://blog.nillsf.com/index.php/2020/08/25/how-to-use-terraform-output-in-a-github-action/
반응형
'CICD' 카테고리의 다른 글
Spring Boot와 Jenkins를 이용한 ECR Push(2) (0) | 2021.07.14 |
---|---|
Spring Boot와 Jenkins를 이용한 ECR Push(1) (0) | 2021.05.31 |
Container를 이용한 PHP 개발환경 가상화와 배포 자동화를 해보자 (2) (0) | 2021.04.29 |
Container를 이용한 PHP 개발환경 가상화와 배포 자동화를 해보자 (1) (0) | 2021.04.08 |