Skip to content

CH04_01 앤서블 소개 강의 중에 테라폼 remote_state의 organization과 workspace 설정 및 terraform apply 오류 문의 #55

Answered by posquit0
Virusuki asked this question in Q&A
Discussion options

You must be logged in to vote

안녕하세요! 제가 개인 사정으로 지방에 내려와 있어서 답변이 늦었습니다. :)

  • fastcampus-devops/2-ansible/lab/network 디렉토리에서 우선 네트워크 테라폼 워크스페이스를 terraform init, terraform apply를 수행하시고 나서 진행하시면 됩니다.
  • remote_states는 강의에서 이야기하는 것처럼 다른 테라폼 워크스페이스의 결과물을 데이터로 참조하기 위함입니다. 때문에 해당 워크스페이스가 미리 만들어져 있어야 합니다.
  • 제 ansible / terraform / packer 에서 사용하는 테라폼 코드는 모두 동일한 네트워크 테라폼 워크스페이스를 사용하니 참고 부탁드립니다.

Replies: 1 comment

Comment options

posquit0
Feb 28, 2022
Maintainer Sponsor

You must be logged in to vote
0 replies
Answer selected by posquit0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants