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 SourceDescription
aws_iam_instance_profile.thisReads instance profile MILU2-AWS-ALLOW

Outputs

NameDescription
instance_profile_nameInstance profile name
instance_profile_arnInstance profile ARN

See Also

Shared: IAM - Module that actually creates IAM role