15-IAM
Module reading IAM Role and Instance Profile from shared (data source)
Stage ModuleData Source Onlymodules/15-iam
Info
This module does NOT create IAM resources. It only reads (data source) IAM role already created by shared/modules/iam.
Purpose
Reads IAM Instance Profile to assign to EC2 instances and Launch Template. IAM role is created once in shared and shared across all stages.
Data Sources
| Data Source | Description |
|---|---|
| aws_iam_instance_profile.this | Reads instance profile MILU2-AWS-ALLOW |
Outputs
| Name | Description |
|---|---|
| instance_profile_name | Instance profile name |
| instance_profile_arn | Instance profile ARN |
See Also
Shared: IAM - Module that actually creates IAM role