15-IAM

Module đọc IAM Role và Instance Profile từ shared (data source)

Stage ModuleData Source Onlymodules/15-iam

Thông tin

Module này KHÔNG tạo IAM resources. Nó chỉ đọc (data source) IAM role đã được tạo bởi shared/modules/iam.

Mục đích

Đọc IAM Instance Profile để gán cho EC2 instances và Launch Template. IAM role được tạo một lần trong shared và dùng chung cho tất cả stages.

Data Sources

Data SourceMô tả
aws_iam_instance_profile.thisĐọc instance profile MILU2-AWS-ALLOW

Outputs

TênMô tả
instance_profile_nameTên của instance profile
instance_profile_arnARN của instance profile

Tham khảo

Shared: IAM - Module tạo IAM role thực sự