일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |
- k8s
- ECR
- github
- vm
- cloud
- snat
- kubernetes
- Uptime Check
- AWS
- MIG
- terraform
- Java
- pro
- pub/sub
- cicd
- IAM
- gcp
- Terraform Cloud
- CentOS
- Clean Code
- IAP
- vpc peering
- docker
- cloud function
- 우테캠
- interconnect
- VAGRANT
- direnv
- devops
- Python
- Today
- Total
목록direnv (2)
EMD Blog
로컬 개발 pc에 AWS account 설정 direnv 설정 aws key를 AWS_PROFILE 형태로 관리를 하면 한곳에서 AWS key를 관리할 수 있는 이점이 있고 사용시에도 편리하다. direnv 에서도 간단하게 사용할 AWS_PROFILE을 설정할 수 있다. .envrc 를 git에 올라가지 않도록 설정할 수 있기는 하지만 실수하면 올라갈 수 있는 위험이 있는데 AWS_PROFILE 형태로 하면 key가 노출될 위험이 줄어든다. $ cat ~/.aws/config [default] region=ap-northeast-2 output=text ….. [profile gw-dev] region=ap-northeast-2 $ cat ~/.aws/credentials ….. [ldy-dev] aws..
direnv 이용한 디렉토리별 환경설정 direnv 설치 및 설정 : 각 디렉토리별 환경변수 설정을 다르게 할 수 있어 편리함. https://www.44bits.io/ko/post/direnv_for_managing_directory_environment brew install direnv# sudo apt-get install direnv touch ~/.gitignore_global git config --global core.excludesfile ~/.gitignore_global echo '.envrc' > ~/.gitignore_global echo '.direnv' >> ~/.gitignore_global