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 | 29 | 30 |
Tags
- POD
- Django
- terraform
- DevOps
- dockerfile
- AZ-900
- Python
- AZURE
- FastAPI
- EC2
- ebs
- Network
- asyncio
- IAC
- Role
- docker
- AWS
- Kubernetes
- ansible
- RBAC
- elasticsearch
- 자바스크립트
- Service
- leetcode
- Deployment
- asgi
- AZ-104
- K8S
- IAM
- EKS
Archives
- Today
- Total
목록data (1)
궁금한게 많은 개발자 노트
[ IaC ] Terraform AWS current caller identity
aws_caller_identity terraform version 0.7.1부터 지원하는, 자신의 계정(account_id)또는 다른 계정의 account id, user id, arn을 참조하고자 할 때 사용되는 data resource입니다. 특정 aws resource에서 account_id를 포함하는 경우에도 하드코딩 하지 않고 손 쉽게 대체할수 있습니다. data "aws_caller_identity" "current" {} output "account_id" { value = "${data.aws_caller_identity.current.account_id}" } output "caller_arn" { value = "${data.aws_caller_identity.current.arn}"..
DevOps
2023. 10. 30. 20:23