instance-profile resource¶
Description¶
InstanceProfileResource is a container that an EC2 instance assumes to gain the permissions of a single IAM role. The name and path fix the profile's identity, so changing either replaces the profile. The role is the one role the profile holds; it is attached after the profile exists and can be swapped in place. Tags are reconciled to match the configuration on every apply.
Source: internal/service/iam/instance_profile_rsrc.go:27
Example usage:
imports: {
aws-iam: 'github.com/cloudboss/unobin-library-aws//service/iam'
}
resources: {
example: aws-iam.instance-profile {
# Set input fields here.
}
}
Inputs¶
instance-profile-name
string
path
optional(string)
role
optional(string)
tags
optional(map(string))
Input Constraints¶
This kind declares no extra input constraints.
Outputs¶
arn
string
instance-profile-id
string
create-date
string